Code Monkey home page Code Monkey logo

intresignia's Introduction

Intresignia

CircleCI

Status

  • Verson 0.0.1beta [Deprecated]-> Detection done.
  • Verson 0.0.2beta [Deprecated]-> Improved magnificantly, with a lot of stuff added, including preliminary classification and loads of parameters.
  • Verson 0.0.3beta [Current]-> Recognition and Classification.

Quick Test

Test 0.0.3beta here:

Open In Colab

What is this?

This is a Python package that uses color thresholding and other classical vision methods through OpenCV to detect a subset of intredit (prohibition) traffic signs. It will detect and classify any sign that is red.

How to Use?

  1. This package is not hosted on PyPi so don't try installing it with pip like that. Just do this:
python3.10 virtualenv venv
source venv/bin/activate (on Linux) or venv/vin/activate.ps1 (Windows)
python3.10 pip install git+https://github.com/chubek/intresignia.git

This will install the package. Mind you that you need to install Python 3.10. It does not use any of its feaures yet but it will pretty soon.

  1. Create a new Python file and:
from intresignia import Settings, intresignia_detect
import cv2
from pprint import pprint

st = Settings()

det, ssim_scores, coords, color_isolated = intresignia_detect("/path/to/img.png", st)

pprint(ssim_scores)
pprint(coords)


cv2.imshow('Detected Signs', det)
cv2.waitKey(0)
cv2.destroyAllWindows()

An exhaustive list of settings + grid search to find the best params using grid_search.py will be added to this readme pretty soon. Meanwhile please use the help(Settings).

Any questions regarding this library should be directed at Chubak#7400.

intresignia's People

Contributors

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