Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GUI alignment tool #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add GUI alignment tool #17

wants to merge 2 commits into from

Conversation

hujunhan
Copy link

Thanks for the work! I am working on a similar project for myself, your code is handy, but manual alignment can be tedious.

I wrote a Python script that utilize OpenCV GUI module that can capture mouse click event and help users align the eyes easily.

The script assumes users has already run the main.py and only require the input directory

Then the image that not aligned (that lx is null) would be read by OpenCV and opened in a window, user just need to click the left eye and right eye in order.

The new alignment file would replace the original one and the original one would be backup to .eyelign.bak

Hope this can help!
Xnip2022-12-29_15-53-27

@dullage
Copy link
Owner

dullage commented Dec 31, 2022

I like this idea, great job 👍🏻. When I get some time I'll work this into the main app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants