深圳Yolo 视觉
深圳
立即加入
词汇表

边缘计算

探索边缘计算的强大功能:通过本地数据处理提高效率、减少延迟并实现实时 AI 应用程序。

Edge computing is a distributed information technology architecture that brings data processing and storage closer to the location where it is needed, rather than relying on a central location typically thousands of miles away. By handling data near the source—such as on local servers, IoT gateways, or the devices themselves—this approach significantly reduces latency and minimizes the bandwidth required for data transmission. In the context of artificial intelligence and machine learning, edge computing provides the critical infrastructure needed to deploy Edge AI, allowing sophisticated models to run directly on smart cameras, drones, and industrial sensors with immediate responsiveness.

The Core Benefits of Edge Computing

The shift from centralized cloud processing to localized edge processing offers several transformative advantages, particularly for computer vision and real-time analytics.

  • Reduced Latency: Traditional cloud architectures require data to travel to a data center for processing and then back to the device. Edge computing eliminates this round trip, enabling real-time inference where milliseconds matter. This is essential for safety-critical systems like autonomous vehicles that must make split-second braking decisions.
  • Bandwidth Efficiency: transmitting high-definition video streams for object detection consumes immense bandwidth. By processing raw data locally and sending only relevant metadata or alerts to the cloud, organizations can drastically cut data transmission costs.
  • Enhanced Data Privacy: Sensitive information, such as medical imagery or facial recognition data, can be processed entirely within the local environment. This local containment supports compliance with strict regulations like GDPR by ensuring personal data never leaves the device.
  • Offline Functionality: Edge devices can continue to operate autonomously even when internet connectivity is intermittent or lost. This reliability is vital for applications like AI in agriculture, where drones monitor crops in remote fields with poor network coverage.

Edge Computing vs. Cloud Computing

While cloud computing excels at storing massive datasets and training large-scale models, edge computing focuses on the execution phase. It is helpful to view them as complementary technologies rather than competitors. The cloud is often used for model training, where heavy computational power is needed to process historical data. Once trained, the optimized model is deployed to the edge for inference. This hybrid approach leverages the strengths of both: the infinite scalability of the cloud and the speed of the edge.

实际应用

Edge computing is reshaping industries by embedding intelligence directly into physical operations.

  • Smart Manufacturing: In industrial automation, factories use edge gateways to analyze sensor data from machinery. If a vibration anomaly is detected, the system can trigger predictive maintenance protocols instantly, preventing costly downtime.
  • Intelligent Retail: Brick-and-mortar stores utilize edge-powered cameras for inventory management. Systems can autonomously track stock levels on shelves and alert staff to restock items, enhancing operational efficiency without streaming customer video feeds to external servers.
  • Traffic Management: Smart cities deploy edge nodes at intersections to control traffic signals. By analyzing traffic flow in real-time locally, these systems can optimize light timing to reduce congestion, functioning independently of central control centers.

将模型部署到边缘

To run complex models on resource-constrained edge devices, developers often use optimization techniques like model quantization or export to specialized formats like TensorRT or ONNX. The Ultralytics Platform simplifies this process, allowing users to train models in the cloud and deploy them to various edge targets seamlessly.

The following example demonstrates how to export a YOLO26 model to the NCNN format, which is highly optimized for mobile and embedded edge devices.

from ultralytics import YOLO

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

# Export the model to NCNN format for mobile edge deployment
# This creates a lightweight, optimized version of the model
model.export(format="ncnn")

相关概念

  • Edge AI: While edge computing refers to the distributed infrastructure, Edge AI specifically refers to the application of artificial intelligence algorithms running on that infrastructure.
  • Internet of Things (IoT): The network of physical objects—"things"—embedded with sensors and software. Edge computing provides the processing power that makes these IoT devices "smart."
  • Fog Computing: A decentralized computing infrastructure where data, compute, storage, and applications are located somewhere between the data source and the cloud, often considered an extension of cloud computing to the edge.

加入Ultralytics 社区

加入人工智能的未来。与全球创新者联系、协作和共同成长

立即加入