> ## Documentation Index
> Fetch the complete documentation index at: https://docs.edgeimpulse.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Vial tubes

> A labeled image dataset for training visual regression models to predict liquid fill levels in vial tubes.

export const CardOpenStudioDataset = ({href}) => <Card title="Open dataset in Edge Impulse Studio" icon="laptop-file" href={href}>
    Clone this ready-to-use dataset into your Edge Impulse account and start experimenting immediately.
  </Card>;

**Task:** Visual Regression

**License:** [BSD 3-Clause Clear](https://spdx.org/licenses/BSD-3-Clause-Clear.html)

<CardOpenStudioDataset href="https://studio.edgeimpulse.com/public/571331/latest" />

<Frame caption="Dataset Screenshot">
  <img src="https://mintcdn.com/edgeimpulse/pssAI2UB-dmQQKtc/.assets/images/dataset-screenshot/571331.png?fit=max&auto=format&n=pssAI2UB-dmQQKtc&q=85&s=7f9ad68e0a55ff16a7461115be14ca2d" width="1600" height="719" data-path=".assets/images/dataset-screenshot/571331.png" />
</Frame>

## Description

This dataset has been generated by Edge Impulse teams and contains images of vial tubes filled at different levels with a green liquid.

The images in the training set have been captured using 5 different backgrounds. The images in the testing set have been captured using 9 different backgrounds. The `background` information is available in the metadata of the data samples.

### Compatible Blocks

* **Feature extraction**: [Image](/studio/projects/processing-blocks/blocks/image)
* **Learning block**: [Regression](/studio/projects/learning-blocks/blocks/regression)

*Not sure what to choose? Try out this dataset with the [EON Tuner](/studio/projects/eon-tuner).*

### Dataset Details

* **Total Data Items:** 747

* **Labeling Method:** single label

* **Train/Test Split:** 66.67% / 33.33%

|                      | **Training Set**                  | **Testing Set**                                  |
| -------------------- | --------------------------------- | ------------------------------------------------ |
| **Total Data Items** | 498                               | 249                                              |
| **Labels**           | -1, 0, 0.5, 0.75, 1, 1.25, 1.5, 2 | -1, 0, 0.4, 0.5, 0.7, 0.75, 1, 1.2, 1.25, 1.5, 2 |

## Usage

### Clone the project in Edge Impulse Studio (recommended)

The fastest way to get started is to clone the public project directly into your Edge Impulse account. This gives you immediate access to the full dataset, a pre-configured impulse, and a trained model — ready to explore or retrain.

<Card title="Clone project in Edge Impulse Studio" icon="clone" href="https://studio.edgeimpulse.com/public/571331/latest">
  Click **Clone** in the top-right corner of the project page and follow the instructions. A free Edge Impulse account is required.
</Card>

### Download and import

To import the raw dataset into an existing project, download it below. A free [Edge Impulse account](https://studio.edgeimpulse.com/signup) is required to train models.

* [Download dataset](https://cdn.edgeimpulse.com/datasets/Visual+Regression+-+Vial+tubes.zip)

This dataset uses the Edge Impulse Exporter Format (`info.labels`). See [Edge Impulse labels](/tools/specifications/data-annotation/ei-labels) for more info.

Available import methods:

* [Studio uploader](/studio/projects/data-acquisition/dataset/uploader)
* [CLI uploader](/tools/clis/edge-impulse-cli/uploader)
* [CSV Wizard](/studio/projects/data-acquisition/csv-wizard)
* [Python SDK](/tutorials/tools/sdks/studio/python/upload-download-data)
* [Ingestion API](/apis/ingestion)
* [Import from S3 buckets](/studio/projects/data-acquisition/data-sources)
* [Upload portals](/studio/organizations/upload-portals)

## Citation

If you use this dataset in your research paper, please cite it using the following BibTeX:

```
@misc{edgeimpulse_dataset_571331,
    title = {Visual Regression - Vial tubes},
    author = {Edge Impulse},
    year = {2024},
    url = {https://studio.edgeimpulse.com/public/571331/latest},
    note = {BSD 3-Clause Clear}
}
```
