Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
face_detection:torch3vision [2009/05/26 12:25] geraldface_detection:torch3vision [2024/02/29 13:36] (aktuell) – Externe Bearbeitung 127.0.0.1
Zeile 2: Zeile 2:
  
 {{tag>face_detecton gesichtererkennung}} {{tag>face_detecton gesichtererkennung}}
 +
 +jpegtopnm is obsolete under debian. Use djpeg instead
 +<code>apt-get install libjpeg-progs</code>
  
 [[http://torch3vision.idiap.ch/]] [[http://torch3vision.idiap.ch/]]
  
-Quelle((http://ultrahigh.org/2008/10/14/command-line-face-detection/))+Quelle (grossteils) ((http://ultrahigh.org/2008/10/14/command-line-face-detection/))
  
-You will need the C++ Compiler 'g++' to make+You will need the C++ Compiler 'g++' to make. When not compiling enter: 
 +<code>apt-get install g++</code>
  
   * 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 19:
   * Build the vison examples for face detection: cd vision2.1/examples/facedetect/   * Build the vison examples for face detection: cd vision2.1/examples/facedetect/
  ../../../torch3make *.cc  ../../../torch3make *.cc
 +
 +
 +Jetzt 3 Programme in neuen Unterverzeichnis ''Linux_i686_dbg_float'':
 +  * haarscan -  Schnelle, zuverlässige Erkennung 
 +  * mlpcascadescan - Sehr zuverlössige Erkennung, bei ganz kleinen Bildern geht es nicht richtig, grosse (>3MPixel) dauert lange.
 +  * mlpscan - Seh keinen rechten Unterschied zum vorherigen.
 +
 +Jedes dieser 3 Programme braucht eine Modeldatei zur Gesichtererkennung. Diese 3 Dateien liegen unter ''vision2.1/examples/facedetect/models/''. Die jeweils passende Datei muss (mit Pfad) bei jeden Aufruf angegeben werden.
  
  
Zeile 25: Zeile 37:
 </code>  </code> 
 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://torch3vision.idiap.ch/examples2.0/|Source code of examples]]
 +
 +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 <string>                -> directory to store ouput files [.]
 +  * -savepos                     -> save pos file
 +  * -draw                        -> draw ppm image with detections
 +  * -savejpg                     -> save in jpeg instead of jpeg (jpeg ist wrong, should be ppm, but not working)
 +  * -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.
 
Nach oben
face_detection/torch3vision.1243340752.txt.gz · Zuletzt geändert: 2024/02/29 13:36 (Externe Bearbeitung)
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0
DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp   Dogecoin Donations Accepted Here    DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp  DFmW2CEce3htPL1uNQuHUVu4Tk6WXigFQp