Giter Site home page Giter Site logo

jviolajones's People

Contributors

saimonfon avatar

jviolajones's Issues

Could not detect face inside an image

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:

not able to run from program

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

Some .xml files created by OpenCV can not be loaded.

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:

Errors Loading OpenCV xml files

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

Code is PERFECT but not well commented

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

jar missing SAX parser

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

Running it in GPU?

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

Passing jdom.Element instead of a filename

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

Using jviolajones on android app.

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

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.