Develop into master #9

Merged
SemvdH merged 126 commits from develop into main 2021-06-18 15:56:41 +00:00
2 changed files with 9 additions and 4 deletions
Showing only changes of commit b80653b668 - Show all commits

View File

@@ -6,11 +6,10 @@
namespace computervision
{
bool check_if_hand_present(cv::Mat inputImage)
bool check_if_hand_present(cv::Mat input_image)
{
std::vector<std::vector<cv::Point>> points;
cv::Mat imgCont;
cv::findContours(inputImage, points, cv::RetrievalModes::RETR_LIST, cv::ContourApproximationModes::CHAIN_APPROX_SIMPLE);
cv::findContours(input_image, points, cv::RetrievalModes::RETR_LIST, cv::ContourApproximationModes::CHAIN_APPROX_SIMPLE);
if (points.size() == 0) return false;

View File

@@ -3,5 +3,11 @@
#include <opencv2/core.hpp>
namespace computervision
{
bool check_if_hand_present(cv::Mat inputImage);
/**
* @brief checks if the hand is present in the input image.
*
* @param input_image the image to check
* @return true if the hand was found, false if not
*/
bool CheckIfHandPresent(cv::Mat input_image);
}