Skip to content

Commit

Permalink
Update darknet readme
Browse files Browse the repository at this point in the history
  • Loading branch information
alpegon committed Jul 3, 2019
1 parent 7255756 commit 6505647
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/darknet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ If you want to delete the bucket you have to do it manually.

### Processing the output locally

The last option when invoking or running a synchronous function is to save the output in our machine.
Other option when invoking a synchronous function is to store the output in our machine.

When using this option you have to make sure that the output generated by your script is the binary content that you want to save in your machine. Also due to the API Gateway limits your function has to finish in 30 seconds or less.

The script `scar-darknet-api.yaml` process the image using darknet, packages the image output and the darknet output, and then passes to the standard output the packaged file.
The script `scar-darknet-api-bin.yaml` process the image using darknet, packages the image output and the darknet output, and then dumps the packaged file in the standard output.

The supervisor reads the binary content and then creates the file in the specified file by the CLI command:
SCAR reads the output binary content and then creates the file in the specified file by the CLI command:

```sh
scar init -f scar-darknet-api-bin.yaml
Expand Down

0 comments on commit 6505647

Please sign in to comment.