Damiles Blog. A computer vision, OpenCV and IT technology blog.

  • Basic OCR in OpenCV

    In this tutorial we go to create a basic number OCR. It consist to classify a handwrite number into his class. To do it, we go to use all we learn in before tutorials, we go to use a simple basic painter and the basic pattern recognition and classification with openCV tutorial.

    Read more
  • The basic patter recognition and classification with openCV

    In this tutorial we go to introduce to the pattern recognitions basics in openCV.

    In pattern recognitions before we can classificate an element we need train our system. We go to train with 3 class with 100 samples each one.

    Then we create 2 matrix trainData and traninClasses with 300 samples:

    int train_sample_count = 300;
    CvRNG rng_state = cvRNG(-1);
    CvMat* trainData = cvCreateMat( train_sample_count, 2, CV_32FC1 );
    CvMat* trainClasses = cvCreateMat( train_sample_count, 1, CV_32FC1 );

    Read more
  • Basic Painter in OpenCV

    In this basic tutorial we go to learn some basic instructions to work in OpenCV, mouse event, trackbar controler, create image, save image and draw basic circle.

    First step is create two windows, one is our canvas image, and other to color selector as we see in last tutorials.

    Read more
  • OpenCV More with cameras.

    In last tutorial we learn how to get frames of our camera, now we go to learn some basic OpenCV functions to work with our captured frames or video. There is nothing special, but it's the first steps to introduce to work with OpenCV

    Read more
  • GNUPLOT - 3d plot surface

    For 3d plot gnuplot use command splot.

    splot sin(sqrt((x*x+y*y)))/sqrt(x*x+y*y) t "weaves"

    Gnuplot surface wireframeGnuplot surface wireframe

    Read more

subscribe via RSS