add Readme
This commit is contained in:
parent
8a8e90d10b
commit
a8245b1f13
2 changed files with 41 additions and 0 deletions
39
README.md
Normal file
39
README.md
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# 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
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue