mihalea / discomatic

Finding circles on live images with webcams through the use of the sobel operator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

discomatic

This is a program used to find circles in static images or images fed from a webcam using the Sobel operator and the Hough Transform. The process of finding them can be summarised as it follows:

  • Scale the image down if it is too big
  • Apply a gaussian blur using a convolution matrix to reduce noise
  • Apply the Sobel operator to find edges
  • Discard edge pixels based on a predefined threshold
  • Apply the Hough transform to find the most likely candidate for a circle using the midpoint circle algorithm to find the pixels that should be considered
  • Draw the circle on the original image

Capturing live images is done by using webcam-capture and Swing to display the images to a GUI.

Loading images from files is done by passing the folders or files as arguments when launching the binary and it will launch in text mode and process.

About

Finding circles on live images with webcams through the use of the sobel operator


Languages

Language:Java 100.0%