Skip to content
Inference Models
ColorFormat
Initializing search
roboflow/inference
Home
Getting Started
Models
How-To
Contributors
API Reference
Errors
Changelog
Inference Models
roboflow/inference
Home
Getting Started
Getting Started
Installation
Quick Overview
Hardware Compatibility
Docker Environments
TensorRT Compilation
Models
Models
Overview
Object Detection
Object Detection
RF-DETR
YOLOv5
YOLOv8
YOLOv9
YOLOv10
YOLOv11
YOLOv12
YOLO26
YOLO-NAS
Roboflow Instant
Instance Segmentation
Instance Segmentation
RF-DETR
YOLOv5
YOLOv7
YOLOv8
YOLOv11
YOLO26
YOLACT
Classification
Classification
YOLOv8
YOLOv11
ResNet
ViT
DINOv3
OCR
OCR
DocTR
EasyOCR
TrOCR
Keypoint Detection
Keypoint Detection
YOLOv8
YOLOv11
YOLO26
MediaPipe Face Detection
Interactive Segmentation
Interactive Segmentation
SAM
SAM2
SAM2 RT
Vision-Language Models
Vision-Language Models
Florence-2
PaliGemma
Qwen2.5-VL
Qwen3-VL
SmolVLM
Moondream2
Embeddings
Embeddings
CLIP
Perception Encoder
Semantic Segmentation
Semantic Segmentation
DeepLabV3+
Open-Vocabulary Object Detection
Open-Vocabulary Object Detection
Grounding DINO
OWLv2
Depth Estimation
Depth Estimation
Depth Anything V2
Depth Anything V3
Gaze Detection
Gaze Detection
L2CS-Net
How-To
How-To
Understand Core Concepts
Choose the Right Backend
Work with Model Predictions
Understand Prediction Parameters
Debug Model Loading Issues
Configure Environment Variables
Load Models Locally
Understand Roboflow Model Packages
Manage Cache
Use CUDA Graphs
Contributors
Contributors
Development Environment
Core Architecture
Dependencies and Backends
Adding a Model
Writing Tests
API Reference
API Reference
Overview
Core Classes
Core Classes
AutoModel
AutoModelPipeline
Prediction Types
Prediction Types
Detections
InstanceDetections
KeyPoints
ClassificationPrediction
MultiLabelClassificationPrediction
Enums and Types
Enums and Types
BackendType
ColorFormat
ColorFormat
Table of contents
ColorFormat
Quantization
Developer Tools
Developer Tools
Overview
Base Functions
Base Functions
get_model_package_contents
x_ray_runtime_environment
download_files_to_directory
get_selected_onnx_execution_providers
get_model_from_provider
register_model_provider
Backend-Specific Utilities
Backend-Specific Utilities
CUDA
CUDA
use_primary_cuda_context
use_cuda_context
ONNX
ONNX
set_onnx_execution_provider_defaults
run_onnx_session_with_batch_size_limit
run_onnx_session_via_iobinding
PyTorch
PyTorch
generate_batch_chunks
TensorRT
TensorRT
get_trt_engine_inputs_and_outputs
infer_from_trt_engine
load_trt_model
establish_trt_cuda_graph_cache
TRTCudaGraphCache
Entities
Entities
RuntimeXRayResult
ModelMetadata
ModelDependency
ModelPackageMetadata
TorchScriptPackageDetails
ONNXPackageDetails
TRTPackageDetails
JetsonEnvironmentRequirements
ServerEnvironmentRequirements
FileDownloadSpecs
Errors
Errors
Overview
Model Loading
Package Negotiation
Model Retrieval
File & Download
Runtime & Environment
Input & Validation
Models Runtime
Changelog
Table of contents
ColorFormat
ColorFormat
¶
inference_models.ColorFormat
module-attribute
¶
ColorFormat
=
Literal
[
'rgb'
,
'bgr'
]