9 lines
203 B
Python
9 lines
203 B
Python
|
import numpy as np
|
||
|
import cv2
|
||
|
import os
|
||
|
|
||
|
# Load an color image in grayscale
|
||
|
img = cv2.imread(os.path.join(os.getcwd(), './res/balls.png'),0)
|
||
|
cv2.imshow('image',img)
|
||
|
cv2.waitKey(0)
|
||
|
cv2.destroyAllWindows()
|