You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 braug...@gmail.com on 25 May 2011 at 1:35
The text was updated successfully, but these errors were encountered:
Problem partly fixed in jviolajones2.jar and in sources.
Haarcascade_eye.xml now working. (I forgot a trim() somewhere).
However, many other files still do not work, as I still miss some nodes from
the XML. Working on it.
Original comment by saimon...@gmail.com on 31 Jul 2011 at 4:40
Original issue reported on code.google.com by
braug...@gmail.com
on 25 May 2011 at 1:35The text was updated successfully, but these errors were encountered: