Skip to content

Instantly share code, notes, and snippets.

@simryang
Created December 6, 2021 02:32
Show Gist options
  • Save simryang/8d86baac588323ad9f9368635774c4c8 to your computer and use it in GitHub Desktop.
Save simryang/8d86baac588323ad9f9368635774c4c8 to your computer and use it in GitHub Desktop.
Raspberry pi4 에서 수동으로 포커스를 0으로 지정하는 명령
# 현재 설정 확인
fswebcam --list-controls
# 오토포커스 끄기
v4l2-ctl -d 0 -c focus_auto = 0
# 포커스 수동 지정. 여기에서는 0으로 지정(원하는 값으로 변경)
v4l2-ctl --set-ctrl=focus_absolute=0
# 현재 설정 확인
fswebcam --list-controls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment