2025-07-30 23:05:32 +07:00
|
|
|
# Stitch a Ton
|
|
|
|
|
Solution by Meizar (meizar.rimadana@formulatrix.com)
|
|
|
|
|
|
2025-07-31 21:02:10 +07:00
|
|
|
## Requirements
|
2025-07-30 23:05:32 +07:00
|
|
|
- .Net SDK 6.0
|
|
|
|
|
- OpenCVSharp4 4.11
|
|
|
|
|
|
2025-07-31 21:02:10 +07:00
|
|
|
## Publish
|
|
|
|
|
Publish te project with targeting `linux-arm64` runtime and `self-contained`
|
2025-07-30 23:05:32 +07:00
|
|
|
```
|
|
|
|
|
cd ./WebApp
|
|
|
|
|
dotnet publish -r linux-arm64 -c release --self-contained
|
|
|
|
|
```
|
2025-07-31 21:02:10 +07:00
|
|
|
Transfer this published folder into Raspberry Pi
|
2025-07-30 23:05:32 +07:00
|
|
|
```
|
2025-07-31 21:02:10 +07:00
|
|
|
bin/release/net6.0/linux-arm64/publish
|
2025-07-30 23:05:32 +07:00
|
|
|
```
|
|
|
|
|
|
2025-07-31 21:02:10 +07:00
|
|
|
## Run
|
|
|
|
|
On the Raspberry Pi, go to the uploaded folder.
|
2025-07-30 23:05:32 +07:00
|
|
|
Make it executable
|
|
|
|
|
```
|
2025-07-31 21:02:10 +07:00
|
|
|
sudo chmod +x WebApp
|
2025-07-30 23:05:32 +07:00
|
|
|
```
|
|
|
|
|
|
2025-07-31 21:02:10 +07:00
|
|
|
Run the program
|
2025-07-30 23:05:32 +07:00
|
|
|
```
|
2025-07-31 21:02:10 +07:00
|
|
|
sudo ./WebApp
|
2025-07-30 23:05:32 +07:00
|
|
|
```
|