Re: Digest for ctypes-opencv@googlegroups.com - 2 Messages in 1 Topic

6 views
Skip to first unread message

André Caron

unread,
May 12, 2011, 3:44:22 PM5/12/11
to ctypes...@googlegroups.com
Thanks for the hints.  In the meantime, I discovered OpenCV's own Python bindings, which are extensively documented.  I was able to translate key parts of my code using the official bindings very quickly and thus decided to use those instead.

Thanks for the help.
André

On Thu, May 12, 2011 at 2:46 PM, <ctypes-ope...@googlegroups.com> wrote:

Group: http://groups.google.com/group/ctypes-opencv/topics

    "André Caron" <andre....@gmail.com> May 11 09:43AM -0700 ^
     
    Hi,
     
    I've just found out about PyOpenCV and I think it looks promising!
    I'm porting some MATLAB code to OpenCV and I'm quite fond of Python.
    This project requires blob detection using connected components
    analysis, amongst other things. I found a tutorial for blob detection
    in OpenCV (http://opencv.willowgarage.com/wiki/cvBlobsLib) but I can't
    find the corresponding classes/functions in PyOpenCV.
     
    So far, I've located the "pyopencv.creatgeBlobDetectorCC()" and its
    "DetecNewBlob" method, but I'm at a loss as to how I need to call it.
    Has anyone tried to implement blob detection using PyOpenCV? Are
    there any test cases or something that I can look at?
     
    Thanks,
    André

     

    <jc.b...@alliancevision.com> May 12 09:08AM +0200 ^
     
    Hi André,
     
    You can also use the "Contours" fonctions of OpenCV ("findContours", then
    "arcLength", "contourArea", "boundingRect", "minAreaRect",
    "minEnclosingCircle", "fitEllipse"...). Contours will also allow you to
    measure blob holes.
    There are also some interesting functions in the
    "scipy.ndimage.measurements" and "scipy.ndimage.morphology" modules.
     
    As sometimes OpenCV returns strange measurements with very small blobs (null
    perimeters and aeras),
    i have developped my own functions, which are a "mix" of "pyopencv" and
    "scipy.ndimage"
     
    Best Regards.
     
    JC BENOIT
     
     
    ----- Original Message -----
    From: "André Caron" <andre....@gmail.com>
    To: "ctypes-opencv" <ctypes...@googlegroups.com>
    Sent: Wednesday, May 11, 2011 6:43 PM
    Subject: Help on blob detection
     
     
    Hi,
     
    I've just found out about PyOpenCV and I think it looks promising!
    I'm porting some MATLAB code to OpenCV and I'm quite fond of Python.
    This project requires blob detection using connected components
    analysis, amongst other things. I found a tutorial for blob detection
    in OpenCV (http://opencv.willowgarage.com/wiki/cvBlobsLib) but I can't
    find the corresponding classes/functions in PyOpenCV.
     
    So far, I've located the "pyopencv.creatgeBlobDetectorCC()" and its
    "DetecNewBlob" method, but I'm at a loss as to how I need to call it.
    Has anyone tried to implement blob detection using PyOpenCV? Are
    there any test cases or something that I can look at?
     
    Thanks,
    André
     
    --
    You received this message because you are subscribed to the Google Groups
    "ctypes-opencv" group.
    To post to this group, send email to ctypes...@googlegroups.com.
    To unsubscribe from this group, send email to
    ctypes-openc...@googlegroups.com.
    For more options, visit this group at
    http://groups.google.com/group/ctypes-opencv?hl=en.

     

--
You received this message because you are subscribed to the Google Groups "ctypes-opencv" group.
To post to this group, send email to ctypes...@googlegroups.com.
To unsubscribe from this group, send email to ctypes-openc...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ctypes-opencv?hl=en.

Reply all
Reply to author
Forward
0 new messages