Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 764 Bytes

install-camera-dependencies.md

File metadata and controls

28 lines (20 loc) · 764 Bytes

Install camera library dependencies

To use the piTop.Camera pacakge you need to install the following dependencies first

Install openCV

Get the file opencv-dotnet from the libs folder

sudo unzip -d /usr/local/lib/ ../libs/opencv-dotnet-4.5.0.zip
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
sudo ldconfig

Add the following to .bashrc

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

Install System.Drawing dependecies

Install native dependencies

sudo apt install libc6-dev 
sudo apt install libgdiplus

You can read more details on this Scott Hanselman blog