2017-01-09 12:05:13 -0600 | commented question | Capture problem in thread Yeah. My system has Octa-core(exynos 5422 / octa-core) cpu. So I can't understand this problem. Also I got it understand your mind. never mind. Thanks. |
2017-01-09 11:56:28 -0600 | commented question | Capture problem in thread Thanks for reply. But it is same problem even if I use a VideoCapture class. Do you know why is it? |
2017-01-09 11:48:59 -0600 | received badge | ● Editor (source) |
2017-01-09 11:24:02 -0600 | asked a question | Capture problem in thread Hi. I'm try to capture a frame from webcam with parallel work in another thread. When I capture a frame without another thread, capture function works at 50~60fps. But, work with another thread even just while loop, capture function work at 20~30fps. Below is a code. Like above image you can see, when it capture a frame with another thread in first for loop, it works at 25fps. But after first for loop, Thrr() thread end(k = 1, it means Thrr() while(!k) loop end), capture function works at 55fps. Didn't any of you know why it is and how can I do for this problem. Thanks. |