We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when I am running from the command line it gives me these two errors I have attached screen short
"Traceback (most recent call last): File "ocr.py", line 47, in ocr = KTPOCR(ktppath) File "D:\video monitoring\first four\KTP-OCR-master\ktpocr\extractor.py", line 13, in init self.gray = cv2.cvtColor(self.image, cv2.COLOR_BGR2GRAY) cv2.error: OpenCV(4.5.4) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor' "
"it seems I am not giving the proper path for image please can you point out where i am doing mistake where I am doing mistake
The text was updated successfully, but these errors were encountered:
did the issue got solved? please enlighten me
Sorry, something went wrong.
What if it's just like this:
ktpocr/dataset/ktp1.png
I'm not a daily user of Windows, But afaik /<path> with <path> are different.
/<path>
<path>
If on linux, /<path> will be absolute path and <path> will be relative path.
reference
No branches or pull requests
when I am running from the command line it gives me these two errors
I have attached screen short
"Traceback (most recent call last):
File "ocr.py", line 47, in
ocr = KTPOCR(ktppath)
File "D:\video monitoring\first four\KTP-OCR-master\ktpocr\extractor.py", line 13, in init
self.gray = cv2.cvtColor(self.image, cv2.COLOR_BGR2GRAY)
cv2.error: OpenCV(4.5.4) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor' "
"it seems I am not giving the proper path for image please can you point out where i am doing mistake where I am doing mistake
The text was updated successfully, but these errors were encountered: