How to display the camera video on the screen


What MCU/Processor/Board and compiler are you using?


What do you want to achieve?

What have you tried so far?

How to display the camera video (e.g. ov2640)on the screen? which widgets ?

Code to reproduce

Add the relevant code snippets here.

The code block(s) should be between ```c and ``` tags:

/*You code here*/

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

You need to receive picture from camera as RAW bitmap and then push it for eample to lv_img

OK,thanks. I test it as below:
void u_task_2(lv_timer_t * task_2)
lv_ui *ui=task_2->user_data;
lv_img_set_src(ui->screen_img_2, &img);
lv_timer_t * task_2 = lv_timer_create(u_task_2, 1000, ui);
Does it right?

Yes BUT you must understand that you need to right fill img data variable with you picture data.