hodachop93 / jviolajones

Automatically exported from code.google.com/p/jviolajones
0 stars 0 forks source link

Passing jdom.Element instead of a filename #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 noah.fri...@gmail.com on 11 Nov 2011 at 12:53

GoogleCodeExporter commented 9 years ago
This is done, the constructor now takes a jdom.Document (and not jdom.Element) 
as a constructor.

To build directly from an XML file, one should now consider using the factory 
method : 
Detector.create(String fileName).

Original comment by saimon...@gmail.com on 16 Nov 2011 at 7:58