tensorflow/lite/g3doc/api_docs/python/tflite_model_maker/object_detector.md
page_type: reference description: APIs to train an object detection model.
<link rel="stylesheet" href="/site-assets/css/style.css"> <!-- DO NOT EDIT! Automatically generated file. --> <div itemscope itemtype="http://developers.google.com/ReferenceObject"> <meta itemprop="name" content="tflite_model_maker.object_detector" /> <meta itemprop="path" content="Stable" /> </div>View source on GitHub
APIs to train an object detection model.
class DataLoader: DataLoader for object detector.
class EfficientDetSpec: A specification of the EfficientDet model.
class ObjectDetector: ObjectDetector class for inference and exporting to tflite.
EfficientDetLite0Spec(...): Creates EfficientDet-Lite0 model spec. See also: <a href="../tflite_model_maker/object_detector/EfficientDetSpec"><code>tflite_model_maker.object_detector.EfficientDetSpec</code></a>.
EfficientDetLite1Spec(...): Creates EfficientDet-Lite1 model spec. See also: <a href="../tflite_model_maker/object_detector/EfficientDetSpec"><code>tflite_model_maker.object_detector.EfficientDetSpec</code></a>.
EfficientDetLite2Spec(...): Creates EfficientDet-Lite2 model spec. See also: <a href="../tflite_model_maker/object_detector/EfficientDetSpec"><code>tflite_model_maker.object_detector.EfficientDetSpec</code></a>.
EfficientDetLite3Spec(...): Creates EfficientDet-Lite3 model spec. See also: <a href="../tflite_model_maker/object_detector/EfficientDetSpec"><code>tflite_model_maker.object_detector.EfficientDetSpec</code></a>.
EfficientDetLite4Spec(...): Creates EfficientDet-Lite4 model spec. See also: <a href="../tflite_model_maker/object_detector/EfficientDetSpec"><code>tflite_model_maker.object_detector.EfficientDetSpec</code></a>.
create(...): Loads data and train the model for object detection.