% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dataset-pascal.R
\name{pascal_voc_classes}
\alias{pascal_voc_classes}
\title{Pascal VOC Segmentation Dataset}
\usage{
pascal_voc_classes(class_id = 1:21)
}
\arguments{
\item{class_id}{Integer vector of 1-based class identifiers. Must be within [1, 21].}
}
\description{
The Pascal Visual Object Classes (VOC) dataset is a widely used benchmark for object detection and semantic segmentation tasks in computer vision.
}
\details{
This dataset provides RGB images along with per-pixel class segmentation masks for 20 object categories, plus a background class.
Each pixel in the mask is labeled with a class index corresponding to one of the predefined semantic categories.

The VOC dataset was released in yearly editions (2007 to 2012), with slight variations in data splits and annotation formats.
Notably, only the 2007 edition includes a separate \code{test} split; all other years (2008–2012) provide only the \code{train}, \code{val}, and \code{trainval} splits.

The dataset defines 21 semantic classes: \code{"background"}, \code{"aeroplane"}, \code{"bicycle"}, \code{"bird"}, \code{"boat"}, \code{"bottle"}, \code{"bus"}, \code{"car"}, \code{"cat"}, \code{"chair"},
\code{"cow"}, \code{"dining table"}, \code{"dog"}, \code{"horse"}, \code{"motorbike"}, \code{"person"}, \code{"potted plant"}, \code{"sheep"}, \code{"sofa"}, \code{"train"}, and \code{"tv/monitor"}.
They are available through the \code{classes} variable of the dataset object.
}
\seealso{
Other class_resolution: 
\code{\link{caltech_classes}()},
\code{\link{coco_classes}()},
\code{\link{imagenet_classes}()}
}
\concept{class_resolution}
