Image-Based Datasets
Last updated
Last updated
In this dataset, you can assign classes to individual images for image classification purposes.
Creating an Image-Based dataset in UbiAI is straightforward, with clear steps to guide you through the entire process.
You will first need to define labels for your dataset. This step is optional but highly recommended.
classification labels help categorize images into different classes. There are different types of classification you can choose from:
Binary Classification: Used when classifying images into two categories, such as "Positive" and "Negative." For example, classifying images as either "Cat" or "Not Cat."
Single Classification: Applied when each image fits into only one category (e.g., classifying images as "Beach," "Mountain," "Desert," etc.).
Multi-Classification: Used when an image can belong to multiple categories at once. For example, an image might be classified as both "Nature" and "Landscape."
Once you've defined your labels, it's time to upload your files.
Maximum File Size: The maximum size for each uploaded file is 500MB.
Click on the "Upload" button and wait for the platform to process your files then start annotating. Since this is an Image-Based dataset, the main focus will be on classification, so there’s no need for entities or relation labels.
There is no pre-annotation for the Image-Based dataset type.
With object detection, you can draw a bounding box around an image to assign a label. This is useful to supplement your OCR annotation with non-textual entity such as a signature, figures and images.
Once your dataset is validated and ready, you can choose to either add more documents or export your annotated dataset.
Add More Data: If you wish to expand your dataset, simply upload new documents and add them to your existing dataset.
Export the Dataset: To use your annotated dataset outside of UbiAI, click on Export. You can filter the data based on specific labels and select a split ratio.
For MacOs users, it is recommended to unzip the file using Winzip in order to preserve file names.
To upload files using the UbiAI API, you can use the following code:
To export files using the UbiAI API, you can use this code: