 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Andy Guest
|
Posted: Sat Oct 29, 2005 5:09 am Post subject: Object recognition in an image |
|
|
Is there a toolkit, component or code that can allow object recognition
in an image, given the size, shape, color, etc. of the object? I would like
to then draw polygon lines on the detected objects, much like an edge
detection but specifically for the object.
Thanks for any help or resource for this in advance.
Andy
|
|
| Back to top |
|
 |
Nils Haeck Guest
|
Posted: Sat Oct 29, 2005 6:34 am Post subject: Re: Object recognition in an image |
|
|
Hi Andy,
This process consists of thresholding and segmentation.
First of all, you threshold your image for the certain color you're looking
for. You can do that by creating a map where all pixels with a color too
much different from your target color are set to 0 and all pixels close
enough set to 1. You could also use intermediate values (grayscales) to
denote the closeness.
Then, you segmentate your map. This process finds "blobs" that are connected
areas in your map.
The final step is to select the blobs that are of the right shape. The
easiest of course is to analyse the blobs width/height properties (or in
other words, you match the rectangles around the blobs).
I have all sources for this available (I use them in multiple projects)
however they are not free. If you're interested, you can contact me for
pricing. Especially the segmentation class I wrote is extremely fast.
Nils
www.simdesign.nl
"Andy" <andy (AT) nospam (DOT) com> schreef in bericht
news:436303f0 (AT) newsgroups (DOT) borland.com...
| Quote: | Is there a toolkit, component or code that can allow object recognition
in an image, given the size, shape, color, etc. of the object? I would
like
to then draw polygon lines on the detected objects, much like an edge
detection but specifically for the object.
Thanks for any help or resource for this in advance.
Andy
|
|
|
| Back to top |
|
 |
Boian Mitov Guest
|
Posted: Sat Oct 29, 2005 8:32 am Post subject: Re: Object recognition in an image |
|
|
Hi Andy,
Take a look at VisionLab 2.2 Beta 2 at www.mitov.com . It has new
FindContour component added that may do the job. It will detect contours
in the image, and will return them as list of segments. You can compare
the list against a recorded shape. If the component is not sufficient,
please let me know as I am working on number of new components for the
next release - Face recognition, Movement direction detection, and more.
I may have some pre-release stuff for you.
With best regards,
Boian Mitov
Andy wrote:
| Quote: | Is there a toolkit, component or code that can allow object recognition
in an image, given the size, shape, color, etc. of the object? I would like
to then draw polygon lines on the detected objects, much like an edge
detection but specifically for the object.
Thanks for any help or resource for this in advance.
Andy
|
|
|
| Back to top |
|
 |
Jens Gruschel Guest
|
Posted: Sat Oct 29, 2005 10:09 am Post subject: Re: Object recognition in an image |
|
|
| Quote: | Is there a toolkit, component or code that can allow object recognition
in an image, given the size, shape, color, etc. of the object? I would like
to then draw polygon lines on the detected objects, much like an edge
detection but specifically for the object.
|
It very much depends on what kind of object you want detect?
Normally it's either done by finding edges (Sobel operator or some other
edge detection algorithm), or by finding regions of similar color (use
some threshold operator, maybe after analyzing the histogram if color
can vary, maybe followed by dilation / erosion or other operators to
close holes). Following link might be interesting, even if it isn't a
Delphi product (but can be used from Delphi AFAIK):
http://www.mvtec.com/ (look for HALCON)
Jens
--
Jens Gruschel
http://www.pegtop.net
|
|
| Back to top |
|
 |
jacques oberto Guest
|
Posted: Sat Oct 29, 2005 10:58 am Post subject: Re: Object recognition in an image |
|
|
"Boian Mitov" <mitov (AT) mitov (DOT) com> a écrit dans le message de news:
436333b5$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Hi Andy,
Take a look at VisionLab 2.2 Beta 2 at www.mitov.com . It has new
FindContour component added that may do the job. It will detect contours
in the image, and will return them as list of segments. You can compare
the list against a recorded shape. If the component is not sufficient,
please let me know as I am working on number of new components for the
next release - Face recognition, Movement direction detection, and more. I
may have some pre-release stuff for you.
With best regards,
Boian Mitov
|
Bioan,
I tried to download VisionLab 2.1 for Delphi and C++ Builder.
but it seem to contain a virus: DR/Click.Agent.FB
and my antivirus program quarantined it the whole file.
Jacques
|
|
| Back to top |
|
 |
Boian Mitov Guest
|
Posted: Sat Oct 29, 2005 5:15 pm Post subject: Re: Object recognition in an image |
|
|
Hi Jacques,
What antivirus software you use? I am using PandaSoftware, and it does
not detect anything . Can it be a false alarm of some type?
With best regards,
Boian Mitov
jacques oberto wrote:
| Quote: | Bioan,
I tried to download VisionLab 2.1 for Delphi and C++ Builder.
but it seem to contain a virus: DR/Click.Agent.FB
and my antivirus program quarantined it the whole file.
Jacques
|
|
|
| Back to top |
|
 |
Boian Mitov Guest
|
Posted: Sun Oct 30, 2005 6:43 am Post subject: Re: Object recognition in an image |
|
|
Hi Folks,
Can anyone confirm this problem? I am unable to detect a virus so far
. I have tried McCafee and Panda's ActiveScan. I also downloaded the
file to make sure there is no problem on the server side, and still
nothing has been detected .
With best regards,
Boian Mitov
jacques oberto wrote:
| Quote: | Bioan,
I tried to download VisionLab 2.1 for Delphi and C++ Builder.
but it seem to contain a virus: DR/Click.Agent.FB
and my antivirus program quarantined it the whole file.
Jacques
|
|
|
| Back to top |
|
 |
Ronaldo Souza Guest
|
Posted: Sun Oct 30, 2005 9:31 am Post subject: Re: Object recognition in an image |
|
|
Boian,
I tested the zip file with both Symantec Antivirus and McAfee VirusScan
and did NOT find anything. For obvious reasons, I did not run the setup
program and checked the installed files. Both AV programs are configured
to test all extensions, check compressed files and use heuristics.
HTH,
Ronaldo
|
|
| Back to top |
|
 |
Stef Guest
|
Posted: Sun Oct 30, 2005 9:41 am Post subject: Re: Object recognition in an image |
|
|
hi Boian,
If I search the internet,
most answers say that this message has nothing to do with a virus,
but is caused by the AV program itself.
My dailly updated Sophos couldn't detect this "virus".
The best way to be really sure is to search for the virusname
on the websites of the better AV compagnies.
Another point, the download links don't work (well) in Mozilla.
cheers,
Stef
Boian Mitov wrote:
| Quote: | Hi Folks,
Can anyone confirm this problem? I am unable to detect a virus so far
. I have tried McCafee and Panda's ActiveScan. I also downloaded the
file to make sure there is no problem on the server side, and still
nothing has been detected .
With best regards,
Boian Mitov
jacques oberto wrote:
Bioan,
I tried to download VisionLab 2.1 for Delphi and C++ Builder.
but it seem to contain a virus: DR/Click.Agent.FB
and my antivirus program quarantined it the whole file.
Jacques
|
|
|
| Back to top |
|
 |
Stef Guest
|
|
| Back to top |
|
 |
Nils Haeck Guest
|
Posted: Sun Oct 30, 2005 10:31 am Post subject: Re: Object recognition in an image |
|
|
Hi Boian,
It's probably a "false positive", this happens with AV software regularly.
What you can do is just change one or two files in your installation,
recreate it, and upload it again. The accidental signature that the AV
software found is then probably gone.
Nils
"Boian Mitov" <mitov (AT) mitov (DOT) com> schreef in bericht
news:43646bb1$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Hi Folks,
Can anyone confirm this problem? I am unable to detect a virus so far
. I have tried McCafee and Panda's ActiveScan. I also downloaded the
file to make sure there is no problem on the server side, and still
nothing has been detected .
With best regards,
Boian Mitov
jacques oberto wrote:
Bioan,
I tried to download VisionLab 2.1 for Delphi and C++ Builder.
but it seem to contain a virus: DR/Click.Agent.FB
and my antivirus program quarantined it the whole file.
Jacques
|
|
|
| Back to top |
|
 |
Anders Isaksson Guest
|
|
| Back to top |
|
 |
Anders Isaksson Guest
|
Posted: Sun Oct 30, 2005 11:49 am Post subject: Re: Object recognition in an image |
|
|
jacques oberto wrote:
| Quote: |
I tried to download VisionLab 2.1 for Delphi and C++ Builder.
but it seem to contain a virus: DR/Click.Agent.FB
and my antivirus program quarantined it the whole file.
|
I downloaded VisionLab 2.1 and checked with NOD32 Anti-virus and I didn't
get any warning on it, and it seems no-one else has found anything (yet)
with other antivus programs.
What antivirus program are you using, and what's the date of your virus
signature file? Are 'Heuristics' (or whatever it's called in your program -
detection of unknown viruses) activated?
As an example of 'false positives', during one day in June (11:th), McAfee
flagged *any* installer made with InnoSetup as containing a virus.
--
Anders Isaksson, Sweden
BlockCAD: http://web.telia.com/~u16122508/proglego.htm
Gallery: http://web.telia.com/~u16122508/gallery/index.htm
|
|
| Back to top |
|
 |
Boian Mitov Guest
|
Posted: Sun Oct 30, 2005 3:16 pm Post subject: Re: Object recognition in an image |
|
|
Thank you Anders,
Thank you! I am using InnoSetup, so it probably explains it .
Shame on McAfee .
Cheers,
Boian
Anders Isaksson wrote:
| Quote: | I downloaded VisionLab 2.1 and checked with NOD32 Anti-virus and I didn't
get any warning on it, and it seems no-one else has found anything (yet)
with other antivus programs.
What antivirus program are you using, and what's the date of your virus
signature file? Are 'Heuristics' (or whatever it's called in your program -
detection of unknown viruses) activated?
As an example of 'false positives', during one day in June (11:th), McAfee
flagged *any* installer made with InnoSetup as containing a virus.
|
|
|
| Back to top |
|
 |
Boian Mitov Guest
|
Posted: Sun Oct 30, 2005 3:17 pm Post subject: Re: Object recognition in an image |
|
|
Thank you all folks,
It appears to be a false alarm, but you can never be careful enough
. I appreciate the alarm, as it is better to check one more time
than sorry .
With best regards,
Boian Mitov
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|