All Projects β†’ gaborvecsei β†’ Color Tracker

gaborvecsei / Color Tracker

Licence: mit
Color tracking with OpenCV

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Color Tracker

Yolo Tf2
yolo(all versions) implementation in keras and tensorflow 2.4
Stars: ✭ 695 (+442.97%)
Mutual labels:  object-detection, numpy, image-processing
Computer Vision Guide
πŸ“– This guide is to help you understand the basics of the computerized image and develop computer vision projects with OpenCV. Includes Python, Java, JavaScript, C# and C++ examples.
Stars: ✭ 244 (+90.63%)
Mutual labels:  object-detection, opencv, image-processing
Marvel
Marvel - Face Recognition With Android & OpenCV
Stars: ✭ 199 (+55.47%)
Mutual labels:  object-detection, opencv, image-processing
Gocv
Go package for computer vision using OpenCV 4 and beyond.
Stars: ✭ 4,511 (+3424.22%)
Mutual labels:  hacktoberfest, opencv, image-processing
Tracking With Darkflow
Real-time people Multitracker using YOLO v2 and deep_sort with tensorflow
Stars: ✭ 515 (+302.34%)
Mutual labels:  object-detection, image-processing, tracker
Multi Object Tracker
Multi-object trackers in Python
Stars: ✭ 451 (+252.34%)
Mutual labels:  object-detection, opencv, tracker
Finger Detection And Tracking
Finger Detection and Tracking using OpenCV and Python
Stars: ✭ 317 (+147.66%)
Mutual labels:  object-detection, opencv, numpy
Vehicle counting tensorflow
🚘 "MORE THAN VEHICLE COUNTING!" This project provides prediction for speed, color and size of the vehicles with TensorFlow Object Counting API.
Stars: ✭ 582 (+354.69%)
Mutual labels:  object-detection, opencv, image-processing
Tensorflow object counting api
πŸš€ The TensorFlow Object Counting API is an open source framework built on top of TensorFlow and Keras that makes it easy to develop object counting systems!
Stars: ✭ 956 (+646.88%)
Mutual labels:  object-detection, opencv, image-processing
Automatic Leaf Infection Identifier
Automatic detection of plant diseases
Stars: ✭ 97 (-24.22%)
Mutual labels:  opencv, image-processing
Traffic Sign Detection
Traffic signs detection and classification in real time
Stars: ✭ 96 (-25%)
Mutual labels:  opencv, image-processing
Imagestitching
Conducts image stitching upon an input video to generate a panorama in 3D
Stars: ✭ 98 (-23.44%)
Mutual labels:  opencv, image-processing
Pybind11 opencv numpy
Implementation of cv::Mat conversion to numpy.array for pybind11
Stars: ✭ 96 (-25%)
Mutual labels:  opencv, numpy
Retina Features
Project for segmentation of blood vessels, microaneurysm and hardexudates in fundus images.
Stars: ✭ 95 (-25.78%)
Mutual labels:  opencv, image-processing
Sign Language Recognition
✌️ πŸ‘Œ ✊ πŸ“· Sign Language Recognition using Python
Stars: ✭ 98 (-23.44%)
Mutual labels:  opencv, image-processing
Connected Components 3d
Connected components on multilabel 3D & 2D images. Handles 26, 18, and 6 connected variants.
Stars: ✭ 90 (-29.69%)
Mutual labels:  numpy, image-processing
Is Now Illegal
🚫 A NERD protest against Trump's Immigration ban
Stars: ✭ 1,392 (+987.5%)
Mutual labels:  opencv, image-processing
Opencv Ndarray Conversion
NumPy ndarray ⇋ OpenCV Mat conversion, that just works.
Stars: ✭ 107 (-16.41%)
Mutual labels:  opencv, numpy
Seamcarving
Image processing method that allows to remove an object from a photo.
Stars: ✭ 89 (-30.47%)
Mutual labels:  hacktoberfest, image-processing
Boxdetection
A Box detection algorithm for any image containing boxes.
Stars: ✭ 104 (-18.75%)
Mutual labels:  numpy, image-processing

Codacy Badge PyPI version License: MIT Python 3 DOI

Color Tracker - Multi Object Tracker

Easy to use multi object tracking package based on colors 🎨

yellow-cruiser ball-tracking

Install

pip install color-tracker
pip install git+https://github.com/gaborvecsei/Color-Tracker.git

Object Tracker

  • Check out the examples folder, or go straight to the sample tracking app which is an extended version of the script below. This script tracks the red-ish objects, if you'd like to track another color, then start with the hsv_color_detector.py script

    $ python examples/tracking.py --help
    
    
    usage: tracking.py [-h] [-low LOW LOW LOW] [-high HIGH HIGH HIGH]
                   [-c CONTOUR_AREA] [-v]
    
    optional arguments:
      -h, --help            show this help message and exit
      -low LOW LOW LOW, --low LOW LOW LOW
                            Lower value for the HSV range. Default = 155, 103, 82
      -high HIGH HIGH HIGH, --high HIGH HIGH HIGH
                            Higher value for the HSV range. Default = 178, 255,
                            255
      -c CONTOUR_AREA, --contour-area CONTOUR_AREA
                            Minimum object contour area. This controls how small
                            objects should be detected. Default = 2500
      -v, --verbose
    
  • Simple script:

    import cv2
    import color_tracker
    
    
    def tracker_callback(t: color_tracker.ColorTracker):
        cv2.imshow("debug", t.debug_frame)
        cv2.waitKey(1)
    
    
    tracker = color_tracker.ColorTracker(max_nb_of_objects=1, max_nb_of_points=20, debug=True)
    tracker.set_tracking_callback(tracker_callback)
    
    with color_tracker.WebCamera() as cam:
        # Define your custom Lower and Upper HSV values
        tracker.track(cam, [155, 103, 82], [178, 255, 255], max_skipped_frames=24)
    

Color Range Detection

This is a tool which you can use to easily determine the necessary HSV color values and kernel sizes for you app

You can find the HSV Color Detector code here

python examples/hsv_color_detector.py

Donate β˜•οΈ

If you feel like it is a useful package and it saved you time and effor, then you can donate a coffe for me, so I can keep on staying awake for days πŸ˜ƒ

Buy Me a Coffee at ko-fi.com

About

GΓ‘bor Vecsei

@misc{vecsei2018colortracker,
      doi = {10.5281/ZENODO.4097717},
      howpublished={\url{https://github.com/gaborvecsei/Color-Tracker}},
      author = {Gabor Vecsei},
      title = {Color Tracker - Multi Object Tracker},
      year = {2018},
      copyright = {MIT License}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].