@@ -83,21 +83,21 @@ def find_image_classification_task_by_name(
8383 return None
8484 return tasks [0 ]
8585
86- def find_multi_image_task (self , task_id : str ) -> dict :
86+ def find_sequential_image_task (self , task_id : str ) -> dict :
8787 """
88- Find a single multi image task.
88+ Find a single sequential image task.
8989 """
90- endpoint = "tasks/multi -image/" + task_id
90+ endpoint = "tasks/sequential -image/" + task_id
9191 return self .api .get_request (endpoint )
9292
93- def find_multi_image_task_by_name (self , project : str , task_name : str ) -> dict :
93+ def find_sequential_image_task_by_name (self , project : str , task_name : str ) -> dict :
9494 """
95- Find a single multi image task by name.
95+ Find a single sequential image task by name.
9696
9797 project is slug of your project (Required).
9898 task_name is a task name (Required).
9999 """
100- tasks = self .get_multi_image_tasks (project = project , task_name = task_name )
100+ tasks = self .get_sequential_image_tasks (project = project , task_name = task_name )
101101 if not tasks :
102102 return None
103103 return tasks [0 ]
@@ -406,7 +406,7 @@ def get_image_classification_tasks(
406406 params ["limit" ] = limit
407407 return self .api .get_request (endpoint , params = params )
408408
409- def get_multi_image_tasks (
409+ def get_sequential_image_tasks (
410410 self ,
411411 project : str ,
412412 status : str = None ,
@@ -417,7 +417,7 @@ def get_multi_image_tasks(
417417 limit : int = 10 ,
418418 ) -> list :
419419 """
420- Returns a list of multi image tasks.
420+ Returns a list of sequential image tasks.
421421 Returns up to 10 at a time, to get more, set offset as the starting position
422422 to fetch.
423423
@@ -434,7 +434,7 @@ def get_multi_image_tasks(
434434 raise FastLabelInvalidException (
435435 "Limit must be less than or equal to 10." , 422
436436 )
437- endpoint = "tasks/multi -image"
437+ endpoint = "tasks/sequential -image"
438438 params = {"project" : project }
439439 if status :
440440 params ["status" ] = status
@@ -1054,7 +1054,7 @@ def create_image_classification_task(
10541054
10551055 return self .api .post_request (endpoint , payload = payload )
10561056
1057- def create_multi_image_task (
1057+ def create_sequential_image_task (
10581058 self ,
10591059 project : str ,
10601060 name : str ,
@@ -1067,7 +1067,7 @@ def create_multi_image_task(
10671067 ** kwargs ,
10681068 ) -> str :
10691069 """
1070- Create a single multi image task.
1070+ Create a single sequential image task.
10711071
10721072 project is slug of your project (Required).
10731073 name is an unique identifier of task in your project (Required).
@@ -1096,7 +1096,7 @@ def create_multi_image_task(
10961096 if not os .path .isdir (folder_path ):
10971097 raise FastLabelInvalidException ("Folder does not exist." , 422 )
10981098
1099- endpoint = "tasks/multi -image"
1099+ endpoint = "tasks/sequential -image"
11001100 file_paths = glob .glob (os .path .join (folder_path , "*" ))
11011101 if not file_paths :
11021102 raise FastLabelInvalidException ("Folder does not have any file." , 422 )
@@ -1878,7 +1878,7 @@ def update_image_classification_task(
18781878
18791879 return self .api .put_request (endpoint , payload = payload )
18801880
1881- def update_multi_image_task (
1881+ def update_sequential_image_task (
18821882 self ,
18831883 task_id : str ,
18841884 status : str = None ,
@@ -1889,7 +1889,7 @@ def update_multi_image_task(
18891889 ** kwargs ,
18901890 ) -> str :
18911891 """
1892- Update a multi image task.
1892+ Update a sequential image task.
18931893
18941894 task_id is an id of the task (Required).
18951895 status can be 'registered', 'completed', 'skipped', 'reviewed', 'sent_back',
@@ -1911,7 +1911,7 @@ def update_multi_image_task(
19111911 external_reviewer is slug of external review user (Optional).
19121912 external_approver is slug of external approve user (Optional).
19131913 """
1914- endpoint = "tasks/multi -image/" + task_id
1914+ endpoint = "tasks/sequential -image/" + task_id
19151915 payload = {}
19161916 if status :
19171917 payload ["status" ] = status
@@ -3174,8 +3174,8 @@ def __create_image_with_annotation(self, img_file_path_task):
31743174 for points in region :
31753175 if count == 0 :
31763176 cv_draw_points = self .__get_cv_draw_points (points )
3177- # For diagonal segmentation points, fillPoly cannot rendering cv_drawpoints , so convert
3178- # shape. When multiimage project can use only pixcel mode, remove it
3177+ # For diagonal segmentation points, fillPoly cannot rendering cv_draw_points , so convert
3178+ # shape. When sequential image project can use only pixel mode, remove it
31793179 converted_points = (
31803180 np .array (cv_draw_points )
31813181 .reshape ((- 1 , 1 , 2 ))
@@ -3639,9 +3639,9 @@ def create_project(
36393639 Create a project.
36403640
36413641 type can be 'image_bbox', 'image_polygon', 'image_keypoint', 'image_line',
3642- 'image_segmentation', 'image_classification', 'image_all', 'multi_image_bbox ',
3643- 'multi_image_polygon ', 'multi_image_keypoint ', 'multi_image_line ',
3644- 'multi_image_segmentation ', 'video_bbox',
3642+ 'image_segmentation', 'image_classification', 'image_all', 'sequential_image_bbox ',
3643+ 'sequential_image_polygon ', 'sequential_image_keypoint ', 'sequential_image_line ',
3644+ 'sequential_image_segmentation ', 'video_bbox',
36453645 'video_single_classification' (Required).
36463646 name is name of your project (Required).
36473647 slug is slug of your project (Required).
0 commit comments