TIC-13 / halide-docker

Docker environment to use Halide

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Halide Docker

Docker files to use Halide using C++ and Python, with OpenCV and other libraries.


Requirements:

Install docker and docker-compose on your OS. Follow the official docker instructions:


Execution:

Into the folder of this repository:

  • To run the docker compose FOR THE FIRST TIME use these commands
docker compose up --build
  • To run the docker compose AFTER THE FIRST TIME use these commands
docker compose run --rm halide /bin/bash

If your user is not on docker group, the super user permission (sudo) is necessary to run the above commands.


Using:

  • Volume / Shered folder:

    The container_volume folder from the halide-docker repository is loaded into the Docker container. Therefore, place your code/project in this folder to use it with Docker.

    In the container, this folder is mounted to the /volume directory and its files can be accessed through it.

  • Environment Variables:

    On this container, the Halide folder is set on $HALIDE_ROOT environment variable.

    The $LD_LIBRARY_PATH environment variable is already set too.

About

Docker environment to use Halide

License:The Unlicense


Languages

Language:Dockerfile 100.0%