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

Image resolution #201

Open
aviontechnology opened this issue Jul 15, 2017 · 6 comments
Open

Image resolution #201

aviontechnology opened this issue Jul 15, 2017 · 6 comments

Comments

@aviontechnology
Copy link

Hi,

I am following these instructions to change image resolution and did required changes in the code. It's not applying the changes (changing image to 19201080).
Currently the image gets stored in 1020
764.
https://github.com/saki4510t/UVCCamera/wiki/howto_change_resolution

Using "usbCameraTest8" sample, also just to let you know I am running this code on 24" and 32" tablets.

Thanks!

@sappho192
Copy link

You've opened duplicated issue like #197 and #199 .
It's enough to discuss this in #197 . It would be nice of you if you close #199 and this(#201 ).

@aviontechnology
Copy link
Author

i think image resolution and camera preview quality issue is still open.
Can you please suggest what all i need to do to improve image quality and camera preview quality.

@sappho192
Copy link

sappho192 commented Aug 24, 2017

There are options that your camera provides in hardware level.
Example, my camera provides 1280480@20fps or 30fps, 2560960@20fps or 30fps / MJPEG, YUV format.
You can get supported resolution settings with #175 code changes.
Image quality can be better if you choose higher resolution for your camera in your code, but it can drop performance.
Camera preview quality(fps or else) would be changed if you modify libuvccamera library code. Especially handling and passing frame data from camera.
I don't know exact way to do that since I'm not the creator of this project and just know little bit more than others by searching gathering info on here.

@aviontechnology
Copy link
Author

How can i do this "if you choose higher resolution for your camera in your code"

@sappho192
Copy link

Check code change in #175 .

@aviontechnology
Copy link
Author

i already use it but now showing getting good quality resolution.

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