Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
Because of un-manageable amounts of spam despite our use of CAPTCHAs, email authorization, and other tools, we have discontinued this forum (see the 700k+ registered users with validated email addresses at right?). Please email us any questions or post bug reports and feature requests on GitHub at https://github.com/jevois -- The content below remains available for future reference.
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, 2019 in Hardware Questions by tomellickal (170 points)
edited May 22, 2019 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, 2019 by JeVois (46,580 points)
Thanks this was a much easier way than using Jevois to take a picture and send it across to the raspberri
...