[ADD] added comments to the classes FaceDetector and ObjectDetection

This commit is contained in:
Jasper
2021-05-21 15:10:05 +02:00
parent 1811bf51a4
commit 8720e50ba8
3 changed files with 36 additions and 9 deletions

View File

@@ -17,11 +17,33 @@ namespace computervision
private:
public:
/**
* @brief default constructor of ObjectDetection
*
*/
ObjectDetection();
/**
* @brief Initializes the object detection, captures a frame and modifies it
* so it is ready to use for object detection
*
* @return return true if webcam is connected, returns false if it isn't
*/
bool setup();
void readWebcam();
/**
* @brief Displays an image of the current webcam-footage
*
*/
void showWebcam();
/**
* @brief Calculates the difference between two images
* and outputs an image that only shows the difference
*
*/
void calculateDifference();
/**
* @brief Listens for keypresses and handles them
*
*/
void detect();
};