Overview Smart AI Cameras API
Project description
overview-client
This the API specifications for the OV20i Smart AI Camera produced by Overview Inc. It works with firmware versions above 2024.23.1.
Some useful links:
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 0.0.1
- Package version: 1.0.0
- Generator version: 7.12.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 3.8+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)
Then import the package:
import overview_client
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import overview_client
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import overview_client
from overview_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://192.168.0.100
# See configuration.py for a list of all supported configuration parameters.
configuration = overview_client.Configuration(
host = "http://192.168.0.100"
)
# Enter a context with an instance of the API client
with overview_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = overview_client.CaptureApi(api_client)
limit = 1 # int | Maximum number of captures to return (optional) (default to 1)
order = captured_at.desc # str | Order of returned captures (optional) (default to captured_at.desc)
select = 'id,captured_at,source_recipe_id,path,height,width,size,classification_result(created_at,confidence,block_classification_classes(label_name,block_roi_inspection_type_params(name)),roi_result(block_roi_region_params(name,bbox,angle)))' # str | Fields to include in the response (optional) (default to 'id,captured_at,source_recipe_id,path,height,width,size,classification_result(created_at,confidence,block_classification_classes(label_name,block_roi_inspection_type_params(name)),roi_result(block_roi_region_params(name,bbox,angle)))')
try:
# Get 1 or more captures according to specific parameters
api_response = api_instance.get_captures(limit=limit, order=order, select=select)
print("The response of CaptureApi->get_captures:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling CaptureApi->get_captures: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://192.168.0.100
| Class | Method | HTTP request | Description |
|---|---|---|---|
| CaptureApi | get_captures | GET /postgrest/captures | Get 1 or more captures according to specific parameters |
| RecipeApi | activate_recipe_by_id | POST /edge/recipe/activate | Activate a recipe |
Documentation For Models
- Capture
- CaptureClassificationResultInner
- CaptureClassificationResultInnerBlockClassificationClasses
- CaptureClassificationResultInnerBlockClassificationClassesBlockRoiInspectionTypeParams
- CaptureClassificationResultInnerRoiResult
- CaptureClassificationResultInnerRoiResultBlockRoiRegionParams
- RecipeId
Documentation For Authorization
Endpoints do not require authorization.
Author
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file overview_client-0.0.1.tar.gz.
File metadata
- Download URL: overview_client-0.0.1.tar.gz
- Upload date:
- Size: 23.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33b68c52198a082627bf88acd53b5f0d5c3ddfd07d3a90a5dea3435966cade19
|
|
| MD5 |
a19b4e3dcb97069367573c03a2e7142b
|
|
| BLAKE2b-256 |
cc86695c78cede6890a553559bce43cc8c1eca1a86b09a2151fa2194b5b758cd
|
File details
Details for the file overview_client-0.0.1-py3-none-any.whl.
File metadata
- Download URL: overview_client-0.0.1-py3-none-any.whl
- Upload date:
- Size: 36.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
313182ad55101e6dacfd79c971c031e36673e6b162a615614361cb0eef33d57d
|
|
| MD5 |
0416ba06d3ce32cca10e8a33046bf01f
|
|
| BLAKE2b-256 |
c6f9a6422dbb7c5b65437ac9c9f0b4bae69d6cb5860294710a213aba24278c57
|