FaceRecognization | Detection in video or live camera inputstream | Camera library
kandi X-RAY | FaceRecognization Summary
kandi X-RAY | FaceRecognization Summary
Detection in video or live camera inputstream.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initialize the form components
- Invoked when the jButton1 action is pressed
- Invoked when the jButton2 action is pressed
- The main method
FaceRecognization Key Features
FaceRecognization Examples and Code Snippets
Community Discussions
Trending Discussions on FaceRecognization
QUESTION
I tried to train the classifier with the sample from internet(from yale), but I keep getting wrong prediction (in fact it only output category "1") when I input one of the training picture as test sample. Could anyone give me some hint? I attached my code below.
(I think the problem might be the training samples as they are already grayscaled. I grayscaled them again because the error bad arguement, size(1,30000), (10000,66)....
thing shows up If I don't do so.)
ANSWER
Answered 2017-Dec-11 at 06:19Alright guys I know the place I went wrong.
Imgproc.cvtColor(img, grayImg, Imgproc.COLOR_BGR2GRAY); ->
Imgproc.cvtColor(img,img,Imgproc.COLOR_BGR2GRAY);
Done!
A stupid mistake. Sorry guys.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install FaceRecognization
You can use FaceRecognization like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the FaceRecognization component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page