- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
This is in response to my previous question on the same code. On running the code in the command prompt, I am getting a new error which I am attaching here as a screenshot. Kindly help:
Thank you!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tithi,
Thank you for reaching out to us.
I've encountered the same error message when providing incorrect path or missing image for the "-i" command when running the sample. Here is the error message:
Please provide the correct path for your image and ensure it is available in your directory. Here is my sample directory and the result for running the sample with the image:
Regards,
Hairul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Hairul!
I have the image in the same directory itself, but I am still getting the same error. Here is the a snapshot of the directory.
Regards,
Tithi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tithi,
From my end, I was able to replicate this issue by using an empty image as an input and received the following errors:
On another note, you can verify whether OpenCV was able to read your image by accessing the image properties. To print the image properties, run the following command in a Python shell:
import cv2
image = cv2.imread("banana.jpg")
print(image.shape)
Here is the result of a valid image:
I'd suggest you to have a try using different test images from the media files collection available at
https://storage.openvinotoolkit.org/data/test_data/images/
Additionally, please do share your image files with us for further investigation regarding this issue.
Regards,
Hairul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tithi,
Thank you for your question. If you need any additional information from Intel, please submit a new question as this thread is no longer being monitored.
Regards,
Hairul
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page