Hi iabdalkader,
I tried to use your cascade_convert.py to convert haarcascade_frontalcatface.xml but always failed. and I don't know why.
could you help me convert it?
Thanks a ton!
implement own Haar-Cascade
- iabdalkader
- Posts: 1326
- Joined: Sun May 24, 2015 3:53 pm
Re: implement own Haar-Cascade
Hi, please see the older replies to this thread. The script only works on Linux (for some reason) and it only supports the most basic Haar cascade (using the old format). If you're having a different issue with the script please post the command you used and the error messages.
Re: implement own Haar-Cascade
Hi iabdalkader,iabdalkader wrote: ↑Tue Oct 23, 2018 7:48 pmHi, please see the older replies to this thread. The script only works on Linux (for some reason) and it only supports the most basic Haar cascade (using the old format). If you're having a different issue with the script please post the command you used and the error messages.
thank you so much for your quick response and help!
Yes, I read and tried all the older replies but I can't find any right solution. I used Python 2.7.5 and 2.7.13 to run cascade_convert.py to convert but both of them did not work. Can you help me convert it? Please find haarcascade_frontalcatface.xml attached. Thank you so much.
I am looking forward to hearing back from you.
- iabdalkader
- Posts: 1326
- Joined: Sun May 24, 2015 3:53 pm
Re: implement own Haar-Cascade
Hi, as I already mentioned a few times, the script only works on **Linux** Not Windows.augur4u wrote: ↑Wed Oct 24, 2018 11:59 amHi iabdalkader,iabdalkader wrote: ↑Tue Oct 23, 2018 7:48 pmHi, please see the older replies to this thread. The script only works on Linux (for some reason) and it only supports the most basic Haar cascade (using the old format). If you're having a different issue with the script please post the command you used and the error messages.
thank you so much for your quick response and help!
Yes, I read and tried all the older replies but I can't find any right solution. I used Python 2.7.5 and 2.7.13 to run cascade_convert.py to convert but both of them did not work. Can you help me convert it? Please find haarcascade_frontalcatface.xml attached. Thank you so much.
I am looking forward to hearing back from you.
haarcascade_frontalcatface.ziperror.jpg
Re: implement own Haar-Cascade
Hi iabdalkader,iabdalkader wrote: ↑Wed Oct 24, 2018 3:08 pmHi, as I already mentioned a few times, the script only works on **Linux** Not Windows.augur4u wrote: ↑Wed Oct 24, 2018 11:59 amHi iabdalkader,iabdalkader wrote: ↑Tue Oct 23, 2018 7:48 pm
Hi, please see the older replies to this thread. The script only works on Linux (for some reason) and it only supports the most basic Haar cascade (using the old format). If you're having a different issue with the script please post the command you used and the error messages.
thank you so much for your quick response and help!
Yes, I read and tried all the older replies but I can't find any right solution. I used Python 2.7.5 and 2.7.13 to run cascade_convert.py to convert but both of them did not work. Can you help me convert it? Please find haarcascade_frontalcatface.xml attached. Thank you so much.
I am looking forward to hearing back from you.
haarcascade_frontalcatface.ziperror.jpg
Thank you so much. Unfortunately I have no Linux so I hope you can help me convert it if you have time. Thanks a ton.
- iabdalkader
- Posts: 1326
- Joined: Sun May 24, 2015 3:53 pm
Re: implement own Haar-Cascade
I tried to convert it but this file is a web page, seems you downloaded it from github, you need to download the raw xml file.
Re: implement own Haar-Cascade
Hi iabdalkader,iabdalkader wrote: ↑Thu Oct 25, 2018 1:20 pm
I tried to convert it but this file is a web page, seems you downloaded it from github, you need to download the raw xml file.
Thank you so much for your help.
Now I downloaded the raw xml file from https://raw.githubusercontent.com/openc ... atface.xml.
right? Looking forward to your converting for me. Thanks a ton.
- iabdalkader
- Posts: 1326
- Joined: Sun May 24, 2015 3:53 pm
Re: implement own Haar-Cascade
Attached.
In the future please use a Linux VM to convert cascades, I'll get around to fixing the script on Windows.
In the future please use a Linux VM to convert cascades, I'll get around to fixing the script on Windows.
- Attachments
-
- haarcascade_frontalcatface-ok.cascade.zip
- (11.52 KiB) Downloaded 125 times
Re: implement own Haar-Cascade
Dear iabdalkader,iabdalkader wrote: ↑Fri Oct 26, 2018 7:23 amAttached.
In the future please use a Linux VM to convert cascades, I'll get around to fixing the script on Windows.
Thank you so much for your help and suggestion.
I will install Linux VM to convert cascades and also look forward to your fixing the script on Windows.
Thank you again.
Best regards.
Re: implement own Haar-Cascade
Hi:
The oemnv is great open vision library. Lately i apply it on some my research project.but i want to train my own cascade classfier.i train face_cascade.xml can detect face on opencv.
Howecer,i use openmv_casscade.py convert to face.cascade can not detect face on openmv.May you help me .Thank you very much.
Hrer is my cascade.xml.
The oemnv is great open vision library. Lately i apply it on some my research project.but i want to train my own cascade classfier.i train face_cascade.xml can detect face on opencv.
Howecer,i use openmv_casscade.py convert to face.cascade can not detect face on openmv.May you help me .Thank you very much.
Hrer is my cascade.xml.
- Attachments
-
cascade.xml
- (39.87 KiB) Downloaded 123 times
- iabdalkader
- Posts: 1326
- Joined: Sun May 24, 2015 3:53 pm
Re: implement own Haar-Cascade
Hi, please see the replies to this thread. The script runs on Linux, and only supports simple Haar cascades (the old format) and the output (*.cascade) needs to be copied to flash or SD.
Return to “Technical Discussion”
Who is online
Users browsing this forum: No registered users and 2 guests