Edge detection in cocoa

Discussion in 'Mac Programming' started by vibhor80, Feb 2, 2009.

  1. vibhor80 macrumors newbie

    Jan 31, 2009
    Hey everyone,

    There are plenty of examples on the web of how to process the image.
    I want to detect any object in image(such as hand, face etc). I am unable to detect the object.
    If anyone know how to code one help would be greatly appreciated.

    Vibhor Bhatnagar
  2. Bakerman macrumors member

    Jan 31, 2005
    What do you mean by "detect"?

    There are a number of filters that you can apply that make objects, or the edges of objects, stand out more from the background. Once you've chosen a set of filters and applied them, you still have to apply an algorithm to find out where in the image your objects are located.

    Unfortunately this is not a trivial problem and you need quite a lot of a priori knowledge of the image to achieve good results.
  3. mags631 Guest

    Mar 6, 2007
    Any object? So, you are requesting for help on how to perform arbitrary object detection? Right. My first recommendation is to search for "arbitrary object detection algorithm" in Google and read. You may want to reconsider this goal -- this is not for the hobbyist.
  4. autorelease macrumors regular

    Oct 13, 2008
    Achewood, CA
    If the phrase "convolution matrix" is not familiar to you, this is probably something you shouldn't be attempting.
  5. gnasher729 macrumors P6


    Nov 25, 2005
    I guess instead of posting at MacRumors you should go to the nearest university library.
  6. vibhor80 thread starter macrumors newbie

    Jan 31, 2009
    Thanks, for your suggestion. If you have any sample example please forward to me or if you provide me small code snipped then its good for me.
  7. eddietr macrumors 6502a

    Oct 29, 2006
    "small code"??

    What you've described is by no means a small or simple thing. That's what everyone is trying to tell you.
  8. MacRohde macrumors regular


    Jun 1, 2004
    Copenhagen, Denmark
    What you are trying to do is something one might do as a thesis project - so asking us for code samples is ludicrous.

    Object recognition and segmentation is one of the big problems in image processing - not matter what you might see on TV it really is a very very hard task.

    So, if you really are interesting in it, you would have to learn a lot of image prcessing - for starters check out the chapter "Image Segmentation" in "Digital Image Processing" by Gonzalez & Woods.

Share This Page