Introduction
Includes logic responsible for Web Camera interaction, hand features extraction. It will contain a basic API. List of all external function is held in DetectionFunctions.h file, Logic is written in DetectionFunctions.cpp.
Details
Already implemented functions:
- Initialize() - creates web camera capture and assings it to a global variable. Returns false when an error occurs or when there is none camera attached.
- Finalize() - used to release global object responsible of holding camera capture.
- GetFrame() - gets one frame from web camera capture. Returns NULL when no frame was returned.
- SkinDetect(IplImage*pImageIn) - extracts pixels which are skin.
- OpenClose( IplImage *pImageIn, int open ) - thinning(open) and thicking(close) the image.
- ExtractContour(IplImage*pImageIn) - gets contour of greatest skin object which could be found.
- FeatureExtraction(CvSeq *contour) - extracts basic features from the contour.
Functions to be implemented: