Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ task_id = client.create_image_task(
project="YOUR_PROJECT_SLUG",
name="sample.jpg",
file_path="./sample.jpg",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
annotations=[{
"type": "bbox",
"value": "annotation-value",
Expand Down Expand Up @@ -182,6 +183,7 @@ Update a single task.
task_id = client.update_image_task(
task_id="YOUR_TASK_ID",
status="approved",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
assignee="USER_SLUG",
tags=["tag1", "tag2"],
annotations=[
Expand Down Expand Up @@ -215,6 +217,7 @@ Example of a single image task object
"url": "YOUR_TASK_URL",
"status": "registered",
"externalStatus": "registered",
"priority": 10,
"tags": [],
"assignee": "ASSIGNEE_NAME",
"reviewer": "REVIEWER_NAME",
Expand Down Expand Up @@ -254,6 +257,7 @@ Example when the project type is Image - Pose Estimation
"url": "YOUR_TASK_URL",
"status": "registered",
"externalStatus": "registered",
"priority": 10,
"tags": [],
"assignee": "ASSIGNEE_NAME",
"reviewer": "REVIEWER_NAME",
Expand Down Expand Up @@ -401,6 +405,7 @@ task_id = client.create_image_classification_task(
project="YOUR_PROJECT_SLUG",
name="sample.jpg",
file_path="./sample.jpg",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
attributes=[
{
"key": "attribute-key",
Expand Down Expand Up @@ -444,6 +449,7 @@ Update a single task.
task_id = client.update_image_classification_task(
task_id="YOUR_TASK_ID",
status="approved",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
assignee="USER_SLUG",
tags=["tag1", "tag2"],
attributes=[
Expand All @@ -468,6 +474,7 @@ Example of a single image classification task object
"url": "YOUR_TASK_URL",
"status": "registered",
"externalStatus": "registered",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
"tags": [],
"assignee": "ASSIGNEE_NAME",
"reviewer": "REVIEWER_NAME",
Expand Down Expand Up @@ -505,6 +512,7 @@ task = client.create_multi_image_task(
project="YOUR_PROJECT_SLUG",
name="sample",
folder_path="./sample",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
annotations=[{
"type": "segmentation",
"value": "annotation-value",
Expand Down Expand Up @@ -569,6 +577,7 @@ task_id = client.update_multi_image_task(
status="approved",
assignee="USER_SLUG",
tags=["tag1", "tag2"],
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
annotations=[
{
"type": "bbox",
Expand Down Expand Up @@ -601,6 +610,7 @@ Example of a single task object
],
"status": "registered",
"externalStatus": "registered",
"priority": 10,
"tags": [],
"assignee": "ASSIGNEE_NAME",
"reviewer": "REVIEWER_NAME",
Expand Down Expand Up @@ -660,6 +670,7 @@ task_id = client.create_video_task(
project="YOUR_PROJECT_SLUG",
name="sample.mp4",
file_path="./sample.mp4",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
annotations=[{
"type": "bbox",
"value": "person",
Expand Down Expand Up @@ -732,6 +743,7 @@ Update a single task.
task_id = client.update_video_task(
task_id="YOUR_TASK_ID",
status="approved",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
assignee="USER_SLUG",
tags=["tag1", "tag2"],
annotations=[{
Expand Down Expand Up @@ -813,6 +825,7 @@ Example of a single vide task object
"url": "YOUR_TASK_URL",
"status": "registered",
"externalStatus": "registered",
"priority": 10,
"tags": [],
"assignee": "ASSIGNEE_NAME",
"reviewer": "REVIEWER_NAME",
Expand Down Expand Up @@ -876,6 +889,7 @@ task_id = client.create_video_classification_task(
project="YOUR_PROJECT_SLUG",
name="sample.mp4",
file_path="./sample.mp4",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
attributes=[
{
"key": "attribute-key",
Expand Down Expand Up @@ -919,6 +933,7 @@ Update a single task.
task_id = client.update_video_classification_task(
task_id="YOUR_TASK_ID",
status="approved",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
assignee="USER_SLUG",
tags=["tag1", "tag2"],
attributes=[
Expand Down Expand Up @@ -955,6 +970,7 @@ task_id = client.create_text_task(
project="YOUR_PROJECT_SLUG",
name="sample.txt",
file_path="./sample.txt",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
annotations=[{
"type": "ner",
"value": "person",
Expand Down Expand Up @@ -999,6 +1015,7 @@ Update a single task.
task_id = client.update_text_task(
task_id="YOUR_TASK_ID",
status="approved",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
assignee="USER_SLUG",
tags=["tag1", "tag2"],
annotations=[{
Expand All @@ -1022,6 +1039,7 @@ Example of a single text task object
"url": "YOUR_TASK_URL",
"status": "registered",
"externalStatus": "registered",
"priority": 10,
"tags": [],
"assignee": "ASSIGNEE_NAME",
"reviewer": "REVIEWER_NAME",
Expand Down Expand Up @@ -1059,6 +1077,7 @@ task_id = client.create_text_classification_task(
project="YOUR_PROJECT_SLUG",
name="sample.txt",
file_path="./sample.txt",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
attributes=[
{
"key": "attribute-key",
Expand Down Expand Up @@ -1102,6 +1121,7 @@ Update a single task.
task_id = client.update_text_classification_task(
task_id="YOUR_TASK_ID",
status="approved",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
assignee="USER_SLUG",
tags=["tag1", "tag2"],
attributes=[
Expand Down Expand Up @@ -1138,6 +1158,7 @@ task_id = client.create_audio_task(
project="YOUR_PROJECT_SLUG",
name="sample.mp3",
file_path="./sample.mp3",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
annotations=[{
"type": "segmentation",
"value": "person",
Expand Down Expand Up @@ -1181,6 +1202,7 @@ Update a single task.
task_id = client.update_audio_task(
task_id="YOUR_TASK_ID",
status="approved",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
assignee="USER_SLUG",
tags=["tag1", "tag2"],
annotations=[{
Expand All @@ -1203,6 +1225,7 @@ Example of a single audio task object
"url": "YOUR_TASK_URL",
"status": "registered",
"externalStatus": "registered",
"priority": 10,
"tags": [],
"assignee": "ASSIGNEE_NAME",
"reviewer": "REVIEWER_NAME",
Expand Down Expand Up @@ -1289,6 +1312,7 @@ task_id = client.create_audio_classification_task(
project="YOUR_PROJECT_SLUG",
name="sample.mp3",
file_path="./sample.mp3",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
attributes=[
{
"key": "attribute-key",
Expand Down Expand Up @@ -1332,6 +1356,7 @@ Update a single task.
task_id = client.update_audio_classification_task(
task_id="YOUR_TASK_ID",
status="approved",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
assignee="USER_SLUG",
tags=["tag1", "tag2"],
attributes=[
Expand Down Expand Up @@ -1371,6 +1396,7 @@ task_id = client.create_pcd_task(
project="YOUR_PROJECT_SLUG",
name="sample.pcd",
file_path="./sample.pcd",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
annotations=[
{
"type": "cuboid",
Expand Down Expand Up @@ -1398,6 +1424,7 @@ task_id = client.create_pcd_task(
project="YOUR_PROJECT_SLUG",
name="sample.pcd",
file_path="./sample.pcd",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
annotations=[
{
"type": "segmentation",
Expand Down Expand Up @@ -1442,6 +1469,7 @@ Update a single task.
task_id = client.update_pcd_task(
task_id="YOUR_TASK_ID",
status="approved",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
assignee="USER_SLUG",
tags=["tag1", "tag2"],
annotations=[
Expand Down Expand Up @@ -1475,6 +1503,7 @@ Example of a single PCD task object
"url": "YOUR_TASK_URL",
"status": "registered",
"externalStatus": "registered",
"priority": 10,
"tags": ["tag1", "tag2"],
"assignee": "ASSIGNEE_NAME",
"reviewer": "REVIEWER_NAME",
Expand Down Expand Up @@ -1533,6 +1562,7 @@ task_id = client.create_sequential_pcd_task(
project="YOUR_PROJECT_SLUG",
name="drive_record",
folder_path="./drive_record/",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
annotations=[
{
"type": "cuboid", # annotation class type
Expand Down Expand Up @@ -1622,6 +1652,7 @@ Update a single task.
task_id = client.update_sequential_pcd_task(
task_id="YOUR_TASK_ID",
status="approved",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
assignee="USER_SLUG",
tags=["tag1", "tag2"],
annotations=[
Expand Down Expand Up @@ -1673,6 +1704,7 @@ Example of a single Sequential PCD task object
"name": "YOUR_TASK_NAME",
"status": "registered",
"externalStatus": "registered",
"priority": 10,
"annotations": [
{
"id": "YOUR_TASK_ANNOTATION_ID",
Expand Down Expand Up @@ -1751,6 +1783,7 @@ Update a single task status, tags and assignee.
task_id = client.update_task(
task_id="YOUR_TASK_ID",
status="approved",
priority=10, # (optional) none: 0, low: 10, medium: 20, high: 30
tags=["tag1", "tag2"],
assignee="USER_SLUG"
)
Expand Down