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

split screen front and rearview #15

Open
Bishamon1987 opened this issue May 18, 2019 · 4 comments
Open

split screen front and rearview #15

Bishamon1987 opened this issue May 18, 2019 · 4 comments

Comments

@Bishamon1987
Copy link

I was wondering if it is possible to add a second camera view. And a way to switch back and forth.
Something like the WhatsApp video call view.
One little screen for one of the views and a big view window for the other cam
Or just split screen.
I would like a rear and front camera for easier parking.
But I also want to use them as dashcams.
The front camera will be mounted underneath the front licenseplate

@meekys
Copy link
Owner

meekys commented May 27, 2019

Hi @Bishamon1987
This should theoretically be possible by running multiple instances of cam_overlay
Currently cam_overlay is fixed to one display layer and will attempt to scale the image to full screen, but the code could be tweaked to position the displayed image to whatever position you wanted.

@Bishamon1987
Copy link
Author

Can you tell me where in the code i can change the display size and position?

@meekys
Copy link
Owner

meekys commented Aug 8, 2019

In the cpp branch, have a look at the ScaledImage class.
This is what currently transforms the image. It does things like stretching, rotating or flipping and renders the resulting image to the screen

@Bishamon1987
Copy link
Author

so I tried it but its really buggy. It even crashed my open auto which doesnt function anymore in X11 for some reason

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