Menu

#563 Player SVN trunk: new searchpattern blobfinder driver

Release-3.0
closed-accepted
Player (393)
5
2010-05-03
2010-03-03
No

This patch adds something that I worked out many years ago but still it is nice piece of work. It can look on the camera image for patterns given like these two:
patterns ["(0x00ff0000 (black (white (black) (black (white)))))" "(0x0000ff00 (black (white) (white (black))))"]
Each s-expression (LISP-style list) describes how black and white blobs on camera image are related (for example one white blob contains two black blobs). Shape, size and position of searched patterns are not a matter here (actually, minimal size of a region is a property value that can be increased to eliminate noise).
Before processing, camera image is thresholded so it searches all black and white (0 vs 255) image. This patch contains example config file and example postscript file with two example shapes that should be easily found by patterns given in example config file.

Discussion

  • Paul Osmialowski

    This is updated patch as I've found nasty bug in cmake secs for this driver.

     
  • Toby Collett

    Toby Collett - 2010-05-03

    The changes have been made in SVN trunk.
    Thank you for your contribution.

     
  • Toby Collett

    Toby Collett - 2010-05-03
    • status: open --> closed-accepted
     

Log in to post a comment.