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.
We have moved to a new forum at http://jevois.usc.edu, please check it out. The forum at jevois.org/qa will not allow new user registrations but is maintained alive for its useful past questions and answers.
Welcome to JeVois Tech Zone, where you can ask questions and receive answers from other members of the community.

Raspberry photobooth

0 votes
Hello, does anyone already done an automatic Photobooth with a Rasperry ?

For example it takes a picture when a face is recognized ?

And as extra it could send an email automatically to the person it recognize

I will search by myself and keep updated when my project will be near usable !

Many thanks
asked Mar 2, 2019 in Misc Questions by Xpop (120 points)

1 Answer

0 votes

Have a look at http://jevois.org/tutorials/ProgrammerPythonSaveImages.html

If you are using JeVois Inventor, you can skip many of the steps which are now much easier with the Inventor, but have a look at the Python code:

import libjevois as jevois

import cv2

import numpy as np

class SaveImages:

  ## Constructor

  def __init__(self):

    self.frame = 0

  ## Process function with no USB output

  def processNoUSB(self, inframe):

    img = inframe.getCvBGR()

    cv2.imwrite("/jevois/data/saveimages{}.png".format(self.frame), img)

    self.frame += 1

Then check out http://jevois.org/moddoc/PyDetectionDNN/modinfo.html

It detects faces in Python. You can add the cv2.imwrite() command into that code maybe? Note that you would need new code and training data to do identification.

answered Mar 4, 2019 by JeVois (46,580 points)
I did a project to take a picture and text it to myself when a person is recognized. You could do something similar: https://hackaday.io/project/163391-front-door-cam
Many thanks JeVois and PeterQuinn for your answers !
...