Ask Your Question

SiberianRob's profile - activity

2020-10-21 14:14:01 -0600 received badge  Student (source)
2020-10-21 14:13:56 -0600 marked best answer Sleep (or equivalent) vs waitKey

I am using c++ in opencv 4.2.0 and would like to start with three threads. two threads to manage one camera each and another to manage commands from the user. I noticed that just removing the WaitKey(10) section that is commonly used in favor of Sleep(10) or chrono sleep for 10 milliseconds prevents the image showing regardless of one camera or two. If I remove the WaitKey(10) from my processVideo() function it always shows a dialog box that is completely grey.

C:\fakepath\processVideo.JPG

I am not sure what is different about the Sleep (or "equivalent") function call as it seems that it should be doing the same thing I am not sure why changing one line would have this result.

2020-04-25 20:03:14 -0600 asked a question Enforce minimal curvature

Enforce minimal curvature Hello, I have a series of thin lines on an image. The line is guaranteed not to bifurcate and

2020-04-25 20:03:12 -0600 asked a question Enforce minimal curvature

Enforce minimal curvature Hello, I have a series of thin lines on an image. The line is guaranteed not to bifurcate and

2020-04-03 14:21:47 -0600 asked a question Sleep (or equivalent) vs waitKey

Sleep (or equivalent) vs waitKey I am using c++ in opencv 4.2.0 and would like to start with three threads. two threads