First Revision (v1.0) of Autocropper #1

Closed
ewellenr wants to merge 0 commits from autocropper into main
Owner

Implemented autocropper for receipts in C++ using OpenCV. Still first version. Would like to maybe include user input from phone app in future to help improve the cropping (such as tapping the picture or selecting some area to include in the crop). It's also currently quite slow so maybe changing that so it doesn't use selective search segmentation and just uses canny edge detection instead of both.

Implemented autocropper for receipts in C++ using OpenCV. Still first version. Would like to maybe include user input from phone app in future to help improve the cropping (such as tapping the picture or selecting some area to include in the crop). It's also currently quite slow so maybe changing that so it doesn't use selective search segmentation and just uses canny edge detection instead of both.
ewellenr added 8 commits 2023-09-10 03:02:39 -04:00
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>
Adding test image because it wasn't here for some reason.

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
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>
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>
Cleaning up the Autocropper section to get rid of random comments
and unused files.

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
ewellenr closed this pull request 2023-09-10 03:07:07 -04:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ewellenr/receipt_indexer#1
No description provided.