... | ... | @@ -209,6 +209,18 @@ Hello World |
|
|
bash-5.0# cat /config/media/camera-02/openfaas.jpg | faas-cli invoke rgb2wb --gateway http://192.168.1.91:8080 > /config/media/camera-02/openfaasy.jpg
|
|
|
```
|
|
|
|
|
|
Manual
|
|
|
|
|
|
1. Take the snapshot
|
|
|
2. Visualize it: http://192.168.1.110:8123/local/media/camera-02/snapshot.jpg
|
|
|
3. Convert rgb2wb serverless function:
|
|
|
|
|
|
```sh
|
|
|
bash-5.0# cat /config/www/media/camera-02/snapshot.jpg | faas-cli invoke rgb2wb --gateway http://192.168.1.91:8080 > /config/www/media/camera-02/openfaas.jpg
|
|
|
```
|
|
|
|
|
|
4. Visualize it: http://192.168.1.110:8123/local/media/camera-02/openfaas.jpg
|
|
|
|
|
|
#### faas
|
|
|
|
|
|
> This method is under validation.
|
... | ... | |