tesmai4 / jviolajones Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/jviolajones
Automatically exported from code.google.com/p/jviolajones
Hi
I am able to run the face detection from command line but not from my java
program. I gave the correct path for picture as well as .xml files. But it
gives the error
Exception in thread "main" java.lang.NoClassDefFoundError:
org/jdom/input/SAXBuilder
at detection.Detector.create(Detector.java:35)
at faceDetection.main(faceDetection.java:16)
Caused by: java.lang.ClassNotFoundException: org.jdom.input.SAXBuilder
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 2 more
Could you please help me to solve this problem.
Thanks in advance,
Shrestha
Original issue reported on code.google.com by nirajshresthas
on 22 Nov 2013 at 7:38
It would be good to pass a jdom.Element into the detector routine instead of a
filename, which would allow a single cascade file load in the case when you
want to run detection on multiple images.
Original issue reported on code.google.com by [email protected]
on 11 Nov 2011 at 12:53
Is there a way to use the jar file on android application? Because android does
not support "java.awt.Rectangle"
Thanks and you are doing a great work!
Original issue reported on code.google.com by [email protected]
on 26 May 2014 at 5:56
Checked source code, can't see how it's being executed in GPU as mentioned in
the project home page, is it misunderstanding?
Original issue reported on code.google.com by [email protected]
on 13 Mar 2013 at 9:34
What steps will reproduce the problem?
1. Train a file using OpenCV (see attachment).
2. Try to load the file using Detector.create().
What is the expected output? What do you see instead?
Expected output:
Nothing, file loads normally.
Actual output:
Program crashes with null pointer exception:
Exception in thread "main" java.lang.NullPointerException
at detection.Detector.<init>(Detector.java:52)
at detection.Detector.create(Detector.java:41)
at au.com.nicta.eyedetector.tools.VilaJonesEvaluator2.main(VilaJonesEvaluator2.java:24)
What version of the product are you using? On what operating system?
Product version: jviolajones2.0.jar.
Operating system: Ubuntu Linux 11.10, using Java version:
"1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.4) (6b22-1.10.4-0ubuntu1~11.04.2)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
Please provide any additional information below.
I used the example code from the website, merely substituting
"haarcascade_frontalface_default.xml" with my own.
Original issue reported on code.google.com by [email protected]
on 8 Feb 2012 at 1:32
Attachments:
Hi
In the scenario of taking a picture with the webcam and loading it as
BufferedImage, it was difficult to analyze that image without saving it as a
file. This diff attempts to solve that.
If you would like to take a look at the small diff, please find it attached.
Best regards,
Cristian
Original issue reported on code.google.com by [email protected]
on 31 Oct 2011 at 10:48
Attachments:
What steps will reproduce the problem?
1. Try to construct Detector using other OpenCV xml files (e.g.
haarcascade_eye.xml)
What is the expected output? What do you see instead?
Expected to load the xml file and use its contents for object detection.
Exception occurs when reading the file. See stack trace below.
What version of the product are you using? On what operating system?
Please provide any additional information below.
Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For
input string: "
"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:449)
at java.lang.Integer.parseInt(Integer.java:499)
at dlife.vision.filter.devel.ViolaJonesFilter$Rect.fromString(ViolaJonesFilter.java:496)
at dlife.vision.filter.devel.ViolaJonesFilter$Detector.<init>(ViolaJonesFilter.java:219)
NOTE: ViolaJonesFilter is a class I have created that wraps and uses the
Detector, Effect, Rect and Stage classes internally. The same error can be
seen using the original source.
Original issue reported on code.google.com by [email protected]
on 25 May 2011 at 1:35
Downloaded current release. Ran example:
java -jar jviolajones.jar 6.jpg haarcascade_frontalface_default.xml
gives:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/jdom/input/SAXBuilder
at detection.Detector.<init>(Detector.java:34)
at detection.Test.<init>(Test.java:38)
at detection.Test.main(Test.java:52)
Caused by: java.lang.ClassNotFoundException: org.jdom.input.SAXBuilder
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 3 more
java -version
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) 64-Bit Server VM (build 14.0-b16, mixed mode)
Original issue reported on code.google.com by [email protected]
on 2 May 2011 at 1:43
jviolajones is well open-source project based java. but now i encountered confusion, because instruct is different with haarcascade_frontalface_default.xml and haarcascade_frontalface_alt2.xml, Detector.java does not support this. is there a new way to support?
Original issue reported on code.google.com by [email protected]
on 29 Jul 2011 at 7:44
What steps will reproduce the problem?
1. List<Rectangle> blobs = objFaceDetection.DetectFacesNow("ImagePath");
2.
3.Windows 7
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 26 Jun 2013 at 7:54
Attachments:
What steps will reproduce the problem?
1. Go through the source code in the trunk folder in the SVN
What is the expected output? What do you see instead?
expect to see comments within the functions explaining the lines of code
Instead, I only see comments explaining the parameters of the functions and the
outputs of the functions which is not explanatory.
What version of the product are you using? On what operating system?
jViolaJones2.0, windows xp
Please provide any additional information below.
I wish to understand Viola Jones through your java implementation, however your
code is not well commented and I have a hard time to understand your design
decisions.
Original issue reported on code.google.com by [email protected]
on 12 Jul 2012 at 11:44
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.