Closed AyushKoul00 closed 4 years ago
Sorry. I don't have Windows to test. The code has (almost?) none Windows-specific parts, so it should work. What OpenCV version do you have. If you have full VS setup, then line-by-line debugging should help you find the problem.
Sorry. I don't have Windows to test. The code has (almost?) none Windows-specific parts, so it should work. What OpenCV version do you have. If you have full VS setup, then line-by-line debugging should help you find the problem.
Yea, I found the error finally! It was because of getOutputfileName(). For some reason, it was doing something weird (or maybe I didn't understand how to implement it properly) so instead, I just hardcoded the output filename with this function and it worked!
I am running your code on a Windows 10 x64 system with VS 2019. I tried to run your code, but as soon as I run it, i get an dialog box saying abort has been called. I even tried to make some changes to the code but it is still giving me the same error.
Original code:
Revised Code: