Browse Source

grab+retrieve to use cam on pi

pull/1/head
Tim Zeuner 1 year ago
parent
commit
b9965ee956
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      AutonomousMode/Input/input.cpp

+ 2
- 1
AutonomousMode/Input/input.cpp View File

@@ -43,7 +43,8 @@ Mat Input::readWebcam()
return Mat();
}

cap.read(image);
cap.grab();
cap.retrieve(image);
return image;
}

Loading…
Cancel
Save