Commit Graph

22 Commits

Author SHA1 Message Date
a80ea602ee Removing autocropper branch stuff
Removing autocropper ongoing files from app branch.

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
2023-09-19 13:03:21 -04:00
5be2491069 Merge remote-tracking branch 'origin/main' into app 2023-09-15 21:56:16 -04:00
7426d0a90c Setting script permissions
Making the run and setup scripts executable so that when I clone
they are executable right away.

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
2023-09-15 21:41:48 -04:00
496386d7ff Initial setup for expo demo/tutorial project
Following https://www.youtube.com/watch?v=0-S5a0eXPoc (kind of).
Setting it up was different. I had to use "npx create-expo-app --template"
to make the project initially. Maybe follow this too for help:
https://docs.expo.dev/get-started/create-a-project/.

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
2023-09-14 21:06:03 -04:00
3ade15cf07 Updating docker for app and gpu/pytorch use
Updating docker file and run script to use expo with nodejs
and hopefully end up using react native. Also updated it for
pytorch use to run pytorch in the docker container.

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
2023-09-14 20:54:48 -04:00
a30c584cf3 Merge branch 'autocropper'
Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
2023-09-10 03:05:56 -04:00
f862cefb08 Merge branch 'main' of ssh://ssh.git.ewellenr.ca:2222/ewellenr/receipt_indexer into autocropper 2023-09-10 02:57:29 -04:00
26bd81b15d Another gitignore update
Title. Just cleaning up.

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
2023-09-10 02:57:06 -04:00
6b7572a498 Clean up for PR
Cleaning up the Autocropper section to get rid of random comments
and unused files.

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
2023-09-10 02:55:47 -04:00
2e7adb3e03 Merge branch 'main' of ssh://ssh.git.ewellenr.ca:2222/ewellenr/receipt_indexer into autocropper 2023-09-10 02:34:45 -04:00
a00532084b Updating gitignore
Made it so that autocropper kept it's .vscode folder.
Might change it back in the future once I try working on a different system.

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
2023-09-10 02:34:25 -04:00
009d6a9bac First Full Implementation Of Autocropper
Implemented the autocropper using the crop(...) function.
Also changed is to that .vscode properties get uploaded too to make
sure stuff like it should be for me (Ethan) in vscode even when on
a different system.

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
2023-09-10 02:32:48 -04:00
07c519723c Merge branch 'main' of ssh://ssh.git.ewellenr.ca:2222/ewellenr/receipt_indexer into autocropper 2023-09-09 16:22:16 -04:00
fb9f3d7c06 Changing setup for use of a window/gui
Modified dockerfile so it's a little cleaner and smaller.
Also modified run and setup scripts so that they build and
run the docker containers with the stuff for windows/guis in the host system.

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
2023-09-09 16:21:05 -04:00
d9559a4bd0 Plan for autocropping
Tested a few things and came up with a plan for autocropping.
Plan shown in main.cpp.

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
2023-09-09 16:18:15 -04:00
19faf9bc63 Adding Test Image
Adding test image because it wasn't here for some reason.

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
2023-09-08 23:21:53 -04:00
bf2fa97abe Initial Autocropper Steps
First steps towards implementing the autocropper.
Current plan is to use OpenCV in C++.
There are remains of testing to use stb image manipulation
but reading them in disregarded image orientation (ie it would
rotate on it's own) which is unacceptable.

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
2023-09-08 23:15:12 -04:00
e7b447208c Updating gitignore and changing image directions
Changed directions for image manipulation from stb stuff to
using OpenCV.

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
2023-09-08 23:11:04 -04:00
7f3ca088ce Updating gitignore
As the title says. Changed it so I keep the .vscode folders.
Might need to change this later depending on if I want to keep the .vscode
folder across platforms or not.
Also removed test.cpp since it was just a test file.

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
2023-09-08 18:13:12 -04:00
30af21f540 Run script setup
Setting up a run script so that you can easily call the script to
launch the dev environment docker with the correct flags and such.
It will also remove the container once complete.

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
2023-09-08 14:52:40 -04:00
5243bc5349 Creating Setup Script
More initial setup. This time, it's creating a setup script to build the docker file

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
2023-09-08 11:25:43 -04:00
21a933e05f Initial setup
Setting up directories and a few basic files for future use

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
2023-09-08 02:03:04 -04:00