To use the piTop.Camera pacakge you need to install the following dependencies first
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 native dependencies
sudo apt install libc6-dev
sudo apt install libgdiplus
You can read more details on this Scott Hanselman blog