2022-07-19 18:04:38 +08:00
|
|
|
import PikaCV as cv
|
|
|
|
img = cv.Image()
|
|
|
|
img.read("test/assets/test.jpg")
|
|
|
|
cv.Converter.toRGB888(img)
|
2022-07-20 11:57:51 +08:00
|
|
|
thre = cv.Transforms.resize(img,25,25,0)
|
2022-07-19 18:04:38 +08:00
|
|
|
cv.Converter.toBMP(img)
|
|
|
|
img.write("test/out/test3.bmp")
|