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.5.tar.gz
(4.9 kB
view hashes)
Built Distribution
Close
Hashes for EXCAT_Sync-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8429dde29963166a0c8876133818c12dee4ee36831c8a00b8703d0cb82b690e |
|
MD5 | 65b0cbfadd9fb3a9cfc3157bdab6f8d1 |
|
BLAKE2b-256 | 863e1c4fef36fd215a2164e1609654bc1bbe96fbd9c6ea1b8dba2fc928c3077b |