Ask Your Question

Revision history [back]

compare two faces opencv node js

Good Morning.

I have an application in Nodejs with opencv that identifies a face, and saves the img of the face in a file.

My question:

I would like to save only once the identified face, as it is analyzing in real time a video, and saving the face, it is reprinting the image several times. Do you have any method to treat this problem? Save only one image of the identified face?

I thought of comparing the current face with the previous face, if different saves the image. But I did not find an "easy" method to do.

Sorry for my bad english, and thank you for your help. Thank you