pikapython/test/python/PikaCV/PikaCV_test8.py

7 lines
182 B
Python
Raw Normal View History

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