Remove lint from markdown and passive voice
|5 years ago|
|.gitignore||5 years ago|
|LICENSE||5 years ago|
|README.md||5 years ago|
|cameratest.py||5 years ago|
This project was initially developed out of the need to supply precise colour information to LED lighting instruments for cinematographic camera sensor calibration.
The primary goal is to extract data from specially calibrated and encoded reference video files.
"Jaron Encoding" is a popular encoding technique where HSL data is directly encoded in the video as RGB pixels. Pixels experience o colourspace transforms. Jaron encoding specifies R=L G=H B=S.
cameratest.py assumes the target lighting fixture is expecting IHS data. If using an Arri Skypanel, this corresponds to Mode 5.
Using the HSL colour model with 8-bit axis greatly restricts the color pallet. 16-bit axis are strongly recommended for HSL usage under normal conditions. The resolution is acceptable in this application, as the full range is not required for this calibration task.
cameratest.py assumes a directed broadcast address for the 220.127.116.11/8 netmask.
cameratest.py assumes a net of 0, a subUniv of 0, and a DMX start address of 1.
Run cameratest.py in a terminal.
cd my_working_directory ./cameratest.py my_calibrated_videofile.mov
The latest version of cameratest.py is available at http://company235.com/git/kevin/cameratest
From a terminal you can clone the git repository:
git clone http://company235.com/git/kevin/cameratest.git
or if you don't have git installed:
curl -O http://company235.com/git/kevin/cameratest/raw/master/cameratest.py
cameratest.py can run from any OS that supports Python3 and OpenCV3. cameratest.py was development on Mac OS 10.12.4
Working with and installing cameratest.py on the command line. Open Terminal.app and make yourself familier.
Install the latest version of the Homebrew package manager
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Add the Homebrew bin directories to your PATH variable.
echo "export PATH=/usr/local/bin:/usr/local/sbin:$PATH" >> ~/.profile
Use homebrew to install Python 3
brew install python3
Use homebrew to install OpenCV 3
brew tap homebrew/science brew install opencv3 --with-contrib --with-python3 brew link --force opencv3
Use your system package manager to install python, OpenCV, and their dependencies.
You're going to have to google it. Good luck.