Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

Programm chrash after using my cascade

$
0
0
Hi, I am pretty new to Open/EmguCV and therefore pretty clueless about my problem. I have created my own cascade along to the many tutorials found online, But when it comes to using it, I fail. I am using the cascade with this code, but somehow the program just ends itself without any errormsg when it comes to exact that line. HaarCascade LicencePlate = new HaarCascade(Cascade); MCvAvgComp[] Positives = LicencePlate.Detect(grayFrame); // The Line it crashes if (Positives.Length > 0) { foreach (var _positive in Positives) { Image tmp = frame.Copy(); frame.ROI = _positive.rect; frame.Draw(_positive.rect, new Bgr(Color.Red), 0); } } Also, in case it might help, the header and first stage of my classifer BOOSTHAAR21100GAB9.9900001287460327e-0011.0000000149011612e-0019.4999999999999996e-001110001ALL10<_>38.8072061538696289e-001<_> 0 -1 7 3.0345141887664795e-002 -9.5833331346511841e-001 9.4736844301223755e-001<_> 0 -1 10 8.9150235056877136e-002 -1. 8.8454538583755493e-001<_> 0 -1 9 -1.5882638096809387e-001 9.5450854301452637e-001 -8.7670880556106567e-001

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>