kurtax
Posts: 7
Joined: Thu Mar 30, 2017 7:32 am

Raspberry pi robot

Thu Mar 30, 2017 7:35 am

hi im developing a robot which moves around and detects a human and then takes a picture using a usb camera.Then it sends the photo via email warning them that a human is present.

any ideas how this could be done?

thanks.

scotty101
Posts: 3674
Joined: Fri Jun 08, 2012 6:03 pm

Re: Raspberry pi robot

Thu Mar 30, 2017 9:05 am

What have you been able to do so far?

With any project like this you need to take baby steps.
1. Control motors with the Pi
2. Take photos with the Pi camera
3. Basic 'face'/object recognition with camera (not a beginner topic)
4. Moving the robot to find faces
5. Taking photos when a face is centered in the frame
6. Emailing photos.

You will find answers to many of these individual tasks online or in the MagPi (PDF versions of the magazine are free online).
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter

YCN-
Posts: 246
Joined: Fri Jun 10, 2016 3:18 pm

Re: Raspberry pi robot

Thu Mar 30, 2017 12:18 pm

scotty101 wrote: 3. Basic 'face'/object recognition with camera (not a beginner topic)
You should use openCV you'll find tones of tutorial online about it!
scotty101 wrote: 4. Moving the robot to find faces
You hould use a servo-motor and put the camera in it, so that it could take pictures from more point of view.
scotty101 wrote: 6. Emailing photos.
Here you go : http://iqjar.com/jar/sending-emails-fro ... pberry-pi/

And here you'll find an interesting project :
http://mitchtech.net/raspberry-pi-servo-face-tracker/

What do you think ?

YCN-

PiGraham
Posts: 3576
Joined: Fri Jun 07, 2013 12:37 pm
Location: Waterlooville

Re: Raspberry pi robot

Thu Mar 30, 2017 12:42 pm

kurtax wrote:hi im developing a robot which moves around and detects a human and then takes a picture using a usb camera.Then it sends the photo via email warning them that a human is present.

any ideas how this could be done?

thanks.
You are developing, or you want to develop? Have you started? It might help to begin with a simple two-wheel robot and get it moving around. Add some collision sensors and get it to avoid obstacles. Add a camera and just get it to take pictures, maybe on a timer or when the collision sensors fire. Once you have the basics start thinking about vision.

Using a USB camera is fine, but why not a Pi Camera?

There are a few blogs videos etc out there doing face detection.

kurtax
Posts: 7
Joined: Thu Mar 30, 2017 7:32 am

Re: Raspberry pi robot

Thu Mar 30, 2017 5:19 pm

Thank you all for the responses, if there are any more raspberry tutorials to help with this, feel free to post.

Thanks.

MarkyV
Posts: 97
Joined: Wed Sep 21, 2016 1:52 pm
Location: Buckingham, UK
Contact: Website

Re: Raspberry pi robot

Thu Mar 30, 2017 6:40 pm

My RaspberryPi Blog: http://thepimaker.online

Return to “Beginners”