Browse Source

Funktionierender Puffer

16.12.2024 15.06
Siuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
master
Paul-1108 6 days ago
parent
commit
736154abf4
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/main/java/CamPuffer.java

+ 2
- 0
src/main/java/CamPuffer.java View File

@@ -126,6 +126,8 @@ public class CamPuffer implements Runnable {
System.out.println("Fehler: Die Webcam konnte nicht geöffnet werden.");
}

capture.set(Videoio.CAP_PROP_BUFFERSIZE, 3);

capture.set(Videoio.CAP_PROP_EXPOSURE, EXP);
capture.set(Videoio.CAP_PROP_FPS, FPS);
System.out.println("Kamera geöffnet und eingerichtet");

Loading…
Cancel
Save