Skip to content

A Python based skin detection system using OpenCV

License

Notifications You must be signed in to change notification settings

anujarora93/SkinDetector

 
 

Repository files navigation

SkinDetector

Build Status

This is a high-speed python based skin detection system using OpenCV, it is done using adaptive thresholding, reference papers can be found below. It is designed for processing VGA sized images in real time for Gesture Control.

Quick Start

Getting the app to run is pretty easy. This script will not install OpenCV. However to install the rest of the project dependencies and run the demo script use the following commands;

# Clone the repo
git clone https://github.com/WillBrennan/SkinDetector && cd SkinDetector
make install
python FromFile.py <directory of images> --display

Usage

import cv2
import skin_detector

img_path = raw_input("Please Enter Image Path")
image = cv2.imread(img_path)
mask = skin_detector.process(image)
cv2.imshow("input", image)
cv2.imshow("mask", mask)
cv2.waitKey(0)

Demonstration

Demo on Astronaut

Based Upon

Skin Segmentation Using Multiple Thresholds

About

A Python based skin detection system using OpenCV

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.0%
  • Makefile 1.0%