Meet YOLO26: next-gen vision AI.
Ultralytics
Back to Ultralytics Glossary

Dynamic Resolution Scaling

Discover what dynamic resolution scaling is and how it optimizes performance. Learn to apply it to Ultralytics YOLO26 for efficient real-time inference.

When asking what is dynamic resolution scaling, it refers to a technique that adjusts the internal resolution of an image, video frame, or rendering pipeline in real-time to maintain a stable frame rate and optimize computational resources. Originally popularized in video games to prevent performance dips during demanding scenes, Dynamic Resolution Scaling (DRS) has become a critical concept in artificial intelligence (AI) and computer vision. By dynamically altering the resolution based on hardware load, systems can ensure consistent throughput without severe latency spikes.

Link to this sectionHow Dynamic Resolution Scaling Works#

In a standard processing pipeline, hardware is tasked with processing a fixed number of pixels. If you are wondering what does dynamic resolution scaling do, it actively monitors system performance metrics—such as inference latency or frame rendering time. If the system detects a bottleneck, DRS automatically lowers the internal resolution to reduce the workload on the graphics processing unit (GPU).

Modern implementations frequently pair DRS with advanced deep learning upscalers. In these scenarios, AI-driven graphics rendering reconstructs a high-quality output image from a lower-resolution base. This allows algorithms to analyze or display scenes smoothly while AI intelligently fills in the missing visual information.

Link to this sectionReal-World Applications#

Dynamic Resolution Scaling is heavily utilized across both computer graphics and machine learning deployments to balance speed and accuracy:

Link to this sectionShould You Use Dynamic Resolution Scaling?#

A common question among developers is should I use dynamic resolution scaling, and whether is dynamic resolution scaling good for edge computing deployments. The answer is generally yes, especially for systems where consistent performance is more critical than analyzing every minute visual detail. While static resolution forces the processing of the same pixel count regardless of computational cost, DRS provides the flexibility to prevent software crashes or stuttering. If you are configuring a computer vision pipeline on the Ultralytics Platform, utilizing an adaptive resolution strategy can be just as impactful as optimizing your batch size or applying model quantization to improve overall pipeline efficiency.

Unlike Variable Rate Shading, which reduces texture detail selectively in specific parts of an image, DRS scales the entire image footprint. This strictly impacts the global input dimension passed to the PyTorch framework or graphics engine.

Link to this sectionImplementing Adaptive Resolution in Vision AI#

You can easily build a script using the Python programming language that mimics DRS by dynamically altering the image size passed to the model's predict mode. By exploiting dynamic graph architectures, the model seamlessly adjusts to the new size on the fly without needing to reload.

from ultralytics import YOLO

# Load a pre-trained Ultralytics YOLO26 model
model = YOLO("yolo26n.pt")


def adaptive_inference(frame, current_fps):
    # Dynamically scale input resolution based on system performance (e.g., target 30 FPS)
    input_size = 640 if current_fps > 30 else 320

    # Run inference with the dynamically selected resolution
    results = model.predict(source=frame, imgsz=input_size, verbose=False)
    return results

By managing resolution adaptively, you can deploy more robust computer vision systems to devices like the NVIDIA Jetson and gracefully handle performance spikes without interrupting the video feed.

Explore solutions

Real-time AI that works with your team

AI in Robotics

Power smarter machines with Ultralytics YOLO models. Vision AI in robotics drives autonomous navigation, perception, object tracking, and real-time control.
Learn more
Real-time AI that works with your team

AI in Logistics

Streamline logistics with Ultralytics YOLO models. Vision AI enables package inspection, sorting, vehicle tracking, and real-time warehouse safety monitoring.
Learn more
Real-time AI that works with your team

AI in Retail

Reimagine retail with Ultralytics YOLO models. Vision AI powers inventory tracking, shelf monitoring, queue management, and smarter customer insights.
Learn more
Real-time AI that works with your team

AI in Healthcare

Build healthcare solutions with Ultralytics YOLO models. Vision AI in healthcare powers faster medical imaging, smarter diagnostics, and patient monitoring.
Learn more
Real-time AI that works with your team

AI in Manufacturing

Optimize manufacturing with Ultralytics YOLO models. Vision AI drives quality control, defect detection, PPE compliance, and assembly line automation.
Learn more
Real-time AI that works with your operation

AI in Automotive

Apply computer vision in automotive with Ultralytics YOLO models. Vision AI elevates road safety, driver assistance, and vehicle automation for smarter roads.
Learn more
Real-time AI tailored to your operation

AI in Agriculture

Bring vision AI to smart agriculture with Ultralytics YOLO models. Power crop monitoring, livestock tracking, and precision farming for higher, smarter yields.
Learn more
Real-time AI that works with your team

AI in Robotics

Power smarter machines with Ultralytics YOLO models. Vision AI in robotics drives autonomous navigation, perception, object tracking, and real-time control.
Learn more
Real-time AI that works with your team

AI in Logistics

Streamline logistics with Ultralytics YOLO models. Vision AI enables package inspection, sorting, vehicle tracking, and real-time warehouse safety monitoring.
Learn more
Real-time AI that works with your team

AI in Retail

Reimagine retail with Ultralytics YOLO models. Vision AI powers inventory tracking, shelf monitoring, queue management, and smarter customer insights.
Learn more
Real-time AI that works with your team

AI in Healthcare

Build healthcare solutions with Ultralytics YOLO models. Vision AI in healthcare powers faster medical imaging, smarter diagnostics, and patient monitoring.
Learn more
Real-time AI that works with your team

AI in Manufacturing

Optimize manufacturing with Ultralytics YOLO models. Vision AI drives quality control, defect detection, PPE compliance, and assembly line automation.
Learn more
Real-time AI that works with your operation

AI in Automotive

Apply computer vision in automotive with Ultralytics YOLO models. Vision AI elevates road safety, driver assistance, and vehicle automation for smarter roads.
Learn more
Real-time AI tailored to your operation

AI in Agriculture

Bring vision AI to smart agriculture with Ultralytics YOLO models. Power crop monitoring, livestock tracking, and precision farming for higher, smarter yields.
Learn more
Real-time AI that works with your team

AI in Robotics

Power smarter machines with Ultralytics YOLO models. Vision AI in robotics drives autonomous navigation, perception, object tracking, and real-time control.
Learn more
Real-time AI that works with your team

AI in Logistics

Streamline logistics with Ultralytics YOLO models. Vision AI enables package inspection, sorting, vehicle tracking, and real-time warehouse safety monitoring.
Learn more
Real-time AI that works with your team

AI in Retail

Reimagine retail with Ultralytics YOLO models. Vision AI powers inventory tracking, shelf monitoring, queue management, and smarter customer insights.
Learn more
Real-time AI that works with your team

AI in Healthcare

Build healthcare solutions with Ultralytics YOLO models. Vision AI in healthcare powers faster medical imaging, smarter diagnostics, and patient monitoring.
Learn more
Real-time AI that works with your team

AI in Manufacturing

Optimize manufacturing with Ultralytics YOLO models. Vision AI drives quality control, defect detection, PPE compliance, and assembly line automation.
Learn more
Real-time AI that works with your operation

AI in Automotive

Apply computer vision in automotive with Ultralytics YOLO models. Vision AI elevates road safety, driver assistance, and vehicle automation for smarter roads.
Learn more
Real-time AI tailored to your operation

AI in Agriculture

Bring vision AI to smart agriculture with Ultralytics YOLO models. Power crop monitoring, livestock tracking, and precision farming for higher, smarter yields.
Learn more

Let's build the future of AI together!

Begin your journey with the future of machine learning