Popnut
Posts: 1
Joined: Wed Aug 19, 2020 11:07 am

Target detection project with a Picamera

Wed Aug 19, 2020 12:01 pm

Hello !

I worked on a model that allows me to detect targets thanks to a Picamera and servo-motors that allow me to scan a certain field of view.
There are two modes on this model, the first one is an automatic mode that makes the servomotors rotate in order to search and point an enemy target. And the second is a manual mode with control of the servomotors using a joystick. I used Python to do all this.
The video feedback of the target detection is done through a screen.
However, now I'd like to make the system portable. So I have to remove the joystick and no longer have a monitor.
For this, I had thought of going through a web server where we will be able to observe the live camera feedback but also integrate buttons to be able to control the servomotors.
I've never done this before, so I'd like to know if it's possible and plausible?

I hope I've been clear enough about what I'd like to do...
Thank you in advance.

blimpyway
Posts: 365
Joined: Mon Mar 19, 2018 1:18 pm

Re: Target detection project with a Picamera

Thu Aug 20, 2020 6:23 am

Yeah, it's possible, there are many web apps which give video stream from cameras and have feedback buttons.

You probably won't find one specifically made for you so you'd have to develop one.
What tools to use.. depends on who-s making the program.

One workaround is to use VNC to access remotely the PI's desktop interface. That works ok-ish in a local network.

One problem could be some time lag of both video display and remote input. Depends a lot how fast the.. robot\s response in manual mode you want to be.

Return to “Other projects”