Uploading Pre-annotations
Pre-annotations are labels which can be pre-loaded to a project which can speed up manual annotation. Size limit for uploading pre-annotations is 25 MB.
Example Usage (Synchronous):
Synchronous Pre-annotation Upload
Example Usage (Asynchronous):
Asynchronous Pre-annotation Upload
Choosing Between Sync and Async
-
Synchronous Method:
- Simpler to use - just call and wait for result
- Blocks until processing is complete
- Good for scripts and sequential processing
-
Asynchronous Method:
- Returns immediately with a Future object
- Allows you to do other work while processing
- Can set timeouts and handle long-running uploads
- Better for applications that need to stay responsive
- Upload your annotation file
- Monitor the processing status
- Return the final result with complete status information