Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If an image fails there is nothing in the results csv #33

Open
tadam98s opened this issue May 15, 2024 · 3 comments
Open

If an image fails there is nothing in the results csv #33

tadam98s opened this issue May 15, 2024 · 3 comments

Comments

@tadam98s
Copy link

I am running tests on thousands of images. After processing a few hundred I got an exception:
OpenCV: termininate handler is called ! The last OpenCV error is:
OpenCV(4.5.5) Error: Image step is wrong (The matrix us not continous, thus its number of rows cannot be changed( in cv::Mat::reshape, file C\Users\Mickey.conan2\p\b\open00b993b028ed5\b\src\modules\core\matrix.cpp, line 1176

Please update the program to simply try-catch such error and place the error in the result csv and continue.
Surely, I suggest to append the result of every completed file into the output csv each time so that if there is an uncaught exception, the results so far will not be lost.

(some numbers are in the terminal output but best is to have the standard csv.

Best,
Mickey

@m-schaubert
Copy link
Collaborator

Hi Mickey, could you please check if you have pulled the latest updates. This issue was alreaday fixed - #25
Here is the corresponding diff: d94a047

@tadam98s
Copy link
Author

Please also address the issue of updting the csv constantly just for the case there could be additional errors.

@bbtams
Copy link
Collaborator

bbtams commented May 16, 2024

Hi Mickey, please note that the sample app is just an example to demonstrate how to use the OFIQ C/C++ library. We do not intend to maintain the sample app or add new functionalities to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants