Skip to main content

pyvizion-ctl

pyvizion-ctl Functionality Overview

pyvizion-ctl, which imports pyvizionsdk, is an interactive command-line tool that provides a menu interface with various functionalities and options for controlling video devices.

Start the pyvizion-ctl tool

warning

For Linux users: Please ensure that ~/.local/bin is included in your PATH environment variable.

Enter the pyvizion-ctl in the terminal to access the menu and control device functions with the interactive pyvizion-ctl interface.

pyvizion-ctl

pyvizion-ctl Introduction

Home Menu

The home menu allows navigation to the Device List to retrieve all available devices or exit the menu.

Home Menu

Device List

Choose a device from the device list to control.

Device List

Camera Control and Management Tool

There are multiple tools available for controlling the device. It can also go back to the device list to choose another device to control.

Management Menu

Device Information

Display the device information on the terminal. It can also go back to the control and management tool menu to choose other options, or exit the python-ctl.

Camera Information

Camera Control

The start menu for Camera Control allows two options: Get Controls and Set Controls.

Camera Control
  • Get Controls

    The Get Controls menu allows to get the all of controls value or get the specific control value by entering the index of controls.

    Get Controls

    If choosing to get specific control value, please enter the index which is display on the terminal.

    Get Specific Control
  • Set Controls

    The Set Controls menu will display the current value, range, and description of mode for all the controls. Enter the property index to be set.

    Set Controls

List Format

The menu displays all the formats supported by the device. There allows the Set format option to set the camera format by entering the index of format.

List Format

Image Operation

The Image Operation menu is for capturing the image from the device.

  1. Choose the Save Image option

    Save Image
  2. Enter the path to save the image.

    warning

    Please ensure the destination path is set to a location with write permissions for normal users.

    Image Path
  3. Select an index of format.

    Image Format
  4. Enter a number to skip the previous frames for storage. And enter a number to decide how many images to store.

    Numbers of Image

OSP Profile Management

The OSP Profile Management menu allows to get and set the OSP flag.

OSP Profile

Timestamp Operations

The Timestamp Operations menu provides the options for retrieving the timestamp and framecount. It can also reset the timestamp and framecount value.

warning

Please ensure the device is streaming or not. The reset functions must be used when the camera is streaming.

Timestamp

Sensor Config Operations

The Sensor Config Operations menu provides the options for exporting the sensor config and decoding the sensor config to readable json format.

Sensor Config