Ask Your Question

LKM's profile - activity

2017-10-26 10:48:58 -0500 received badge  Notable Question (source)
2017-04-14 21:23:53 -0500 received badge  Popular Question (source)
2016-03-11 08:56:14 -0500 received badge  Enthusiast
2016-03-09 05:07:23 -0500 commented question Access network video stream

Will either of these work with mac?

2016-03-09 04:58:05 -0500 commented question Access network video stream

Thanks for your response. Unfortunately I have already tried this, but I receive the message: Couldn't read movie file rtsp://192.168.240.1:5544/ph

2016-03-08 09:39:38 -0500 asked a question Access network video stream

I have designed an algorithm to analyse streaming video from built in webcam and now I want to use the same algorithm to access network streamed video, but I don't know how to change the setting to do this.

Currently I use: video_capture = cv2.VideoCapture(0) and ret, frame = video_capture.read() to read the video frames from the webcam. Is there a way to do this from a stream such as: rtsp://192.168.240.1:5544/ph. I can access this stream in vlc.

I am using opencv3 and python 2.7.

2015-10-09 12:07:53 -0500 commented question AttributeError: 'module' object has no attribute 'face'

Thanks for all of your help, I reinstalled opencv and made it again and I no longer appear to have the issue! I must of done something wrong during the build initially!

2015-10-09 11:41:21 -0500 commented question AttributeError: 'module' object has no attribute 'face'

The only difference I get when I run >>> help(cv2) is:

FILE
/usr/local/lib/python2.7/site-packages/cv2.so

Not sure if this explains anything?

2015-10-09 11:17:54 -0500 commented question AttributeError: 'module' object has no attribute 'face'

Thank you for your reply!

Sorry I should of mentioned I am using mac OS X. I ran make install. I am not sure what I am looking for, but here is the link to the output I got from doing 'print cv2.getBuildInformation()': http://pastebin.com/quNQs2qU

2015-10-09 10:43:08 -0500 received badge  Editor (source)
2015-10-09 10:20:22 -0500 asked a question AttributeError: 'module' object has no attribute 'face'

I am trying to install OpenCV with the extra modules in opencv_contrib on mac.

I have followed the instructions found here: https://github.com/Itseez/opencv_contrib but it has not worked, for example, when I try to run help(cv2.face) I get "AttributeError: 'module' object has no attribute 'face'"

When I look in opencv/build/modules I can see the face module.

I am using OpenCV 3.0.0 and Python 2.7 on mac OS X

Please can someone help me with this?

Thanks in advance!