license-plate-detect-recoginition-opencv
license-plate-detect-recoginition-opencv copied to clipboard
C++ crashes
Hi! C++ version doesn't work. Always crashes no matter what image you input. If I comment crop_plate it runs but anyway doesn't detect any plates. What can be the cause. I wanted to test your model.
Here is the output when crop plate is not commented:
OpenCV: terminate handler is called! The last OpenCV error is: OpenCV(4.6.0) Error: Assertion failed (0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows) in Mat, file C:/M/mingw-w64-opencv/src/opencv-4.6.0/modules/core/src/matrix.cpp, line 808
Here is the outputs when crop plate is commented:
