Hi guys,
I've just started to use the OpenCV3 library, greatly wrapped in Android by @JordiCP. I learned something about it, in the past, and is very powerful!
I'm trying to customize the example called "Color Blob Detection", and want to use the zoom of the camera (as a microscope), allowing to view the zoomed image in the preview panel at real-time.
I tryied to use the "resize1" function, but does not work
- Also tryied to create a temporary OCVMat and then assigned back to myMat: crash.
- Tried to change cameraview dimensions:
but the image becomes big, I want only a part of it...
Is there any "simple" hack to perform a x2 (or x4, x6, x8) zoom before processing the image?
Thanks in advance
I've just started to use the OpenCV3 library, greatly wrapped in Android by @JordiCP. I learned something about it, in the past, and is very powerful!
I'm trying to customize the example called "Color Blob Detection", and want to use the zoom of the camera (as a microscope), allowing to view the zoomed image in the preview panel at real-time.
I tryied to use the "resize1" function, but does not work
B4X:
mImgProc.resize1(myMat,myMat,Utils.CreateSize(320,240))
- Tried to change cameraview dimensions:
B4X:
mOpenCvCameraView.connectCamera(1280,960)
Is there any "simple" hack to perform a x2 (or x4, x6, x8) zoom before processing the image?
Thanks in advance