meekys / cam_overlay

MIT License
7 stars 3 forks source link

Possible to add option without guidelines #16

Closed Bishamon1987 closed 4 years ago

Bishamon1987 commented 5 years ago

Hey, I have Crankshaft NG running on my pi 3B+. I want to add a front and back camera. I will use a switch to change the views. Pressing forward is front cam. Middle stand is camera off. Pulling backwards is rearcam. I dont need any guidlines for the front view. But i need them for the back. Is it possible to make a option for this? Thanks

meekys commented 5 years ago

@Bishamon1987 Sure, that should be possible as a new feature. For now, a workaround would be simply to edit the overlay.png and make it all transparent.

Bishamon1987 commented 5 years ago

Maybe an even better solution would be this: option for which guideline.png to use.

I have two camera's, front and rear. So I need different images for each. Since the height and vertical angles are different.

meekys commented 5 years ago

Added option to specify an overlay file. -O or --overlay, with a default of res/Overlay.png Must be a relative path to cam_overlay.bin

Bishamon1987 commented 5 years ago

That's great! Now I have to directories with camoverlay. One called rearcam and other called frontcam