Git Product home page Git Product logo

unsupervised_learning_classification's Introduction

Unsupervised Learning Classification

Programmig Language: C++/CLR

Destination:

Determination of each object using the K-Means algorithm on an image and the result of the feature extraction of each determined object is the object detection. First, an entrance image is taken and Trained. After that, "db.txt" is used for the Test process and the classification process is done.

Techniques:

  • K-Means algorithm was used for Unsupervised Learning Classification.
  • Euclidean or Mahalanobis distance calculation methods can be used for the K-means algorithm.
  • For noise reduction :
    • Mean Filter
    • Morphology -> Opening ( Erosion/Dilation )
  • Component Connectivity Analysis process is done with 8 Neighbors (Structure Element).
  • Feature extraction, 7-level moment is calculated.

Steps:

  1. Apply Mean Filter to input image
  2. KMeans algorithm apply
  3. The background of the result image is set to 0; make foreground 1 (It's now binary image)
  4. Morphology steps:
    • 4.1. Apply Erosion on Binary image
    • 4.2. Apply Dilation and Opening process completed.
  5. Object labeling is done with the Component Connectivity Analysis process.
  6. Bounding boxes are apply to labelled images (drawRectangle)
  7. TRAINING Steps:
    • 7.1. Get object name from ** TextBox **
    • 7.2. Perform Feature Extraction for each object enclosed in Bounding boxes. (7-level moment)
    • 7.3. Save in "db.txt"
  8. TEST Steps:
    • 8.2. Get moment values and object names in "db.txt"
    • 8.3. For each detected object:
      • 8.3.1. Apply Feature extraction process
      • 8.3.2. Match the values in "db.txt"
      • 8.3.3. Add the most similar objects to "RichTextBox" with their own color

Sample Screenshots

Sample 1 is lentil test

alt text

Sample 2 is lentil train

alt text

Sample 3 is many objects detection with Euclidean Distance

alt text

Sample 4 is many objects detection with Mahalonobis Distance

alt text

unsupervised_learning_classification's People

Contributors

fbasatemur avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.