Created
May 18, 2025 18:33
-
-
Save hajowieland/5e04c4d94502f4ac4ac9dd185e1bb3ea to your computer and use it in GitHub Desktop.
macos-webcam-live-recognition
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
mediamtx & | |
ffmpeg -f avfoundation -use_wallclock_as_timestamps 1 -framerate 30 -video_size 1280x720 -i "0" -vcodec libx264 -preset ultrafast -tune zerolatency -pix_fmt yuv420p -f rtsp -rtsp_transport tcp rtsp://127.0.0.1:8554/mystream & | |
yolo pose predict model=yolo11n-pose.pt source='rtsp://127.0.0.1:8554/mystream' show |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment