Ask Your Question

chriszuma's profile - activity

2019-01-21 21:25:03 -0500 received badge  Nice Question (source)
2018-12-25 10:08:37 -0500 received badge  Famous Question (source)
2018-09-01 03:23:54 -0500 received badge  Nice Question (source)
2017-01-18 02:21:32 -0500 received badge  Notable Question (source)
2016-06-02 00:26:08 -0500 received badge  Famous Question (source)
2015-08-09 09:09:29 -0500 received badge  Popular Question (source)
2015-01-12 00:07:34 -0500 received badge  Notable Question (source)
2014-06-02 06:23:58 -0500 received badge  Popular Question (source)
2014-04-01 03:52:40 -0500 received badge  Nice Question (source)
2012-12-06 14:16:41 -0500 answered a question How to display fullscreen in Python on Linux? (setWindowProperty doesn't work)

Seriously? Is there no answer to this? I really don't want to change imaging libraries at this point over something so trivial.

Come on. Anyone?

2012-12-05 14:59:59 -0500 asked a question How to display fullscreen in Python on Linux? (setWindowProperty doesn't work)

This seems like it should be very simple, but I can't find any explanation of how to do it. I tried these and neither worked:

cv2.setWindowProperty("display",cv.WND_PROP_FULLSCREEN, cv.WINDOW_FULLSCREEN)
cv2.setWindowProperty("display",cv2.WND_PROP_FULLSCREEN, cv2.WINDOW_FULLSCREEN)

I just keep getting this error message: AttributeError: 'module' object has no attribute 'WND_PROP_FULLSCREEN'

2012-11-01 15:36:43 -0500 asked a question Is there a faster way to display video than NamedWindow and WaitKey? (Linux)(Python)

I'm working on a real-time video processing application, and I need as little latency as possible. I'm suspicious that the standard namedWindow and waitKey solution is adding delay, because there is about 100ms of lag when it should be closer to 30. Also it is a bit superfluous because my application will be run on a system with no keyboard. It seems to take a lot of CPU power to display too, which I would like to cut down if possible.

So is there a faster/less CPU-intensive way to display my video feed? Something like DirectX, but on Linux?


2012-11-01 02:03:03 -0500 received badge  Teacher (source)
2012-10-31 07:55:53 -0500 commented answer Is OpenCV in C++ or C significantly faster than python?

How does one actually add SSE or NEON optimization? Do I have to recompile OpenCV from source, or do something to my code?

2012-10-30 22:01:25 -0500 received badge  Student (source)
2012-10-30 13:47:32 -0500 asked a question Is there a way to make VideoWriter use the MKV container?

I know this is kind of a stretch because VideoWriter is so basic, but I would like to use the MKV (Matroska) video container format. It is nicer for our application because each frame is timestamped, and our framerate is not always constant. The AVI or MPEG files like to assume a constant framerate so the video speeds up and slows down if it's not encoded at exactly that framerate.

Does anyone know of a way to make this happen? Or if there's a better solution to my problem?


2012-10-30 12:04:22 -0500 answered a question Opencv 2.4 : which language should i choose?

I would advocate using whatever language you are most comfortable with. I'm partial to Python because it takes care of a lot of the details for you. Library calls will be the same speed.

2012-10-30 12:03:16 -0500 received badge  Organizer (source)
2012-10-30 08:54:14 -0500 received badge  Supporter (source)
2012-10-30 08:54:04 -0500 received badge  Scholar (source)
2012-10-30 08:53:55 -0500 commented answer Is OpenCV in C++ or C significantly faster than python?

So is NEON or SSE better? All I'm really doing is essentially some resizing, thresholding and blob detecting based on an AOI from an external sensor. It doesn't seem like I should need an i7.

2012-10-30 08:49:22 -0500 commented answer Is OpenCV in C++ or C significantly faster than python?

Halcon is really slower? That's surprising considering they charge $700 + $200/PC for their software. I guess I'm glad I asked before I wasted a bunch of time trying to get it to work.

2012-10-29 14:49:56 -0500 received badge  Editor (source)
2012-10-29 14:43:38 -0500 asked a question What machine vision camera is easiest to use with OpenCV?

I'm pretty new to computer vision, but I am attempting to do some real-time video overlay stuff that is relatively simple. I've implemented a nice version that runs on saved videos and I'm ready to step up to our end goal of having a really nice machine vision quality camera integrated into the system.

To that end I acquired a GigE IDS uEye 5240CP and have been trying to shoehorn it into my OpenCV application with very little success. It turns out the camera doesn't use a standard communication protocol so I am messing with the pre-alpha version of an open-source python wrapper for their API. There has to be a better way.

So my question is what cameras are easiest to integrate into OpenCV? My main requirements are HD resolution, global shutter, 30fps, very low latency, and compatibility with Linux (and of course OpenCV).

Any advice in the right direction would be deeply appreciated. Thanks.

2012-10-23 13:13:58 -0500 asked a question Is OpenCV in C++ or C significantly faster than python?

Hi all,

I've been developing a real-time augmented-reality type application in Python OpenCV, and had a rather nasty surprise when I switched from my Core i7 development machine to the Atom unit that we wanted to actually use. It turned out to be nowhere near fast enough, giving me 5-10 fps where it would easily keep up with 30 fps videos on the i7.

So my question is whether porting my application to C would help at all, or if it's just that OpenCV can't handle this kind of application. When I put my app through the Python profiler almost all of the time was being spent in cv calls, and waitKey was also taking forever. Should I just give up and look at something like Halcon?

- Chris