Skip to content

Latest commit

 

History

History
103 lines (66 loc) · 3.34 KB

README.md

File metadata and controls

103 lines (66 loc) · 3.34 KB

License: GPL v3

Latest Version: latesttag

Branch Build Docker Deployment Activity
main CMake badge CMake badge lastcommit
dev CMake badge CMake badge lastcommit

Code metrics (dev branch) : CodeScene Code Health CodeScene System Mastery Codacy Badge CodeFactor


Milk

milk-core for milk package

Looking for something else?

CACAO Github repository | CACAO Documentation

ImageStreamIO core library

pyMilk bindings

Contents

Module includes key frameworks :

  • image streams : low-latency shared memory streams
  • processinfo : process management and control
  • function parameter structure (FPS) : reading/writing function parameters

Download

git clone https://github.com/milk-org/milk.git
cd milk

Compile

Check required package in Dockerfile.

Standard compile:

mkdir _build
cd _build
cmake ..
make
sudo make install

Compile with Python module (check script help with -h option for details):

./compile.sh $PWD/local

Set environment variables (.bashrc or equivalent):

  • MILK_ROOT: Source code directory, for example "/home/coldpenguin/src/milk"
  • MILK_INSTALLDIR: Installation directory, for example "/usr/local/milk"
  • MILK_SHM_DIR: Shared memory directory, for exmaple "/milk/shm"

Check installation (from any directory) :

milk-check

Interactive tutorial

Pre-requisites: tmux, nnn

milk-tutorial

Adding plugins

Compile with cacao plugins:

./fetch_cacao_dev.sh
./compile.sh $PWD/local

Compile with coffee plugins:

./fetch_coffee_dev.sh
./compile.sh $PWD/local