OpenCV face recognition.
I did the coding for face recognition using openCV but for all user id its showing one name "Ahmed" here is the code can u help me out for correction.
I did the coding for face recognition using openCV but for all user id its showing one name "Ahmed" here is the code can u help me out for correction.
Asked: 2018-02-13 06:10:50 -0600
Seen: 239 times
Last updated: Jul 09 '18
Area of a single pixel object in OpenCV
how to understand which functions available in python bindings?
Problems installing opencv on mac with python
build problems for android_binary_package - Eclipse Indigo, Ubuntu 12.04
OpenCV DescriptorMatcher matches
Can't compile .cu file when including opencv.hpp
Weird result while finding angle
cv2.perspectiveTransform() with Python
Using OpenCV's stitching module, strange error when compositing images
please be so kind, and replace the screenshot of your code with a text version, thank you !
My first guess is that your learned recognition model is bogus and not properly working. Did you check if it returns the correct labels on the actual training data?
up to training its working well just for recognition, i am getting the wrong output.for every Id its showing one name
what exactly are you trying to achieve here ? what is your training data ?
up to training its working well --> it is not because it runs flawlessly, that it actually learned something useful. Like suggested by @berak, give us as much details on your task, training data, and so on ...
There is something missing looping
for
blockBtw, u don't need
if/else
condition blockI am also using the same code the same problem executes for me.It shows only the same for whatever the faces it recognizes.Did you solved this problem