-
Notifications
You must be signed in to change notification settings - Fork 3
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
Request: Fix picture shift #1
Comments
Currently there's no configuration for this, but if you edit the x/y values in screenQuad and overlayQuad in cam_overlay.c you should be able to adjust the position on screen. https://github.com/meekys/cam_overlay/blob/master/cam_overlay.c#L264 Values are x, y, z, u, v for each line and the x/y values range from -1.0 for far left/top to 1.0 for far right/bottom ie. This should display an image half the size in the middle of the screen After these changes you will need to re-run make |
Thanks I had tried this before and by change resolution of input but problem is somewhere else. |
What resolutions are shown on startup for the cam/display?
What resolutions are available? Does capturing an image using fswebcam or any other v4l2 capable software you've got installed also crop the image? You might also be able to fiddle with this line to adjust the display ratio, but it sounds like you've already tried this? By default it should stretch the image to the screen dimensions. If you set this to 1, it should appear as a square image. |
Would be possible to fix picture shift? Picture has bigger height than screen and bottom is cutted.
(Great feature will be option to configure picture position, height and width)
Regards
The text was updated successfully, but these errors were encountered: