Home > Mobile >  Answer: Qt + OpenCV read a laptop camera ZhenZhen pictures showed on the QLabel appear stuck phenome
Answer: Qt + OpenCV read a laptop camera ZhenZhen pictures showed on the QLabel appear stuck phenome

Time:10-09


If use imshow () function opens a window display images, QLabel can also display images, if you don't use imshow () function, QLabel can't display images, appear stuck phenomenon,

CodePudding user response:

You don't click event has been let out, must be jammed!
Imshow help you rebuild the message loop, so even if you don't quit, also can show

Captured picture you want to open a thread to catch, throw image signal back to the UI

CodePudding user response:

reference 1/f, walk every step response:
you don't click event has been let out, must be jammed!
Imshow help you rebuild the message loop, so even if you don't quit, also can show

Captured picture you want to open a thread to catch, throw image signal back to the UI

Thread screenshots of how to implement? For help

CodePudding user response:

refer to the second floor Guo_Jie12138 response:
Quote: refer to 1st floor walk every step response:
click event has not let you out, must be jammed!
Imshow help you rebuild the message loop, so even if you don't quit, also can show

Captured picture you want to open a thread to catch, throw image signal back to the UI

Thread screenshots of how to implement? Help


Principle is to speak with you, to source must pay

CodePudding user response:

reference 3 floor walk every step response:
Quote: refer to the second floor Guo_Jie12138 response:

Quote: refer to 1st floor walk every step response:
you don't click event has been let out, must be jammed!
Imshow help you rebuild the message loop, so even if you don't quit, also can show

Captured picture you want to open a thread to catch, throw image signal back to the UI

Thread screenshots of how to implement? Help


Principle is to speak with you, to source must pay

Ha ha, there are 20 points

CodePudding user response:

Guo_Jie12138
reference 4 floor response:
Quote: refer to the third floor walk every step response:
Quote: refer to the second floor Guo_Jie12138 response:

Quote: refer to 1st floor walk every step response:
you don't click event has been let out, must be jammed!
Imshow help you rebuild the message loop, so even if you don't quit, also can show

Captured picture you want to open a thread to catch, throw image signal back to the UI

Thread screenshots of how to implement? Help


Principle is to speak with you, to source must pay

Ha ha, there are 20 points


Classmate, scores are cheap now, download points can exchange
To the source code for a midnight snack money at least

CodePudding user response:

Recently wrote a thread with industrial camera screenshots, oneself go upstairs brother to source, his suits you,

CodePudding user response:

I just wrote a blog, multithreading screenshots, do you go to the
The key code is

https://blog.csdn.net/yang_xiaobai/article/details/98872041
  •  Tags:  
  • Qt
  • Related