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 pre-process step to correct image orientation #52

Merged
merged 5 commits into from
Oct 21, 2024

Conversation

tylermaran
Copy link
Contributor

@tylermaran tylermaran commented Oct 10, 2024

Zerox performs pretty poorly when the image is sideways or upside down. Add a preprocess step to check text orientation and correct before passing to gpt

Zerox performs pretty poorly when the image is sideways or upside down. Add a preprocess step to check text orientation and correct before passing to gpt
@tylermaran tylermaran changed the title Tyler/correct orientation Add pre-process step to correct image orientation Oct 10, 2024
@tylermaran tylermaran changed the title Add pre-process step to correct image orientation 🩴 Add pre-process step to correct image orientation Oct 13, 2024
@tylermaran
Copy link
Contributor Author

Example of running the flip:

docuflip.mov

@tylermaran tylermaran merged commit 839e919 into main Oct 21, 2024
@tylermaran tylermaran deleted the tyler/correct-orientation branch October 21, 2024 06:04
namtho7078 pushed a commit to namtho7078/zerox that referenced this pull request Oct 27, 2024
* Add pre-process step to correct image orientation

Zerox performs pretty poorly when the image is sideways or upside down. Add a preprocess step to check text orientation and correct before passing to gpt

* add image flip preprocess step to zerox

* remove text from response

* add comment
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.

1 participant