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.7.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for EXCAT_Sync-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78aa11b7ef53d05a73dea608ac79ac976284e2ed04224459f2460a2e46663658 |
|
MD5 | a9491d2ac674b192ae783af7af870e48 |
|
BLAKE2b-256 | 51a33611c4ec398723e584d7b29a86f914dbf03de3142e0a0c11eeed7d1ef113 |