oconnorhorrill / Face-Recognition

Implementation of java face recogniser with OpenCV with windows .dll and .jar
Apache License 2.0
14 stars 16 forks source link

Exception in Application start method #4

Open cankalsoftware opened 7 years ago

cankalsoftware commented 7 years ago

Hello when I start the application on the launch StackTraceElement[] cause = Thread.currentThread().getStackTrace(); <> look like i cannot create the thread StackTraceElement

i am getting the above error message can you please advise?

i cannot see the issue thanks Ali

oconnorhorrill commented 7 years ago

Looks like you either have not set up the dependencies or your system isn’t finding the JVM. What are you trying to run this on, what IDE are you using?

cankalsoftware commented 7 years ago

Hello Sorry yes you are correct PICNIC issue all sorted now

/*

hello I am trying to run in in the Eclipse win10 64 bit <> when i step through i stuck in //FaceRecognizer faceRecognizer = Face.createFisherFaceRecognizer(0,1500); BasicFaceRecognizer faceRecognizer = Face.createFisherFaceRecognizer(0,1500); //FaceRecognizer faceRecognizer = Face.createEigenFaceRecognizer(0,50); give error we pass component 0 and throw Exception in Application start method

thanks */

cankalsoftware commented 7 years ago

Hello Again Sorry to bother you I am trying to apply this code via IPCamera however i am getting an error "Failed to open the camera connection..."

have you try to connect an IPCamera? how can i connect an IP camera?

Many thanks Ali

oconnorhorrill commented 7 years ago

Can you paste the error code and send it in full.

Do you have the path to the hair cascade correct for your system?

cankalsoftware commented 7 years ago

Hello the output is //// THE NUMBER OF IMAGES READ IS: 260 Failed to open the camera connection... ////

the code is // this.capture.open("http://192.168.0.105/axis-cgi/mjpg/video.cgi"); ///

but if i use "0" "zero" i.e. usb camera, all works ok thanks Ali

cankalsoftware commented 7 years ago

Hello Did you manage to get any progress on the IP Camera issue? I seem to get the picture now but cannot get the face detection

the way that i come-over the issue was create a thread

however when we get the line BasicFaceRecognizer faceRecognizer = Face.createFisherFaceRecognizer(0,1500);

thread gives error

thank you for your help Ali