Ask Your Question

professorguy's profile - activity

2013-09-02 15:34:31 -0600 asked a question My OpenCV program will not allow the machine to sleep

My program (which uses OpenCV) pops up a user window. I process user input, then return from my routines. My program is loaded and running, but I am waiting for user input from the OS, so none of my code is running.

At this point, I want the machine to be able to sleep. But it won't. If I close the lid of my laptop, it forces the sleep and my code recovers perfectly after sleep, so sleeping while waiting for the user is no problem.

But my machine won't sleep. What is it about the OpenCV library that won't allow a sleep?

2013-01-25 16:51:17 -0600 received badge  Student (source)
2013-01-23 11:14:44 -0600 asked a question Is gone forever or is there just a hosting problem? cannot be resolved in this neck of the internet. Where did it go?

2012-12-31 09:43:30 -0600 answered a question Wrong resolution (video capture)

I can say that I'm using the Logitech C920 with OpenCV and I'm getting 1920 by 1080 frames out of it without issue. In fact, if you take only a single frame, you can go all the way to 2304 by 1536 with the C920 camera. I'm not sure why it fails when the grabber.grab's come in a faster clip, but it does manage to auto-change down to 1920x1080 and work correctly. The internals of this decision are opaque to me. The upshot: you should be good for 1920 x 1080.

I think the problem here is the the rows and columns are NOT the same as the number of pixels, there's some grouping of pixels to make up a column. Look more closely at those calculations.

2012-12-31 09:32:48 -0600 asked a question How to display live image in application?

I am actually using JavaCV (which is supposed to be a transparent port of OpenCV), but if you can answer my general question here, that'll help me. My simple question is "How do I display a live image from a webcam?"

In JavaCV there's an object for displaying a live webcam image called CanvasFrame which WORKS GREAT and is TOTALLY USELESS. It is useless because it lives in its own window and cannot be integrated with your UI. So I'm looking for a replacement and am hoping I can translate the typical C++ way of using OpenCV for displaying a live image.

How is a live image integrated with your application in OpenCV?

2012-10-30 09:23:14 -0600 asked a question Prebuilt windows dlls? No bin folder!

So there's no windows dlls. No problem, I'll just quit my job and spend the next year downloading, installing and configuring the 35 utilities required just to do a successful make.

When I got to the TWENTIETH PAGE of make instructions, I tagged out. Thanks anyway.

Let me know when someone has posted a dll. Until then, I'm using lti-civil.