diff --git a/README.md b/README.md index 35365f5..fb7e83d 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,14 @@ The following attributes are available for this model: | `camera_name` | string | Required | The name of the camera configured on your robot. | | `blurry_threshold` | float | Optional | The threshold _below_ which an image would be considered blurry. High laplacian variance corresponds to low blurriness. | +### Example Attributes +```json +{ +"camera_name": "myCam", +"blurry_threshold": 100.0 +} +``` + #### Example Configuration ```json diff --git a/build.sh b/build.sh index bb86ca1..35f1683 100755 --- a/build.sh +++ b/build.sh @@ -3,7 +3,7 @@ cd `dirname $0` . venv/bin/activate -## using `pyrhon -m PyInastaller` as opposed to `pyinstaller` as the former +## using `python -m PyInastaller` as opposed to `pyinstaller` as the former ## runs in the venv and the latter does not python -m PyInstaller --onefile --hidden-import="googleapiclient" src/main.py tar -czvf dist/archive.tar.gz ./dist/main diff --git a/meta.json b/meta.json index 54916ed..91919a1 100644 --- a/meta.json +++ b/meta.json @@ -2,12 +2,14 @@ "$schema": "https://dl.viam.dev/module.schema.json", "module_id": "viam:blurry-classifier", "visibility": "public", - "url": "", + "url": "https://github.com/viam-modules/blurry-classifier", "description": "Modular vision service: blurry-classifier", "models": [ { "api": "rdk:service:vision", - "model": "viam:blurry-classifier:blurry-classifier" + "model": "viam:blurry-classifier:blurry-classifier", + "markdown_link": "README.md#example-attributes", + "short_description": "A vision service that classifies blurry images." } ], "entrypoint": "dist/main",