Coder Social home page Coder Social logo

trevortrevor / swatch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nickm-27/swatch

0.0 0.0 0.0 434 KB

Color detection in images to capture presense of known objects.

License: Apache License 2.0

Python 52.26% Dart 44.76% Makefile 0.68% HTML 1.77% Dockerfile 0.52%

swatch's Introduction

Swatch icon

GitHub Release Build Status License

swatch

Color detection in images to capture presence of known objects.

Why?

There is great object and face detection software out there, but sometimes AI detection is overkill or not suitable different types of objects. Swatch was created to create an easy to use API to detect the presence of objects of known color in expected places.

In this example you can see a cropped section of the street with a trash can. Then, using expected color bounds, the parts of the image that don't match the expected color are masked away. If a significant enough amount of pixels are left that match the color then it can be considered a true positive.

street street-bounding street-mask

Features

Web UI

Color Playground

Swatch Color Playground

Configuration

A config.yaml file must be created and mapped to /config

Check out GitHub Docs for example and more instructions on creating the config file.

Adding Objects

Check out the Color Setup Docs for how to setup objects and fine the color values to use.

API References

Check out GitHub Docs for the API reference.

Contributing

Contributions are very much welcome!

For instructions on how to get started, see the contributing section

Donations

If you would like to make a donation to support development, please use GitHub Sponsors.

swatch's People

Contributors

nickm-27 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.