Ask Your Question

kevin's profile - activity

2018-10-25 02:20:18 -0600 received badge  Taxonomist
2016-08-03 13:53:24 -0600 received badge  Good Question (source)
2016-03-18 13:10:43 -0600 received badge  Guru (source)
2016-03-18 13:10:43 -0600 received badge  Great Answer (source)
2014-09-11 03:49:27 -0600 received badge  Nice Question (source)
2014-05-11 06:28:44 -0600 commented question How to get better results with OpenCV face recognition Module

Did you ever improve the performance?

2014-04-24 16:42:10 -0600 received badge  Critic (source)
2013-12-17 00:20:18 -0600 received badge  Enlightened (source)
2013-12-17 00:20:18 -0600 received badge  Good Answer (source)
2013-07-13 14:01:55 -0600 received badge  Nice Answer (source)
2012-12-02 20:51:47 -0600 answered a question imencode & imdecode in iOS

Does the error have something to do with jpeg? Do you need to link to libjpeg maybe? I haven't really done any iOS programming, so not sure if that lib is already included.

2012-09-25 20:55:07 -0600 answered a question openTLD, openCV, and Mac 10.8.1

I downloaded this version and it compiled and worked no problem on OSX 10.8.2.

2012-08-31 21:46:08 -0600 answered a question Using Open CV with a Network IP Camera

This has been answered already here.

2012-08-31 21:39:19 -0600 answered a question cv::KalmanFilter some questions

Take a look at how Kalman filters work and note there is a pre-state (a priori) and a post state (a posteriori). The post state is the estimate which is a combination of the pre-state and a residual multiplied by the Kalman gain.

2012-07-15 20:55:25 -0600 answered a question Using Hue and Saturation to calculate Backprojection of an object

Try the OpenCV 2 Cookbook ... there are some good examples in there.

Also, when you download the OpenCV source code, take a look at the camshiftdemo.cpp samples/cpp subfolder. That is a histogram example.

2012-07-15 20:51:39 -0600 commented answer Using Hue and Saturation to calculate Backprojection of an object

Unfortunately that book documents the old C way and not the newer 2.0.

2012-07-13 08:03:14 -0600 received badge  Famous Question (source)
2012-07-12 20:16:41 -0600 commented question What's the best way to segment different coloured blobs?

Is your application real objects captured by a camera or synthetic circles like the example image?

2012-07-12 19:40:00 -0600 received badge  Autobiographer
2012-07-12 19:21:39 -0600 received badge  Scholar (source)
2012-07-12 19:12:52 -0600 received badge  Supporter (source)
2012-07-09 05:41:27 -0600 received badge  Notable Question (source)
2012-07-09 05:41:27 -0600 received badge  Popular Question (source)
2012-07-06 03:32:50 -0600 received badge  Self-Learner (source)
2012-07-06 03:32:50 -0600 received badge  Teacher (source)
2012-07-06 03:32:39 -0600 received badge  Student (source)
2012-07-05 12:32:23 -0600 answered a question How do I access an IP Camera?

You need to compile OpenCV with ffmpeg support. This works on OSX Lion with a D-Link camera.

#include <stdio.h>
#include <opencv2/opencv.hpp>
#include <iostream>

int main(int, char**) {
    cv::VideoCapture vcap;
    cv::Mat image;

    // This works on a D-Link CDS-932L
    const std::string videoStreamAddress = "http://<username:password>@<ip_address>/video.cgi?.mjpg";

    //open the video stream and make sure it's opened
    if(!vcap.open(videoStreamAddress)) {
        std::cout << "Error opening video stream or file" << std::endl;
        return -1;
    }

    for(;;) {
        if(!vcap.read(image)) {
            std::cout << "No frame" << std::endl;
            cv::waitKey();
        }
        cv::imshow("Output Window", image);
        if(cv::waitKey(1) >= 0) break;
    }   
}
2012-07-05 12:28:00 -0600 asked a question How do I access an IP Camera?

How do I get the images off of an IP camera that streams motion jpegs (mjpeg)?