GithubHelp home page GithubHelp logo

flashing-lights-detection's Introduction

Flashing Lights Detection

Flashing Lights Detection is an open-source Python project that uses Python, OpenCV 2, and Numpy to scan videos for flashing lights. It returns an array of start and end timestamps for sections in a video which contain flashing lights. Hosted via Flask, it is designed to process the average HD video in only a few seconds asynchronously. This service is intended to be integrated into platforms that require user uploads to be vetted for safety.

Requirements

  • Python
  • OpenCV 2
  • Numpy
  • Flask

Installation

Before you start, ensure you have Python 3.6 or higher installed. You can check your Python version with the following command:

python --version
  1. Clone this repository.
git clone https://github.com/Merkie/Flashing-Lights-Detection.git
  1. Navigate into the project directory.
cd Flashing-Lights-Detection
  1. Install the required Python libraries.
pip install -r requirements.txt

Running the Application

  1. To start the server, run:
python app.py
  1. By default, the server runs on http://localhost:5000.

Using the Service

The service accepts video uploads via a POST request to the /upload endpoint.

Look at the index.html file for an example request, or launch it in your browser while the server is running for a basic user interface.

License

Flashing Lights Detection is open-source software licensed under the MIT license.

Contributing

We welcome contributions! Please see our Contributing Guidelines for more information.

Support

If you encounter any issues or have any questions, please open an issue in this repository.

flashing-lights-detection's People

Contributors

merkie 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.