pikapython/test/python/PikaCV/PikaCV_test7.py
2022-09-26 21:47:52 +08:00

7 lines
193 B
Python

import PikaCV as cv
img = cv.Image()
img.read("test/assets/test.jpg")
cv.Converter.toRGB888(img)
thre = cv.Transforms.resize(img,25,25,0)
cv.Converter.toBMP(img)
img.write("test/out/test3.bmp")