shimat / opencvsharp

OpenCV wrapper for .NET
Apache License 2.0
5.22k stars 1.13k forks source link

Docker debian and opencvsharp - .Net Rest Api #1539

Open mapo80 opened 1 year ago

mapo80 commented 1 year ago

Hi everyone,

after many struggles I understood how to use Opencvsharp on debian dockerized .Net application. Here are steps:

`FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base

WORKDIR / ADD file_b.tar.gz /usr/lib/x86_64-linux-gnu ADD file_a.tar.gz /usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.3`

Following this steps you can use opencv from your asp.net api application ran on your docker image.

I hope you find this useful.

stale[bot] commented 9 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.