Latency between camera and display

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Latency between camera and display

937件の閲覧回数
OlivierG
Contributor III

Hi
I have an IMX93 evk card
I tried the following manipulation:
I coded a digital clock with a resolution of 1 millisecond
I filmed this clock with the RPI-CAM-MIPI camera https://www.nxp.com/design/design-center/development-boards-and-designs/RPI-CAM-MIPI
I used gstreamer to display:
gst-launch-1.0 v4l2src device=/dev/video0 ! autovideosink

I took  picture of both clock and display (Westland X Windows)
By making the difference between the 2 I have a difference of 100 ms

By measuring the acquisition time with the open CV function
cv::VideoCapture camera(0, cv::CAP_V4L2);
camera >> frame;
I have a time of 23 ms

the difference seems to be due to the display

Greetings

 

Olivier

0 件の賞賛
返信
5 返答(返信)

840件の閲覧回数
pengyong_zhang
NXP Employee
NXP Employee

Hi @OlivierG 

Did you run any other application?  or run the top command See which thread has the highest occupancy rate?

B.R

0 件の賞賛
返信

890件の閲覧回数
pengyong_zhang
NXP Employee
NXP Employee

Hi @OlivierG 

So, What are your specific problems right now?

B.R

0 件の賞賛
返信

918件の閲覧回数
pengyong_zhang
NXP Employee
NXP Employee

Hi @OlivierG 

I think you are right, Could you explain more details  about your this phenomenon?

B.R 

0 件の賞賛
返信

908件の閲覧回数
OlivierG
Contributor III

Hi

 

I must precise that the display is done by a MIPI / HDMI converter

IMX-MIPI-HDMI Product Information|NXP

 

Greetings

 

Olivier

 

 

0 件の賞賛
返信

846件の閲覧回数
OlivierG
Contributor III

Latency is due to a CPU rate that is too high (75%) The acquisition is done by an OpenCV function I'm looking for why it consumes so much

0 件の賞賛
返信