Compare commits

..

No commits in common. "e45f46c102b5b7c3ee1434bd546e6aaeca812928" and "b9965ee95674d664aa79109ed9b0e42d2d6c3194" have entirely different histories.

2 changed files with 7 additions and 9 deletions

View File

@ -39,15 +39,13 @@ Mat Input::readWebcam()
Mat image;
if(!cap.isOpened()) {
cout << "Video capture not opened" << std::endl;
cout << "Fehler";
return Mat();
}
if(!cap.grab()) {
cout << "Could not grab frame from camera" << std::endl;
return Mat();
}
cap.grab();
cap.retrieve(image);
return image;
}

View File

@ -7,8 +7,8 @@ int main(void)
cv::utils::logging::setLogLevel(cv::utils::logging::LOG_LEVEL_WARNING);
const int thresholdBinary = 140;
const int videoHeight = 720;
const int videoWidth = 1280;
const int videoHeight = 240;
const int videoWidth = 320;
const int gaussKernelSize = 21;
const int thresholdCanny1 = 50;
const int thresholdCanny2 = 100;