Git Product home page Git Product logo

liquid-level-detection's Introduction

Liquid Level Detector (Dynamic)

This project was developed by me in the hopes of being able to use Computer Vision via OpenCV in a way that would be able to not only determine water levels on a pre-recorded video but to also measure the water level on a live video feed, without the use of any onboard sensors and external object tracking.

Motivation:

A team of postgraduate researches at the center of Marine Research at the University of Western Australia needed a software solution that would assist in data analysis of an ROV (Remote Operated Vehicle's) depth measurements without the use of onboard sensors. This was my implementation of a solution that worked and helped reduce errors significantly.

Issues & Milestones:

-- registering shadows of water edges [fixed] -- registering different colours (with glass over) [fixed] -- registering different colors of rov model [fixed]

Prerequisites (Python)

  • cv2
  • math
  • argparse
  • imutils
  • collections

Recent Version Edits 3.21

  • Added new Gaussian Blur Values
  • Restricted Inital Video Frame Size Scope

    Contributions:

    https://github.com/iftheqhar/opencv2_python

    https://github.com/sashagaz/Hand_Detection

    https://github.com/iftheqhar/OpenCV2-Python

    https://www.geeksforgeeks.org/multiple-color-detection-in-real-time-using-python-opencv/

    https://www.pyimagesearch.com/2015/09/14/ball-tracking-with-opencv/

    https://www.pyimagesearch.com/2018/07/30/opencv-object-tracking/

    Methodology:

    I practiced detecting liquid (especially transparent ones such as water) using a wide variety of avenues. This resulted in a series of vastly differing performance reports and findings. These methods included Colour Tracking, Frame Change Detection, Gaussian Blur, Canny Edge Detection and a combination of all.

    Colour Tracking (with range):

    This method involved specifying a range of values that openCV would then start tracking. This method is a commonly used one within the scope of openCV methodologies.

    Frame Change Detection:

    You can save any file of the workspace to Google Drive, Dropbox or GitHub by opening the Synchronize sub-menu and clicking Save on. Even if a file in the workspace is already synced, you can save it to another location. StackEdit can sync one file with multiple locations and accounts.

    Results & Analysis:

    The latest version of this program runs at a very high efficiency rate, being able to accurately determine the water depth using a live video feed.

  • liquid-level-detection's People

    Stargazers

     avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

    Watchers

     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.