diff --git a/port/linux/pkg-push.sh b/port/linux/pkg-push.sh index 56ac5a996..fcd03bf12 100644 --- a/port/linux/pkg-push.sh +++ b/port/linux/pkg-push.sh @@ -44,6 +44,7 @@ if [ -d "test/python/$pkg" ] ; then echo "$FLAG_INFO python test files added:" rm ../../examples/$pkg/* -rf cp test/python/$pkg/*.py ../../examples/$pkg -r +git add test/python/$pkg git add ../../examples/$pkg ls ../../examples/$pkg fi diff --git a/port/linux/test/python/PikaCV/PikaCV_test11.py b/port/linux/test/python/PikaCV/PikaCV_test11.py new file mode 100644 index 000000000..a8412a482 --- /dev/null +++ b/port/linux/test/python/PikaCV/PikaCV_test11.py @@ -0,0 +1,11 @@ +import PikaCV as cv +import binascii +img = cv.Image() +img.read("test/assets/test2.jpg") + +cv.Converter.toGray(img) +data = img.data() +print(str(binascii.b2a_hex(img.data()))) +cv.Converter.toBMP(img) +img.write("test/out/test.bmp") +