Friday, February 1, 2013

How to add Slider or Trackbar to a cvWindow

0 comments
    You might have seen my previous post regarding the HSV values extraction. That code used Sliders to vary the value of the parameter passed to the thresholding algorithm. In this post, we are going to learn ahow to add a Slider or Trackbar to a cvWindow. the function below will create and add a trackbar to the window "Output"   cvCreateTrackbar("LowHue", "Output", &lowHue, max, onLowHue); you see here five arguments to the function. "LowHue" - it is a string, used as caption on the cvWindow above the Trackbar. something like a name for the trackbar. "Output"...
Read more ►

HSV trainer

1 comments
    This code snippet extracts the lower and higher bound HSV values for the object of interest.   Code Listing #include<stdio.h> #include<cv.h> #include<highgui.h> int max = 255; int lowHue = 10 ; int lowSat = 0 ; int lowVal = 0 ; int highHue = 100 ; int highSat = 255 ; int highVal = 255 ; void onLowHue ( int value ) { lowHue = value ; } void onLowSat ( int value ) { lowSat = value ; } void onLowVal ( int value ) { lowVal = value ; } void onHighHue ( int value ) { highHue = value ; } void onHighSat ( int value ) { highSat = value ; } void...
Read more ►

Second Review - Report

0 comments
   Well, the second review went very well.We have showed the program that tracks the ball. Before the review, we tested the code with the images of same ball at different environments. WHITE is a major villain in HSV space. So we tried with different colored environments. Actually only three backgrounds. The Hue values almost remained the same. So it was easy to extract the position of the ball.    We used this snippet, for extracting the HSV values for training(what we call it) the code for object detection. Just before the review started, we shot another video of the...
Read more ►

Thursday, January 31, 2013

Second Review

0 comments
Tomorrow comes the second review. Prepared report and planned to show, Controlling of locomotion of the bot through Android. Tracking the ball, in video input. Ooh. I didn't tell you anything about the bot, right? wait-up until the review is over. I'll reveal the story. Time to be...
Read more ►

Tuesday, January 29, 2013

Vision Implementation Part-I

1 comments
This is first post in this series. Vision Implementation.    Our image processing approach uses simple filters, morphological operation and few transforms for object detection from  OpenCV library. OpenCV comes with very high level object detection and segmentation algorithms. But there is a reason why we use simple operations.     i. For using high level features extractors and classifiers, the object must have considerable amount of texture. i.e corners, edges, gradients etc. in our case the ball does not have much texture on it.   ii. To use classifiers,...
Read more ►

Tuesday, January 22, 2013

PCB designs

0 comments
     After the struggling with standard arduino boards and shields, we decided to design our own PCBs for use with the bot, and here are those... the design may be changed in near future based are requirements...     ...
Read more ►
 

Copyright © 2025 Project Athena Design by O Pregador | Blogger Theme by Blogger Template de luxo | Powered by Blogger