Camera USB
This function block provides a straightforward way to interact with USB webcams connected to your system. It allows users to select a camera, adjust its resolution, and view the camera feed.
📥 Inputs
Activate Signal
This signal activates the camera, allowing frames to be captured.
Release Signal
This signal releases the camera resources when they are no longer needed.
📤 Outputs
Camera Frame
This output provides the live image frame captured by the connected USB camera.
🕹️ Controls
Scan Connected USB Cameras
A button to initiate scanning for all connected USB cameras.
Select USB Camera
A dropdown menu allowing users to select from the list of detected USB cameras.
Camera Resolution
A dropdown menu to select the desired resolution for the camera feed.
Current Resolution
This label displays the currently set resolution of the selected camera.
Open Advanced Setting
A button that opens a window for adjusting advanced camera settings.
🎨 Features
Automatic Camera Detection
Automatically detects and populates the list of USB cameras connected to your system.
Dynamic Resolution Adjustment
Users can change the resolution of the camera feed on-the-fly.
Real-time Feedback
Displays the current resolution setting dynamically as it's adjusted.
📝 Usage Instructions
Scan for Cameras: Click on the
Scan Connected USB Cameras
button to detect all available USB cameras.Select Camera: Choose a camera from the dropdown menu that appears after scanning.
Set Camera Resolution: Choose the desired resolution from the
Camera Resolution
dropdown.Activate Camera: Once the camera is selected, send the
Activate Signal
to start receiving frames.Release Camera: If the camera is no longer needed, send the
Release Signal
to free up resources.
📊 Evaluation
When executed, the function block continuously captures frames from the selected USB camera. It provides the latest frame as output and updates the current camera status.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated