Skip to content

Commit 3457923

Browse files
committed
add a README.md
1 parent 2cf68af commit 3457923

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### README ###
2+
3+
You may know the video capture capabilities of your device (720p, 1280×720 px _or if you are loaded_ 1080p 1920x1080 px), or you could use some clever tool like v4l2-ctl (install v4l-utils linux), to find the right size settings for 'video capture' with your setup, there are probably be any number of tools for Windows / Mac that can do the same thing.
4+
5+
Failing that you could use some old-school safe settings like width 640, height 480 initially (for crappy old 480p cameras).
6+
7+
You should the run the `test_capture.rb` sketch (with width / height adjusted to match your equipment) and that will output the available capture settings (frame-rate etc).
8+

processing_app/library/video/capture/test_capture.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ def captureEvent(c)
3636
end
3737

3838
def settings
39-
size 960, 544, P2D
39+
size 1280, 720, P2D
4040
end
4141

0 commit comments

Comments
 (0)