Annotell Input Api Client
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
Annotell Input Api
Python 3 library providing access to Annotell Input Api
To install with pip run pip install annotell-input-api
Example
Set env ANNOTELL_CREDENTIALS to the credentials file provided to you by Annotell, see annotell-auth.
Once set, the easiest way to test if everything is working is to use the
command line util annoutil (this is a part of the pip package).
$ annoutil projects
Changelog
All notable changes to this project will be documented in this file.
[0.3.1] - 2020-07-16
Changed
- If the upload of point clouds or images crashes and returns status code 429, 408 or 5xx the script will
retry the upload before crashing. The default settings may be changed when initializing the
InputApiClientby specifying values to themax_upload_retry_attemptsandmax_upload_retry_wait_timeparameters.
[0.3.0] - 2020-07-03
Changed
- The method
create_inputs_point_cloud_with_imagesinInputApiClientnow takes an extra parameter:dryrun: bool. If set toTrueall the validation checks will be run but no inputJob will be created, and if it is set toFalsean inputJob will be created if the validation checks all pass.
Bugfixes
- Fixed bug where the uploading of .csv files to GCS crashed if run on some windows machines.
[0.2.9] - 2020-07-02
Added
- New public method in
InputApiClient:count_inputs_for_external_ids.
[0.2.8] - 2020-06-30
Added
- Docstrings for all public methods in the
InputApiClientclass
[0.2.7] - 2020-06-29
Added
- Require time specification to be send when posting slam requests
[0.2.6] - 2020-06-26
Changed
- Removed
CalibrationSpecfromCalibratedSceneMetaDataandSlamMetaData. Updated so thatcreate_calibration_datainInputApiClientonly takes aCalibrationSpecas parameter.
[0.2.5] - 2020-06-22
Bugfixes
- Fixed issue where a path including a "~" would not expand correctly.
[0.2.4] - 2020-06-17
Changed
- Changed pointcloud_with_images model. Images and point clouds are now represented as
ImageandPointCloudcontaining filename and source. Consequently,images_to_sourceis removed fromSourceSpecification.
Added
- create Image inputs via
create_images_input_job - It's now possible to invalidate erroneous inputs via
invalidate_inputs - Support for removing specific inputs via
remove_inputs_from_input_list - SLAM support (not generally available)
Bugfixes
- Fixed issue where annoutils would not deserialize datas correctly when querying datas by internalId
[0.2.3] - 2020-04-21
Changed
- Changed how timestamps are represented when receiving responses.
[0.2.2] - 2020-04-17
Added
- Methods
get_datas_for_inputs_by_internal_idsandget_datas_for_inputs_by_external_idscan be used to get whichDataare part of anInput, useful in order to check which images, lidar-files have been uploaded. Both are also available in the CLI via :
$ annoutil inputs --get-datas <internal_ids>
$ annoutil inputs-externalid --get-datas <external_ids>
- Support has been added for
Kannalacamera types. Whenever adding calibration forKannalaundistortion coefficients must also be added. - Calibration is now represented as a class and is no longer just a dictionary, making it easier to understand how the Annotell format is structured and used.
[0.2.0] - 2020-04-16
Changed
- Change constructor to disable legacy api token support and only accept an
authparameter
[0.1.5] - 2020-04-07
Added
- Method
get_input_jobs_statusnow accepts lists of internal_ids and external_ids as arguments.
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 annotell-input-api-0.3.1.tar.gz.
File metadata
- Download URL: annotell-input-api-0.3.1.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
994b919519cd9b2aa69791faa800428e0d8a8eba9d1cbb328a01cb375a53d5ad
|
|
| MD5 |
93803453cfdfd992ec3bda0ba20fd160
|
|
| BLAKE2b-256 |
cf8173dce54e82ca68bce51bfb7192f6f3c1d83c386a80c2cfa3dbd3adaf21d6
|
File details
Details for the file annotell_input_api-0.3.1-py3-none-any.whl.
File metadata
- Download URL: annotell_input_api-0.3.1-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0191dad13790be13b2f47834280b9648fbd87c2f09bff0c5bac989ac34fe3f4c
|
|
| MD5 |
a57f47f319d07b0c020b518f62a49c10
|
|
| BLAKE2b-256 |
126d298627eb96c4ddcb1ecc9bde2fe9f5792af3f4a15d2ad5ce18c2e68067f7
|