I'm developing an application which helps to manage car park by recognizing the car's plate number. I use VC++, OpenCV, Windows SDK and DirectX in this app. But I'm now having a little trouble with it.
Let me introduce a bit about how my system works so that you guys can understand about it:
When a car enters the park, we scan one card with a card reader. Right after the card is read, our camera will take a picture of the car's plate and our system will recognize the plate number and assign it to the scanned card's id. And the car will then be allowed to get into the park.
When the car gets out of the park, the same process happens. If the plate number of the car and the card's id are the same with those in database, the car will be allowed to get out.
Here is my trouble: When I start the application, it works fine and no errors happen like the below picture.
But the "Debug assertion failed" error happen when I scan a card with our card reader. The specific error is in the below image.
Can any one help me to fix this annoying error? :( Many thanks to you all.