2/03/2023
-
Python3
-
Anaconda
-
Quick Note to see if your Windows is 64-Bit.
If the "C:\Program Files (32)” folder exists, you’re using 64-Bit Windows.
- After installing Anaconda, create an environment for the capture software.
$ conda env create -f environment.yml
- Activate the environment.
$ conda activate obs-record
path
is the directory where the timestamp is saved.
ex) your Arduino board is connected to COM1
python vicon-timestamp.py path-to-the-folder COM1
usage: vicon-timestamp.py [-h] [-v VERBOSE]
[-b {9600,14400,19200,28800,31250,38400,57600,115200}]
path port
VICON Trigger Timestamp ver 0.1 by Jaerock Kwon, 2023
positional arguments:
path path to the location where the timestamp is saved
port Serial port name. COM{#} or /dev/ttyUSB{#}
optional arguments:
-h, --help show this help message and exit
-v VERBOSE, --verbose VERBOSE
increase output verbosity
-b {9600,14400,19200,28800,31250,38400,57600,115200}, --baudrate {9600,14400,19200,28800,31250,38400,57600,115200}
baudrate
- First, make sure your Arduino board is connected and running.
- Second, start OBS and get ready for recording. The hotkey for recording start is F3 and stop is F4.
- The most important thing to do is that the OBS is your focused window so that any keyboard inputs can go to the OBS program.
ex) your Arduino board is connected to COM1
python obs-record.py COM1
python obs-record.py -h
usage: obs-record.py [-h] [-v VERBOSE]
[-b {9600,14400,19200,28800,31250,38400,57600,115200}]
port
OBS Recorder: triggered by VICON ver 0.1 by Jaerock Kwon, 2023
positional arguments:
port Serial port name. COM{#} or /dev/ttyUSB{#}
optional arguments:
-h, --help show this help message and exit
-v VERBOSE, --verbose VERBOSE
increase output verbosity
-b {9600,14400,19200,28800,31250,38400,57600,115200}, --baudrate {9600,14400,19200,28800,31250,38400,57600,115200}
baudrate
Compile vicon_trigger.ino
and upload it to your Arduino board.
- Use PIN 7 for the signal.
baudrate
is 115200.