pikapython/examples/PikaCV/PikaCV_test8.py

7 lines
182 B
Python
Raw Normal View History

2022-07-20 21:39:58 +08:00
import PikaCV as cv
img = cv.Image()
img.read("test/assets/test.jpg")
cv.Converter.toRGB888(img)
cv.Filter.meanFilter(img,3,3)
cv.Converter.toBMP(img)
img.write("test/out/test8.bmp")