Skip to content

0.48.0

Compare
Choose a tag to compare
@seanshahkarami seanshahkarami released this 29 Nov 19:15
· 52 commits to main since this release
  • Camera now support file:// URLs allowing local files to be provided in the same way as other URLs / names. For example:
# for deployment
with Camera("left") as camera:
    # do work

# for testing
with Camera("file://path/to/test.jpg") as camera:
    # do work

This also allows device input to be specified more uniformly when using args. For example:

# pass camera on node
python3 main.py --input left

# pass local file
python3 main.py --input file://path/to/test.jpg