Author Topic: BLOB DETECTION ALGORITHM.....VIDEO  (Read 8406 times)

0 Members and 1 Guest are viewing this topic.

Offline superchikuTopic starter

  • Supreme Robot
  • *****
  • Posts: 952
  • Helpful? 5
  • cooll
BLOB DETECTION ALGORITHM.....VIDEO
« on: March 31, 2009, 02:47:19 AM »
hey guys thanks to u ppl i was able to develop this simple blob detection algorithm which is fairly accurate and can serve any general purpose....enjoy the video and the song

[youtube]yXsVUuh_Frs[/youtube]
« Last Edit: March 31, 2009, 03:00:35 AM by superchiku »
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline superchikuTopic starter

  • Supreme Robot
  • *****
  • Posts: 952
  • Helpful? 5
  • cooll
Re: BLOB DETECTION ALGORITHM.....VIDEO
« Reply #1 on: March 31, 2009, 11:01:18 AM »
cheerio...i jst improvedthe algo..the accuracy is better now...
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline offy

  • Supreme Robot
  • *****
  • Posts: 340
  • Helpful? 1
Re: BLOB DETECTION ALGORITHM.....VIDEO
« Reply #2 on: March 31, 2009, 11:37:45 AM »
nice, very very nice. I have a few questions about it though. If there is only 2 blobs, will it only show blue and green? Does it have to be that exact color red?

Offline superchikuTopic starter

  • Supreme Robot
  • *****
  • Posts: 952
  • Helpful? 5
  • cooll
Re: BLOB DETECTION ALGORITHM.....VIDEO
« Reply #3 on: March 31, 2009, 11:49:14 AM »
yes it will show blue and green only..... actually i designed it for red blobs..but the code only needs minor modifications for blobs of any other colour...like only changing an array index value...
« Last Edit: March 31, 2009, 12:03:45 PM by superchiku »
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline offy

  • Supreme Robot
  • *****
  • Posts: 340
  • Helpful? 1
Re: BLOB DETECTION ALGORITHM.....VIDEO
« Reply #4 on: March 31, 2009, 12:54:48 PM »
Is it hooked up to a webcam?

Offline superchikuTopic starter

  • Supreme Robot
  • *****
  • Posts: 952
  • Helpful? 5
  • cooll
Re: BLOB DETECTION ALGORITHM.....VIDEO
« Reply #5 on: March 31, 2009, 12:57:39 PM »
ya video processing...
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline offy

  • Supreme Robot
  • *****
  • Posts: 340
  • Helpful? 1
Re: BLOB DETECTION ALGORITHM.....VIDEO
« Reply #6 on: March 31, 2009, 01:00:50 PM »
Can I have the code so I can try it out?

Offline superchikuTopic starter

  • Supreme Robot
  • *****
  • Posts: 952
  • Helpful? 5
  • cooll
Re: BLOB DETECTION ALGORITHM.....VIDEO
« Reply #7 on: March 31, 2009, 01:03:52 PM »
its in opencv sure u can have t ..if u have yahoo messenger then give me ur id ..ill addd  and send u
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline luiyl

  • Jr. Member
  • **
  • Posts: 9
  • Helpful? 0
Re: BLOB DETECTION ALGORITHM.....VIDEO
« Reply #8 on: April 16, 2009, 09:01:08 AM »
hi can i have to code as well..
 
i manage to try out the sample in opencv which detect reb image. i wada to learn to add blob and track it.

please sent to [email protected]

thanks.. :)

Offline superchikuTopic starter

  • Supreme Robot
  • *****
  • Posts: 952
  • Helpful? 5
  • cooll
Re: BLOB DETECTION ALGORITHM.....VIDEO
« Reply #9 on: April 16, 2009, 10:06:15 AM »
i detected sum bugs with the code...i need to add sum extra filtering to it...if u still need it then ill give u
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline luiyl

  • Jr. Member
  • **
  • Posts: 9
  • Helpful? 0
Re: BLOB DETECTION ALGORITHM.....VIDEO
« Reply #10 on: April 16, 2009, 08:29:44 PM »
yup.. thanks.. :)

Offline superchikuTopic starter

  • Supreme Robot
  • *****
  • Posts: 952
  • Helpful? 5
  • cooll
Re: BLOB DETECTION ALGORITHM.....VIDEO
« Reply #11 on: April 17, 2009, 03:14:58 AM »
ok ill send the code to ur email...correct the bugs.. .
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline luiyl

  • Jr. Member
  • **
  • Posts: 9
  • Helpful? 0
Re: BLOB DETECTION ALGORITHM.....VIDEO
« Reply #12 on: April 29, 2009, 11:01:02 PM »
hello..

i have yet to receive to code.. can you help me send again..

[email protected] or [email protected]

thanks.. :)
« Last Edit: April 29, 2009, 11:06:49 PM by luiyl »

Offline ehernandezd

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
Re: BLOB DETECTION ALGORITHM.....VIDEO
« Reply #13 on: May 19, 2009, 07:19:33 PM »
could you send me the code? greetings from Colombia

Offline jakx12

  • Robot Overlord
  • ****
  • Posts: 183
  • Helpful? 2
Re: BLOB DETECTION ALGORITHM.....VIDEO
« Reply #14 on: June 02, 2009, 01:51:05 PM »
very nice :)
Need help with an algorithm or a maths related problem? Ill be glad to help :)

Offline luiyl

  • Jr. Member
  • **
  • Posts: 9
  • Helpful? 0
Re: BLOB DETECTION ALGORITHM.....VIDEO
« Reply #15 on: July 22, 2009, 01:13:26 AM »
hi guys, i receive some error while trying to compile the above sample code, has it got to do with the initial declaration??


   int height1=hw->height;
   int width1=hw->width;


warning C4244: 'argument' : conversion from 'float' to 'int', possible loss of data


//finding centre of gravity...
   for(float i=0;i<height1;i++)
   {
      for(float j=0;j<width1;j++)
      {
       s=cvGet2D(hw,i,j);  ******** error is here******************
       if(s.val[2]>120)
       {
         xcounter++;
         ycounter++;
         xpixel+=j;
         ypixel+=i;
       }
   }

Offline night_soul

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: BLOB DETECTION ALGORITHM.....VIDEO
« Reply #16 on: April 12, 2010, 07:05:24 AM »
Hello may i have the code also?

[email protected]

Thank you very much

 


Get Your Ad Here