A package to download images and annotations from the EXACT Server https://github.com/ChristianMarzahl/Exact
Project description
EXACT-Sync
Rest API sync with the EXACT Server https://github.com/ChristianMarzahl/Exact
Example Notebooks
In the folder examples or: https://colab.research.google.com/drive/1nOTyAVwzBDMSEAdgjbdpe7isGfeVpusK
Basic features:
Get image set information
username="Demo"
password="demodemo"
serverurl="http://127.0.0.1:8000/"
target_folder = Path('examples/images/')
manager = ExactManager(username=username, password=password, serverurl=serverurl)
imageset = manager.retrieve_imagesets()
Upload image to image set
manager.upload_image_to_imageset(imageset_id=image_set['id'], filename="example.png")
Donwload image from image set
id = image['id']
name = image['name']
image_path = target_folder/name
manager.download_image(id, image_path, None)# , original_image=True
Download image annotations
id = image['id']
annotations = manager.retrieve_annotations(id)
Pip
pip install EXCAT-Sync
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
EXCAT-Sync-0.0.8.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for EXCAT_Sync-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 528ce8307941e0be9bab551119e83fd6f7655542b20af8a2f2e1faa6469b63b2 |
|
MD5 | cebd9dbc874d0cd3c5ec8e63e07b0d83 |
|
BLAKE2b-256 | 5c35b69773c2ed5735a891959fcdc18d21d51548f16c2f8bacc6dc75cdeaba47 |