Unable to train images using LBPH algorithm OpenCV [closed]

asked 2020-03-19 11:40:29 -0600

I am trying to train images for facial recognition but i am getting error while doing so. I have posted the question in stack overflow at following link: https://stackoverflow.com/q/60756692/...

a solution for this issue will be appreciated. Don't get offended that I have posted my question in stackoverflow.

edit retag flag offensive reopen merge delete

Closed for the following reason not a real question by berak
close date 2020-03-19 12:13:12.432033

Comments

either ask a REAL question here, or stick with SO, please.

(lame backlinking does never work)

berak gravatar imageberak ( 2020-03-19 12:14:03 -0600 )edit

@Bikash Pandey. Try this:

recognizer.train(faces, np.array(Ids))
supra56 gravatar imagesupra56 ( 2020-03-19 20:46:40 -0600 )edit