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

Query regarding zoom_image #3

Open
anuprao opened this issue Feb 10, 2020 · 2 comments
Open

Query regarding zoom_image #3

anuprao opened this issue Feb 10, 2020 · 2 comments

Comments

@anuprao
Copy link

anuprao commented Feb 10, 2020

Hi ! This is not an issue but a query.

Thank you for publishing your code. It is very helpful.

I am trying to obtain a 320x240 crop from a (2592x1944) on OV5640 setup.

I used the zoom_image function in your code to generate values for cropping. But I get only black image returned as data from sensor.

All the register values generated by the function are set in the same order.

Is there anything else I should look at ?

Regards,
Anup

@xenpac
Copy link
Owner

xenpac commented Feb 29, 2020

Hi Anup,

Have a look at sourcefile gc0308.c to learn using the zoom_image function.
This will crop to any size with varying fps.
There is a standard 320X240 resolution init sequence in ov5640.c that you can select with your
viewer like vlc or cheese..
black picture could be timing problems.

@anuprao
Copy link
Author

anuprao commented Mar 1, 2020

Thank you for your inputs, will try it out and reply back.

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

No branches or pull requests

2 participants