Skip to content

Statically building opencv to avoid any external dependency on production system to run generated binary file

Notifications You must be signed in to change notification settings

Nivratti/opencv-static-build-cpp--docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Opencv static build with cpp demo inside docker-compose

statically building opencv to avoid any external dependency on production system to run generated binary file

1. Docker compose build and run useful commands:

sudo docker compose build
sudo docker compose up

After running docker container, you can coonect it via bash from other terminal window.

sudo docker compose exec opencv bash

2. Building and testing demo - you can change dir inside docker to:

cd /workspace/opencv-dnn-demo/build/
cmake .. && make -j $nproc
./main

About

Statically building opencv to avoid any external dependency on production system to run generated binary file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published