Git Product home page Git Product logo

gmm-em_4_multivarient's Introduction

GMM-EM_4_Multivarient

1D and 3D gaussian Mixture model

The Folder "Codes" contains the following:

Steps to run the code

1.Extract Project2_ENPM673 folder on desktop

Following is the description of the folder structure and the codes:

Data Preparation:

This contains:

  1. LAB images

  2. Cropped images - Green_new,Red_new,Yellow_new

  3. click.py - This is the code that was used to convert the image frames into LAB colour space and generate the cropped images.

1D_detection_gaussian:

  1. 1D.py - This code generates the 1D buoy detection video and also plots the gaussians of the respective buoys.

  2. EM_green.py - This generates the optimum values of means and variances for the Green buoy using the Green_new images using EM algo

  3. EM_red.py - This generates the optimum values of means and variances for the Red buoy using the Red_new images using EM algo

  4. EM_yellow_green.py - This generates the optimum values of means and variances for the yellow buoy using the Green_new images using EM algo

  5. EM_yellow_green.py - This generates the optimum values of means and variances for the yellow buoy using the Red_new images using EM algo

3D_Detection:

  1. 3D_detection.py - This detects the buoys using the optimum means and variances obtained using the Em algo.

This has a folder Circle_detection_green in which the code Green_detection.py is the optimized code for detection of green channel.

3D_gaussian:

Each folder contains the implementaion of EM algo for each buoy for its respective channel training images

Note: All the probabilites are multiplied by the constant 100000. This is only for visualization purpose. It has anyways been normalized later.

Link with output videos: https://drive.google.com/drive/u/0/folders/1vEHi9kKYj8Pyllbr7qTmfpCv9TX3xPRd

!!! Thank You !!!

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.