PDA

View Full Version : QConcurrent::Run vs QThread



Andrea Landi
31st May 2011, 10:34
Hello...I can't get the difference between these...which one is better?

I am building a GUI which performs real time image processing on frames captured by camera and shows the processed frames. I want to perform image processing and visualization without freezing the GUI and using all computational power available.

I was thinking to create two different threads...one for capturing frames from the webcam and another to process the frames...is this a correct approach?

Thanks

wysota
31st May 2011, 10:55
Hello...I can't get the difference between these...which one is better?
Which is better? A hammer or an elephant?


I am building a GUI which performs real time image processing on frames captured by camera and shows the processed frames. I want to perform image processing and visualization without freezing the GUI and using all computational power available.

I was thinking to create two different threads...one for capturing frames from the webcam and another to process the frames...is this a correct approach?


Keeping the GUI Responsive