6/3/2023 0 Comments Opening an img file![]() Now I have to display the image of john from the training folder but there it is stored in the format 1_john1.pgm.ĪNY one image of john is required to be displayed out of several images stored there. SO if john was detected it will return john. Which contains the string with the persons name which has been detected. Now after running face recognition algorithm i am getting - personNames.c_str() Now I have - vector personNames // array of person names (indexed by the person number). Next persons first image is again 2_peter1.pgm etc etc The images of first person is stored like 1_john1.pgmĢnd image of first person. ![]() ![]() I have the stored training images in a folder called data I am a beginner in openCV and C++ as well.I am stuck in a particular place while trying to implement face recognition in open cv.
0 Comments
Leave a Reply. |