Skip to content

Added a new python script to inference with webcam#281

Open
lohithkumaar wants to merge 1 commit intoNVlabs:mainfrom
lohithkumaar:camera_inference
Open

Added a new python script to inference with webcam#281
lohithkumaar wants to merge 1 commit intoNVlabs:mainfrom
lohithkumaar:camera_inference

Conversation

@lohithkumaar
Copy link

feat: add webcam inference demo script

This commit introduces, a script that enables real-time inference using the VILA model directly from a webcam feed.

Key features:

  • Captures frames from the default webcam using OpenCV.
  • Handles image preprocessing (temporary file saving).
  • Runs inference using the loaded VILA model.
  • Supports --run-loop for continuous capture and analysis.

This simplifies testing and demonstration on edge devices like the Jetson AGX Orin.

…monstration on edge devices like the Jetson AGX Orin.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant