🌈 Vancouver Watching with AI.
Project description
🌈 Vancouver Watching (vanwatch
)
vanwatch
🌈 discovers and ingests images from traffic cameras in an area and then runs YOLO 🚀, OpenAI Vision, and other vision algo to extract information about urban activity at scale.
pip install vancouver-watching
> vanwatch help
vanwatch conda create [validate,~recreate]
. create conda environment.
vanwatch conda validate
. validate conda environment.
vanwatch discover \
[area=<area>,~upload] \
[-|<object-name>] \
[<args>]
. discover area -> <object-name>.
vanwatch ingest \
area=<area>,count=<count>,dryrun,gif,model=<model-id>,~process,publish,~upload \
-|<object-name> \
[<args>]
. ingest <area> -> <object-name>.
vanwatch list [area=<area>,discovery|ingest,published] \
[--count <count>] \
[--delim space] \
[--log 0] \
[--offset <offset>]
. list objects from area.
2 area(s): iran,vancouver
vanwatch list areas
. list areas.
vanwatch vision "prompt" \
[area=<area>,offset=<1>,auto|low|high,dryrun,~upload] \
Davie,Bute \
[--verbose 1]
. openai_commands vision: prompt @ <area>/intersection.
vanwatch process \
count=<count>,~download,gif,model=<model-id>,publish,~upload \
.|<object-name> \
[--detect_objects 0] \
[--do_dryrun 1] \
[--overwrite 1] \
[--verbose 1]
. process <object-name>.
vanwatch pylint
. pylint vancouver_watching.
vanwatch update|update_cache \
area=<vancouver>,overwrite,process,~publish,refresh,~upload \
[--verbose 1]
. update QGIS cache.
vancouver_watching test \
[dryrun,~ingest,~list,~process,upload]
. test vancouver_watching.
last build 🔗
discover and Ingest an Area
to see the list of areas supported by vanwatch
type in,
vanwatch list areas
to discover the available cameras in an area type in,
vanwatch discover area=vancouver
you have generated a geojson
of traffic images in the City of Vancouver. Now, you can ingest the traffic images from this area and detect people and cars in them,
vanwatch ingest area=vancouver,count=2,publish
model: https://hub.ultralytics.com/models/R6nMlK6kQjSsQ76MPqQM?tab=preview
dataset: vanwatch-cache-2024-02-28-21-04-19-26236.tar.gz (details).
to use on AWS SageMaker replace <plugin-name>
with vanwatch
and follow these instructions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file vancouver_watching-3.389.1.tar.gz
.
File metadata
- Download URL: vancouver_watching-3.389.1.tar.gz
- Upload date:
- Size: 18.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1800e3dac46c4b9c72a892ab814da8f50f1b34c4b6407ce2ecbaf9695528bc16 |
|
MD5 | e42e6e40d57ee84b5b431bcfea93a775 |
|
BLAKE2b-256 | 3835a731481b60716a7a29bd997064cdcbf244d15c9244b50ea9088c9b0003b8 |
File details
Details for the file vancouver_watching-3.389.1-py3-none-any.whl
.
File metadata
- Download URL: vancouver_watching-3.389.1-py3-none-any.whl
- Upload date:
- Size: 25.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2ace77273ee422e4d2c0f902d55b10f315b12fd55cc7027584ed560f28e4c9a |
|
MD5 | 9b72355e9bc13f447c1dc2f982174674 |
|
BLAKE2b-256 | 78753343abdb0d1941d7f9034875587f791283e0114b857361fd501fb27e1530 |