Giter Club home page Giter Club logo

facial-recognition's People

Contributors

rodriguesabner avatar romankh3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

facial-recognition's Issues

Remove build resource

Open this issue according to the Contributing page
When I went to the project, I found that the build/ folder was pushed, too. Best practice is to add all build related filed to .gitignore and avoid pushing them.

What should be done:

  1. remove useless folder ./Facial-Recognition/build
  2. add .gitignore file to make sure, that next time it won't be pushed.

Best regards,
Roman.

File not found

I get this error when I try to recognize face

Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: OpenCV(4.1.2) C:\projects\javacpp-presets\opencv\cppbuild\windows-x86_64\opencv_contrib-4.1.2\modules\face\src\facerec.cpp:61: error: (-2:Unspecified error) File can't be opened for reading! in function 'cv::face::FaceRecognizer::read'

	at org.bytedeco.opencv.opencv_face.FaceRecognizer.read(Native Method)
	at com.kingaspx.recognizer.RecognizeFace.<init>(RecognizeFace.java:62)
	at com.kingaspx.main.Menu.jButton3ActionPerformed(Menu.java:536)
	at com.kingaspx.main.Menu.access$600(Menu.java:23)
	at com.kingaspx.main.Menu$7.actionPerformed(Menu.java:280)

I think it is from here recognizer.read("C:\\photos\\classifierLBPH.yml");
How can I get this file please?

Also when I try to register new user, I get this error
[ WARN:0] global C:\projects\javacpp-presets\opencv\cppbuild\windows-x86_64\opencv-4.1.2\modules\videoio\src\cap_msmf.cpp (1159) CvCapture_MSMF::grabFrame videoio(MSMF): can't grab frame. Error: -2147483638
How can I rectify these please?

no jniopencv_core in java.library.path

Exception in thread "main" java.lang.UnsatisfiedLinkError: no jniopencv_core in java.library.path: D:\OpenCV\opencv-3.4.2-vc14_vc15\opencv\build\java\x64
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2444)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:848)
at java.base/java.lang.System.loadLibrary(System.java:2047)
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1191)
at org.bytedeco.javacpp.Loader.load(Loader.java:953)
at org.bytedeco.javacpp.Loader.load(Loader.java:854)
at org.bytedeco.javacpp.opencv_core.(opencv_core.java:10)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:495)
at java.base/java.lang.Class.forName(Class.java:474)
at org.bytedeco.javacpp.Loader.load(Loader.java:913)
at org.bytedeco.javacpp.Loader.load(Loader.java:854)
at org.bytedeco.javacpp.opencv_core$MatVector.(opencv_core.java:1412)
at org.example.TrainLBPH.trainPhotos(TrainLBPH.java:30)
at org.example.TrainLBPH.main(TrainLBPH.java:50)
Caused by: java.lang.UnsatisfiedLinkError: no opencv_imgproc342 in java.library.path: D:\OpenCV\opencv-3.4.2-vc14_vc15\opencv\build\java\x64
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2444)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:848)
at java.base/java.lang.System.loadLibrary(System.java:2047)
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1191)
at org.bytedeco.javacpp.Loader.load(Loader.java:940)
... 10 more

java.lang.UnsatisfiedLinkError: no jniopenblas_nolapack in java.library.path

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no jniopenblas_nolapack in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1483)
at org.bytedeco.javacpp.Loader.load(Loader.java:1186)
at .........

Please help, how can i fix this issue

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.