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.