Skip to main content

CAM2 database API python client

image

What is this repository for?

This repository stores the source code for the CAM2 camera API's python client.

This is part of Purdue's CAM2 (Continuous Analysis of Many Cameras) project. The project's web site is https://www.cam2project.net/

Please read the terms of use https://www.cam2project.net/terms/

In particular, "You agree not to use the Platform to determine the identity of any specific individuals contained in any video or video stream."

The lead investigator is Dr. Yung-Hsiang Lu, yunglu@purdue.edu. Please send your questions, comments, or suggestions to him.

Motivation

We have a centralized repository of cameras which can be accessed using the CameraDatabase API. We also have numerous image processing teams in CAM2 (continuous Analysis of Many Cameras). But we have a problem. A basic client is to be made which can interact with our server to automate the process of retrieving data from the database. If every team creates a new client it will lead to maintenance issues and the API development team will be under a restriction of not be able to change API in a swift manner (as all the users of the api will have to be notified of every change).

To Overcome this problem the Developers of the API have created this client which allows successful transactions with the API. This allows the API developers to be flexible and are held responsible for maintaining this client.

Documentation

Full documentation and examples can be found at https://purduecam2project.github.io/CameraDatabaseClient.

Location

The CAM2 client is available for pip install in https://pypi.org/

Registration

In order to access the API, you must make an account through the CAM2 project website, and register a new application. The website can be found here: https://www.cam2project.net/.

Usage

Step 1) Please use the following command to install the package: 'pip install CAM2CameraDatabaseAPIClient'.

Step 2) On the Class import the CAM2CameraDatabaseAPIClient's client and camera classes.

Step 3) Create an object of client and pass the clientID and clientSecret as parameters.

Step 4) Use the routes of the API, for description of all the methods please view the documentation (https://purduecam2project.github.io/CameraDatabaseClient)

Metadata

Release files for CAM2CameraDatabaseClient 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CAM2CameraDatabaseClient 1.0.2
File Size Uploaded
CAM2CameraDatabaseClient-1.0.2.tar.gz 18.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for CAM2CameraDatabaseClient 1.0.2
File Interpreter ABI Platform
CAM2CameraDatabaseClient-1.0.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 39.9 kB

Release files / CAM2CameraDatabaseClient-1.0.2.tar.gz

Download URL CAM2CameraDatabaseClient-1.0.2.tar.gz
Size 18.7 kB
Tags Source
SHA-256 checksum
How to use checksums
deedaf9d9c0a4bff28b68f4e3f6815ff573114d5920f3bbb8a7f93f7c21f907b
BLAKE2b-256 checksum
How to use checksums
5d546815bcfc75c749dbda6bef69c6d44831bf996da9a9cde7b852bac411d2fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.2

Release files / CAM2CameraDatabaseClient-1.0.2-py2.py3-none-any.whl

Download URL CAM2CameraDatabaseClient-1.0.2-py2.py3-none-any.whl
Size 21.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7ca1dbcedfe8bdb17e4bbe91b30e326093dbacb352486b743fd31904b80da229
BLAKE2b-256 checksum
How to use checksums
15ff47e511691c74241cc23fe9d3cc7066b514ce27245e001cb7ec27a1aa6786
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.2

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page