Camera USB External
This function block interfaces with external USB cameras, providing controls to manage camera settings, capture frames, and handle exposure features.
📥 Inputs
Activate Signal
This signal activates the camera for capturing images.
Release Signal
This signal releases the camera and frees resources.
Camera Index
Specifies the index of the camera to be used.
Resolution Width
The desired width for the camera resolution.
Resolution Height
The desired height for the camera resolution.
Scan Cameras
A signal to trigger a scan for available cameras.
Set Exposure
A numeric value for manual exposure control.
Set Auto Exposure
A numeric value for automatic exposure control.
📤 Outputs
Camera Frame
This output provides the most recent frame captured by the connected camera.
🕹️ Controls
Current Resolution
A label that displays the currently set resolution of the camera.
🎨 Features
Dynamic Camera Management
Easily scan for and select cameras before usage.
Adjustable Resolution and Exposure
Users can change camera resolution dynamically and set exposure preferences.
Robust Error Handling
Automatic logging and recovery procedures when camera operations fail.
Black Frame Detection
Monitors frame data to detect and manage blank images, restarting the camera as needed.
📝 Usage Instructions
Connect to USB Camera: Ensure your USB camera is connected.
Scan for Cameras: Send a signal through the
Scan Cameras
input to find available cameras.Select Camera Index: Specify the index of the desired camera to use.
Set Resolution: Input the desired width and height for the camera's resolution.
Adjust Exposure: Optionally, set manual or automatic exposure values if necessary.
Activate Camera: Send the
Activate Signal
to start capturing frames.
📊 Evaluation
Once activated, this function block captures frames from the selected USB camera and outputs the latest frame for further processing or analysis.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated