which path should i write to get a specific image from desktop in the program after cv2.imread(" ").
Import image path
Hi @ishaan.singh2k
In cv2.imread()
you need to specify the path of image that you want to load in your program.
To get the path of a specific image :
- Hold down Shift on your keyboard and right-click on it. In the context menu that pops up, select “Copy As Path.”
- Paste the copied text inside
cv2.imread(" *******over here****** ")
- Replace every " \ " with " / "
Hope this might helps
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.