Hi! I use mosaic node to show srv view and front view. Now, I want to change view when I press the button. But I don't how to do.
Appreciate your guidance here.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi! I use mosaic node to show srv view and front view. Now, I want to change view when I press the button. But I don't how to do.
Appreciate your guidance here.
The display module should be showed srv image and raw image from one camera at the same time.
I use mosaic node to show srv view and front view(from front camera), but I want change to right view(from right camera) or back view(from back camera) when I press the button.But I don't how to do.
Okay,
I understand that the mosaic node of tiovx is modified and used.
I recommended use the "tivxNodeSendCommand()" for key value transfer from the main.c of the APP to the kernel.
And add "control function" and register(in tivxAddTargetKernelByName()) control function in tiovx's mosaic kernel. (I checked SDK 8.0's mosaic node, it doesn't have control function)
After modify, you can check input key value in mosaic node.
now you can change what the mosaic node's Process function draws according to the input key value.
Regards,
Taekmin.
I found that init and create function of mosaic module in vision_apps/kernels/img_proc/hosts. And there is no example of tivxAddTargetKernelByName() in vision_apps/kernels/img_proc/host .Could you give some examples?
Hi,
Check the this file. "vision_apps/kernels/img_proc/r5f/vx_img_mosaic_msc_target.c"
you can find tivxAddTargetKernelByName() function.
Regards,
Lee.
I tried to modify in c66. But I can't use r5f, because there is a camera driver supplied by other company. In the mean while, They just offered binary file of r5f. Can I use c66 to achieve? If I use c66, how to add tivxRegisterImgProcTargetC66Kernels() into main.c.
Hi,
Does the Mosaic kernel work in C66 core? I'm not sure about that.
Both the camera driver and the mosaic kernel operate on R5F, but I know it doesn't matter.
Regards,
Lee.
Hello Lee,
Can you try setting target of the mosaic node to C66? I see the file ti-processor-sdk-rtos-j721e-evm-08_00_00_12\vision_apps\kernels\img_proc\c66\vx_img_mosaic_target.c. It seems to be supported on C66x. but may not be doing downscaling..
Regards,
Brijesh
Hi.
Because, vx_app_tirtos_linux_mcu2_0.out offered by the other company, and I found tivxImgMosaicNode run on mcu2_0. I want to know that when I add "STATIC_LIBS += vx_target_kernels_img_proc_r5f" to vision_apps/apps/basic_demos/app_tirtos/tirtos_linux/mcu2_1/concerto.mak and generat vx_app_tirtos_linux_mcu2_1.out, can it worked? There are differernt tivxImgMosaicNode in different r5f core.
Hi,
Mosaic node on MSC is not supported on mcu2_1. You have to use it either on mcu2_0 or use DSP based mosaic node.
Regards,
Brijesh