dev-notes/Python/Libs/Image/OpenCV.md

13 lines
250 B
Markdown
Raw Normal View History

2021-01-31 11:05:37 +01:00
# OpenCV Lib
## Bascis
### Read Image & Video
```py
import cv2 as cv
img = cv.imread("filename") # read and save the image as matrix of pixels
cv.imgshow("Window Name", image) # show an image in a named window (takes name and pixel matrix)
```