39 lines
No EOL
629 B
Markdown
39 lines
No EOL
629 B
Markdown
# Stitch a Ton
|
|
Solution by Meizar (meizar.rimadana@formulatrix.com)
|
|
|
|
|
|
## Requirement
|
|
- .Net SDK 6.0
|
|
- OpenCVSharp4 4.11
|
|
|
|
## Setup
|
|
- Change the environment variables `ASSET_PATH_RO` in `WebApp/Properties/launchSettings.json`
|
|
- Http port can be changed as needed
|
|
|
|
## Publish and Run
|
|
Publish with targeting `linux-arm64` runtime
|
|
```
|
|
cd ./WebApp
|
|
dotnet publish -r linux-arm64 -c release --self-contained
|
|
```
|
|
|
|
Go to the publish folder
|
|
```
|
|
cd bin/release/net6.0/linux-arm64/publish
|
|
```
|
|
|
|
Make it executable
|
|
```
|
|
chmod +x WebApp
|
|
```
|
|
|
|
Run
|
|
```
|
|
./WebApp
|
|
```
|
|
|
|
Or, if the OpenCV4 has been installed, just run it
|
|
```
|
|
cd WebApp
|
|
dotnet run
|
|
``` |