Haar.js convert open cv xml to javascript



This project is discontinued , however the project files are still alive , simply i want to use the haar.js project to detect upper body in some media file (video or image ) , the current cascades in project folder doesn't contain upper body classifier , so i will have to use their tool (haartojs.php).


I have done the following :



  1. Downloaded php for windows.

  2. copied my open cv xml file to the root.

  3. ran cmd command: php haartojs.php --xml=myfile.xml

  4. seems the tool is working but i cant find the output file anywhere.


Also i checked the php file source ( im not php expert ) , did not find any line that shows any indication to write files.


any help will be appreciated.


php source file: http://ift.tt/1pmBm7h


Project Page: http://ift.tt/1tASbm1


and this is a screenshot of the output: enter image description here


No comments:

Post a Comment