Development Environment: arduino IDE
I tried to find a way to clip only the QVGA YUV422 image obtained by video stream, but it has not been resolved.
I understand that the following functions can actually resize images and that there is a limitation from 14p of the URL destination that the magnification at resizing is 2^n times or 1/2^n times, and the size after resizing is an integer.
Image Clip + Resize
URL:Spresense Study meeting #1 How to use the Camera board
For this reason, we are trying to check the operation using only the clip function with the code below.
Code Summary: QVGA (320,240) - Clip → (60,60) - Resize → (60,60)
I actually checked the operation on the serial monitor, but no error code was displayed and
If n = 0, it does not work properly.
such as QVGA (320,240) - Clip → (120,120) - Resize → (60,60) We have verified normal operation when n=1 and so on.
The clipAndResizeImageByHW is defined in camera.cpp and is as follows:
Based on the code below, I understand that imageproc_clip_and_resize is the processing part that I want to focus on this time, but I can only see the header for this function, and I have not yet seen the definition.
If anyone knows about this matter, please let me know.
I am in charge of SPRESENSE support for Sony.
The clipping-only feature was supported in v2.0.2, which was recently released.
Please upgrade to v2.0.2 before attempting.
Thank you for your continued support on SPRESENSE.
SPRESENSE Support Team
© 2022 OneMinuteCode. All rights reserved.