Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
face_detection:torch3vision [2009/05/26 12:25] – gerald | face_detection:torch3vision [2009/05/27 16:36] – gerald | ||
---|---|---|---|
Zeile 5: | Zeile 5: | ||
[[http:// | [[http:// | ||
- | Quelle((http:// | + | Quelle |
- | You will need the C++ Compiler ' | + | You will need the C++ Compiler ' |
+ | < | ||
* Download Torch3Vision and un-tar it: tar -zxf Torch3vision2.1.tgz | * Download Torch3Vision and un-tar it: tar -zxf Torch3vision2.1.tgz | ||
Zeile 15: | Zeile 16: | ||
* Build the vison examples for face detection: cd vision2.1/ | * Build the vison examples for face detection: cd vision2.1/ | ||
| | ||
+ | |||
+ | |||
+ | Jetzt 3 Programme in neuen Unterverzeichnis '' | ||
+ | * haarscan - Schnelle, zuverlässige Erkennung | ||
+ | * mlpcascadescan - Sehr zuverlössige Erkennung, bei ganz kleinen Bildern geht es nicht richtig, grosse (> | ||
+ | * mlpscan - Seh keinen rechten Unterschied zum vorherigen. | ||
+ | |||
+ | Jedes dieser 3 Programme braucht eine Modeldatei zur Gesichtererkennung. Diese 3 Dateien liegen unter '' | ||
Zeile 25: | Zeile 34: | ||
</ | </ | ||
This command takes about 20s to run on my creaky old laptop, and creates two files. | This command takes about 20s to run on my creaky old laptop, and creates two files. | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | Parmaters (as far as i found out): | ||
+ | * -minWsize n: min size n in pixel to recognize a face | ||
+ | * -nbest n : save the best n results only | ||
+ | * -dir < | ||
+ | * -savepos | ||
+ | * -draw -> draw ppm image with detections | ||
+ | * -savejpg | ||
+ | * -verbose: tell a little bit more what you doing... | ||
The other file ‘andy.pos’ contains the results of face detection. Line one is the number of detections, then each line has format x y w h, very easy to parse. | The other file ‘andy.pos’ contains the results of face detection. Line one is the number of detections, then each line has format x y w h, very easy to parse. |