Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sigh. One more typo in PyInastaller for next time! 🙃

## 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
Expand Down
6 changes: 4 additions & 2 deletions meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down