Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 901 Bytes

COMPILING.md

File metadata and controls

30 lines (19 loc) · 901 Bytes

Docker

Single Binary Build

This build uses a custom docker image where the entire dependency chain is in static libraries, rather than dynamically linked. The resulting binary can run on any Linux platform with the same type of CPU (e.g. x86 or x64).

docker build -t notcompsky/tagem-min .

To copy the binary from the image, you must create a dummy container and copy from that:

docker create -ti --name dummy notcompsky/tagem-min bash
docker cp dummy:/tagem-server ./tagem-server
docker rm -f dummy

Non-Docker

Dependencies

Required

  • Boost ASIO
  • Python 3 interpreter
  • CMake

Optional

  • FFMPEG/libAV
    • Used for assigning video statistics (such as duration, fps, width, height).
  • OpenCV and Caffe
    • Used for generating image databases for machine learning. Untested for a long time, will probably be fixed when 'instances' are recognised by the server.