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.9.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for EXCAT_Sync-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35dd348e0daa6631806490700018850e7a434e14f256bd2da53ac669bdb85351 |
|
MD5 | 446b5cbb5294e159f1178e20aa8043ff |
|
BLAKE2b-256 | ec7aaf5d55efc4e1f67ae47557653eab384c778d1a558eef288a3c7a22ce0007 |