This project was created out of the need to supply precise colour informaton to LED lighting instruments in order to perform cinematographic camera sensor calibration.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kevin Matz 2603bb7e79 grammer and spelling 5 years ago
.gitignore Initial commit 5 years ago
LICENSE Initial commit 5 years ago grammer and spelling 5 years ago Alwasy print OpenCV version 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.


  • 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.

  • assumes a directed broadcast address for the netmask.

  • assumes a net of 0, a subUniv of 0, and a DMX start address of 1.


Run in a terminal.

cd my_working_directory


The latest version of is available at

From a terminal you can clone the git repository:

git clone

or if you don't have git installed:

curl -O

Install dependencies can run from any OS that supports Python3 and OpenCV3. was development on Mac OS 10.12.4


Working with and installing on the command line. Open and make yourself familier.


Install the latest version of the Homebrew package manager

/usr/bin/ruby -e "$(curl -fsSL"

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.