D:/Projekte/Super-Yano/Facedetect/Facedetect/facedetect.h

gehe zur Dokumentation dieser Datei
00001 #pragma once
00002 
00003 #define DLLEXPORT extern "C" __declspec(dllexport)
00004 
00005 #include <stdio.h>
00006 #include <stdlib.h>
00007 #include <windows.h>
00008 
00009 #include <cv.h>
00010 #include <cxcore.h>
00011 #include <highgui.h>
00012 
00013 
00014 void detect_and_draw( IplImage* img );
00015 DLLEXPORT void requestVideoImage( HDC hdc );
00016 DLLEXPORT void initiateVideo( int camNumber );
00017 DLLEXPORT void processVideoFrame();
00018 DLLEXPORT void closeVideo();
00019 DLLEXPORT int getVideoSizeX();
00020 DLLEXPORT int getVideoSizeY();
00021 DLLEXPORT int getNumberOfFaces();
00022 DLLEXPORT int getMajorFacePosX();
00023 DLLEXPORT int getMajorFacePosY();
00024 DLLEXPORT double getMajorFaceRelativeX();
00025 DLLEXPORT double getMajorFaceRelativeY();
00026 
00027 HDC destinationHDC = 0;
00028 int isBusy = 0;
00029 int isImageRequested = 0;
00030 int isInitiated = 0;
00031 
00032 int videoSizeX = -1;
00033 int videoSizeY = -1;
00034 CvSeq* faces;
00035 
00036 int majorFacePosX = -1;
00037 int majorFacePosY = -1;
00038 int faceSize = 0;
00039 int numberOfFaces = 0;
00040 
00041 CvCapture* capture = 0;
00042 IplImage *image = 0;
00043 IplImage* frame = 0;    
00044 CvvImage panelImage;
00045 
00046 static CvMemStorage* storage = 0;
00047 static CvHaarClassifierCascade* cascade = 0;
00048 
00049 

Erzeugt am Mon Jun 4 16:39:20 2007 für Super-Yano von  doxygen 1.5.2