Skip to content

Commit

Permalink
Adding camera config
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Gibb authored and Scott Gibb committed Nov 18, 2023
1 parent b02558b commit c619490
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions PrusaPrint/libcamera.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
### Options for libcamera based cameras (PiCam, Arducam, ...)

# The port on which the webcam server for the camera should listen on. If you have only
# one camera, leave at 8080. If you have more, change to 8081, 8082, etc. The primary
# camera will be considered the one with 8080.
PORT=8080

# The resolution to request on the camera sensor. Defaults to 1280x720.
#WIDTH=1920
#HEIGHT=1080

WIDTH=3840
HEIGHT=2160


# The height to use for the video stream. Defaults to 720.
#VIDEO_HEIGHT=720

VIDEO_HEIGHT=2160

# The height to use for the snapshots. Defaults to 1080.
#SNAPSHOT_HEIGHT=1080

SNAPSHOT_HEIGHT=2160

# The framerate to set on the camera. Defaults to 15fps.
FRAMERATE=15

# Additional options. By default enables continuous auto focus (if possible).
#OPTIONS='--camera-options="AfMode=2" --camera-options="AfRange=2"'
OPTIONS='--camera-options="AfMode=0" --camera-options="LensPosition=1"



0 comments on commit c619490

Please sign in to comment.