diddyborg joyball
Forums:
Hi, how would I use this script without the camera streaming but rather have a preview constantly on and viewed on a screen?
Thanks
- Log in to post comments

Hi, how would I use this script without the camera streaming but rather have a preview constantly on and viewed on a screen?
Thanks
piborg
Thu, 02/08/2018 - 11:05
Permalink
Preview image
Showing the image on a monitor attached directly to the Pi is not too difficult, it just needs a few extra lines to create the screen and display it.
First you need to create a display where the image can be shown:
Second you will want to grab the original image and draw the contours onto it:
Third you need to send the image to the window:
You may also have to comment out this line to make the display work correctly:
If you want your DiddyBorg to stay put when running the script just change the output voltage to 0: