All Projects → bradmontgomery → Python Laser Tracker

bradmontgomery / Python Laser Tracker

Licence: mit
A simple laser tracker using Python and OpenCV.

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Python Laser Tracker

Opencv Face Filters
Snapchat-like Face Filters in OpenCV
Stars: ✭ 51 (-16.39%)
Mutual labels:  opencv
Learningopencv
Source code for Learning OpenCV 《学习OpenCV》源码及 Mac 运行工程
Stars: ✭ 57 (-6.56%)
Mutual labels:  opencv
Catt
Detecting the temperature from an infrared image
Stars: ✭ 60 (-1.64%)
Mutual labels:  opencv
Idmatch
Match faces on id cards with OCR capabilities.
Stars: ✭ 52 (-14.75%)
Mutual labels:  opencv
Beautifulgirls
爬虫+脸部识别+DCGAN脸部自动生成
Stars: ✭ 56 (-8.2%)
Mutual labels:  opencv
Color Transfer Between Images
This is the open-source implement the paper "Color Transfer between Images" by Erik Reinhard, Michael Ashikhmin, Bruce Gooch and Peter Shirley.
Stars: ✭ 56 (-8.2%)
Mutual labels:  opencv
Nodecv
Node.js binding to OpenCV
Stars: ✭ 49 (-19.67%)
Mutual labels:  opencv
Vehicle Detection And Tracking
Udacity Self-Driving Car Engineer Nanodegree. Project: Vehicle Detection and Tracking
Stars: ✭ 60 (-1.64%)
Mutual labels:  opencv
Handgesture
基于Qt框架的手势识别程序,其中主要是用到了Opencv中的训练算法!属于本科水平的小项目,没有太完善!后期有空再弄吧!😄
Stars: ✭ 56 (-8.2%)
Mutual labels:  opencv
Opencv Mtcnn
An implementation of MTCNN Face detector using OpenCV's DNN module
Stars: ✭ 59 (-3.28%)
Mutual labels:  opencv
Flask face detection
Face detection example in Python 3 based on OpenCV and Flask
Stars: ✭ 55 (-9.84%)
Mutual labels:  opencv
Ds and ml projects
Data Science & Machine Learning projects and tutorials in python from beginner to advanced level.
Stars: ✭ 56 (-8.2%)
Mutual labels:  opencv
Overhead Camera People Counter
People counting algorithm using an overhead video camera
Stars: ✭ 58 (-4.92%)
Mutual labels:  opencv
Facifier
An emotion and gender detector based on facial features, built with Python and OpenCV
Stars: ✭ 52 (-14.75%)
Mutual labels:  opencv
Head Pose Estimator.caffe
Head Pose Estimator on Caffe
Stars: ✭ 60 (-1.64%)
Mutual labels:  opencv
Pdf Table
Java utility for parsing PDF tabular data using Apache PDFBox and OpenCV
Stars: ✭ 50 (-18.03%)
Mutual labels:  opencv
Rpindvi
Raspberry PI NDVI Code
Stars: ✭ 57 (-6.56%)
Mutual labels:  opencv
Mhxy
tensorflow实践:梦幻西游人物弹窗识别
Stars: ✭ 60 (-1.64%)
Mutual labels:  opencv
Colorfilters
Image thresholding in multiple colorspaces.
Stars: ✭ 60 (-1.64%)
Mutual labels:  opencv
Dokai
Collection of Docker images for ML/DL and video processing projects
Stars: ✭ 58 (-4.92%)
Mutual labels:  opencv

python laser tracker

This is a OpenCV application that applies filters in order to track specific HSV ranges. By default, it tracks a red laser pointer, but it is modular and you can track about whatever you want.

Requirments

This requires Python2 and the Python wrapper for OpenCV. It was tested on GNU/Linux distributions and Mac OS X.

Usage

Run python laser_tracker/laser_tracker.py -h for help on the available command-line parameters.

Range for each HSV components: - hue: [0, 180] - saturation: [0, 255] - value: [0, 255]

About the code

The code performs the following steps, and displays the results in several windows. The general idea is to:

  1. Grab the video frame.
  2. Convert it to HSV
  3. Split the frame into individual components (separate images for H, S, and V)
  4. Apply a threshold to each compenent (hopefully keeping just the dot from the laser)
  5. Perform an AND operation on the 3 images (which "should" cut down on false positives)
  6. Display the result.

The filtering part is done using successive thresholding <http://docs.opencv.org/modules/imgproc/doc/miscellaneous_transformations.html?highlight=threshold#threshold>_

.. image:: img/filtering.png

License

This code is MIT-licensed. You can basically do whatever you want with it.

Contributing

Any suggestions, bug reports, or pull requests are welcome! If there's something I should be doing differently, here, feel free to open an Issue and let me know.

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