Reputation: 4517
I need to create HarrCascade XML file to use it with OpenCV for tracking my Square or Rectangle object, and I have researched and I fond many way to create HaarCascade but none of this explain with iPhoneSDK.
Sample Link : Haar Classifiers
Also, I have checked for other XML files which are for eyes, nose & other body parts which works very well.So, I hope just generating a new HarrCascade XML file & training the classfiers will solve ma problem.
So, how to create Haar Cascade (xml) for using with OpenCV for iOS ?
Upvotes: 1
Views: 2511
Reputation: 11972
Give this a shot if you want to detect squares: OpenCV C++/Obj-C: Detecting a sheet of paper / Square Detection
Works fine for me and if you scale down the input image it's fast enough for iOS-devices
Upvotes: 1