Небольшая программа для проверки камер. Разработана для Linux, Windows.
Возможно понадобится установить нативный OpenCV
dotnet --version: 10.0.109
dotnet add package OpenCvSharp4.runtime.linux-arm64 # or или другой runtime например linux-64
dotnet publish -c Release -r linux-x64 --self-contained false или другой runtime например linux-64
sudo mkdir -p /opt/ipcamtester
copy build to /opt/ipcamtester
create file /etc/systemd/system/ipcamtester.service with contents:
[Unit]
Description=IPCamTester
After=network.target
[Service]
WorkingDirectory=/opt/ipcamtester
ExecStart=/usr/bin/dotnet /opt/ipcamtester/IPCamTester.dll
Restart=always
RestartSec=5
User=example # set user here
Environment=DOTNET_ENVIRONMENT=Production
[Install]
WantedBy=multi-user.targetsudo systemctl daemon-reload
sudo systemctl enable ipcamtester
sudo systemctl start ipcamtester
sudo systemctl status ipcamtester