2016-09-02 05:16:28 -0600 | asked a question | How to show OpenCV video in OpenGL window Hello, I'm looking for the way to show in a openGL window the video signal that I'm capturing from my ip camera with openCV. The reason that I need this is, because when the openGL window is activated I can send HTTP commands to my camera to move it with keyboard cursos. I show you my code below, both OpenCV and OpenGL work perfectly independent, but I would like to integrate both. So you can see the video signal while you are moving it. Can you let me know how I can do this. I'm very new with OpenGL and OpenCV. Thanks in advance. (more) |
2016-08-26 04:43:39 -0600 | asked a question | face tracking with ip camera Hello everyone, I'm new with opencv and I'm developing an opencv project to performance a face detection. I have already reached the face detection with my axis ip camera but now, I would like to track the camera to the posittion of the face marker in the opencv window, when the user is moving around. So what I want to do is: continuously check if the face detection marker(an ellipse) is centered in the image showed and if it's not centered, move the camera(sending the proper HTTP command to the camera). My question is : Is there any way to check if the ellipse marker of the face detection is centered in the image showed?? Thanks in advance!! |
2016-08-19 07:41:11 -0600 | answered a question | How do I access an IP Camera? I'm new in this forum so first of all: Hi everyone and thanks in advance for your help. I'm currently developing a c++ project (Xcode project over mac osx) with opencv to process an "axis v59" ip camera. I have problems to connect my aplicattion with the camera. This is the code I'm using: cv::VideoCapture camera; camera.open("http://192.168.0.90/axis-cgi/mjpg/video.cgi"); if (camera.isOpened()==true) { cv::namedWindow("camera"); int key = 0; while (key != 27) { cv::Mat_<cv::vec3b> image; camera.grab(); camera.retrieve(image); cv::imshow("camera",image); key = cv::waitKey(10); When I execute the code I obtain this: "WARNING: Couldn't read movie file http://192.168.0.90/axis-cgi/mjpg/vid... The camera is configurated to not need user and password for viewer login. I have tried to recibe that url from VLC and from my browser and it works perfectly. Do you have any idea of wha I'm doing wrong?? Thanks!! |