Skip to content

Configuration File

Patrick Beaulieu edited this page Dec 15, 2019 · 4 revisions

Introduction

The wiki page contains information about Steno application parameters contained in the steno.conf file. This file is automatically generated when the application first run.

APP

Parameter Type Description
OUTPUT_FOLDER string Path of the directory where the output files will be written
MICROPHONE_CONFIGURATION string Path of the microphone configuration
ODAS_LIBRARY string Path of ODAS library

AUDIO_INPUT and AUDIO_OUTPUT

Parameter Type Description
DEVICE_NAME string Audio device name (if using Pulseaudio device)
CHANNELS int Channel count
RATE int Channels sampling rate
FORMAT_BYTES int Number of bytes in sample
IS_LITTLE_ENDIAN bool Sample format is little endian
PACKET_AUDIO_SIZE int Audio data size in bytes inside a packet from ODAS
PACKET_HEADER_SIZE int Header data size inside a packet from ODAS

DARKNET

Parameter Type Description
SLEEP_BETWEEN_LAYERS_FORWARD_US int Time application will sleep in nanoseconds between each network layers

DEWARPING

To understand these parameters see this page

Parameter Type Description
IN_RADIUS int Radius of inner circle of the donut (in pixels)
OUT_RADIUS int Radius of outer circle of the donut (in pixels)
ANGLE_SPAN int Angle span of donut slice used to generate detection images (in degrees)
TOP_DISTORSION_FACTOR int Change distortion in the top portion of dewarped images
BOTTOM_DISTORSION_FACTOR int Change distortion in the bottom portion of dewarped images
FISH_EYE_ANGLE int The angle of the fisheye lens as stated by the manufacturer (in degrees)
DETECTION_DEWARPING_COUNT int The number of dewarped images used for detection

STREAM

Parameter Type Description
ASPECT_RATIO_WIDTH int Width of desired output aspect ratio
ASPECT_RATIO_HEIGHT int Height of desired output aspect ratio
MIN_ELEVATION int Minimum elevation of virtual cameras (frame in final image) in degrees
MAX_ELEVATION int Maximum elevation of virtual cameras (frame in final image) in degrees

TRANSCRIPTION

Parameter Type Description
LANGUAGE int French(0) or English(1)
AUTOMATIC_TRANSCRIPTION bool Transcribe automatically after a recording
CERTIFICATE_PATH string Path of the certificate
CERTIFICATE_KEY_PATH string Path of the certificate key

VIDEO_INPUT and VIDEO_OUTPUT

Parameter Type Description
FPS int Frame per second
WIDTH int Width of the video device
HEIGHT int Height of the video device
DEVICE_NAME string Name of the video device
IMAGE_FORMAT int RGB_FMT(0), UYVY_FMT(1) or YUYV_FMT(2)