Here is my code :
import cv2 import sys
image = cv2.imread(fname)
if image is None: print 'Failed to load image file:', fname sys.exit(1)
cv2.namedWindow("Trial")
cv2.imshow("Trial",image)
I'm a beginner in opencv, so please, be patient.
1 | initial version |
Here is my code :
import cv2 import sys
image = cv2.imread(fname)
if image is None: print 'Failed to load image file:', fname sys.exit(1)
cv2.namedWindow("Trial")
cv2.imshow("Trial",image)
I'm a beginner in opencv, so please, be patient.
2 | retagged |
Here is my code :
import cv2 import sys
image = cv2.imread(fname)
if image is None: print 'Failed to load image file:', fname sys.exit(1)
cv2.namedWindow("Trial")
cv2.imshow("Trial",image)
I'm a beginner in opencv, so please, be patient.