Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers.
Welcome to JeVois Tech Zone, where you can ask questions and receive answers from other members of the community.

Can I take a screenshot and send it when a particular object is detected using aurdino or raspberry Pi

0 votes
Hello,

What I want to do is whenever jevois detects an object in the video frame, it should take a screenshot and sent the image over a Raspberry Pi to an email
asked May 13 in Hardware Questions by tomellickal (170 points)
edited May 22 by tomellickal

1 Answer

+1 vote
The easiest is to have your raspberry pi get all detection pictures, and then it will decide which ones to send over email (as opposed to JeVois deciding to only send some pictures to the pi). Then see here:

http://jevois.org/tutorials/UserArduinoBlink.html

http://jevois.org/tutorials/UserArduinoYOLO.html

So you write a python script on your raspberry pi which does this:

- open video capture from JeVois using OpenCV VideoCapture with the correct resolution and frame rate

- loop forever:

    - grab a frame

    - receive serial messages from JeVois

    - if serial message corresponds to desired object, email the frame

Also see this great project by Peter Quinn:

https://hackaday.io/project/163391-front-door-cam
answered May 29 by JeVois (40,580 points)
Thanks this was a much easier way than using Jevois to take a picture and send it across to the raspberri
...