Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
AutoML Vision Edge
plat_iosplat_android
Tạo các mô hình phân loại hình ảnh tuỳ chỉnh từ dữ liệu huấn luyện của riêng bạn bằng AutoML Vision Edge.
Nếu muốn nhận dạng nội dung của hình ảnh, bạn có thể sử dụng Bộ công cụ học máy
API gắn nhãn hình ảnh trên thiết bị
hoặc API phát hiện đối tượng trên thiết bị.
Các mô hình mà các API này sử dụng được xây dựng để sử dụng cho nhiều mục đích và được huấn luyện
để nhận dạng các khái niệm thường thấy nhất trong ảnh.
Nếu bạn cần một mô hình gắn nhãn hình ảnh hoặc mô hình phát hiện đối tượng chuyên biệt hơn, bao gồm một miền hẹp hơn
về các khái niệm chi tiết hơn—ví dụ: một mô hình để phân biệt giữa
loài hoa hoặc loại thực phẩm—bạn có thể sử dụng Firebase ML và AutoML
Vision Edge để huấn luyện một mô hình bằng hình ảnh và danh mục của riêng bạn. Tùy chỉnh
mô hình được huấn luyện bằng Google Cloud và sau khi mô hình sẵn sàng, mô hình đó sẽ được sử dụng hoàn toàn
trên thiết bị.
Tự động huấn luyện các mô hình gắn nhãn hình ảnh và phát hiện đối tượng tuỳ chỉnh để
nhận ra các nhãn bạn quan tâm bằng cách sử dụng dữ liệu huấn luyện của mình.
Lưu trữ mô hình tích hợp sẵn
Lưu trữ các mô hình của bạn bằng Firebase và tải các mô hình đó trong thời gian chạy. Theo
lưu trữ mô hình trên Firebase, bạn có thể đảm bảo cho người dùng có được
mà không cần phát hành phiên bản ứng dụng mới.
Và tất nhiên, bạn cũng có thể gói mô hình
với ứng dụng của mình, để nó
sẽ có ngay khi cài đặt.
Lộ trình triển khai
Tập hợp dữ liệu huấn luyện
Tập hợp một tập dữ liệu gồm các ví dụ về từng nhãn mà bạn muốn mô hình của mình
Google Cloud.
Huấn luyện mô hình mới
Trong bảng điều khiển của Google Cloud, hãy nhập dữ liệu huấn luyện của bạn và sử dụng dữ liệu đó để huấn luyện
một mô hình mới.
Sử dụng mô hình trong ứng dụng của bạn
Kết hợp mô hình với ứng dụng của bạn hoặc tải xuống từ Firebase khi
điều đó là cần thiết. Sau đó, dùng mẫu để gắn nhãn cho hình ảnh trên thiết bị.
Giá và Giới hạn
Để huấn luyện mô hình tuỳ chỉnh bằng AutoML Vision Edge, bạn phải trả tiền theo mức dùng
(Tăng cường).
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],[],null,["# AutoML Vision Edge\n==================\n\nplat_ios plat_android \nCreate custom image classification models from your own training data with AutoML Vision Edge.\n\nIf you want to recognize contents of an image, one option is to use ML Kit's\n[on-device image labeling API](https://developers.google.com/ml-kit/vision/image-labeling)\nor [on-device object detection API](https://developers.google.com/ml-kit/vision/object-detection).\nThe models used by these APIs are built for general-purpose use, and are trained\nto recognize the most commonly-found concepts in photos.\n\nIf you need a more specialized image labeling or object detection model, covering a narrower domain\nof concepts in more detail---for example, a model to distinguish between\nspecies of flowers or types of food---you can use Firebase ML and AutoML\nVision Edge to train a model with your own images and categories. The custom\nmodel is trained in Google Cloud, and once the model is ready, it's used fully\non the device.\n| Firebase ML's AutoML Vision Edge features are deprecated. Consider using [Vertex AI](https://cloud.google.com/vertex-ai/docs/beginner/beginners-guide) to automatically train ML models, which you can either [export as TensorFlow\n| Lite models](https://cloud.google.com/vertex-ai/docs/export/export-edge-model) for on-device use or [deploy for cloud-based\n| inference](https://cloud.google.com/vertex-ai/docs/predictions/overview).\n\n[Get started with image labeling](/docs/ml/ios/train-image-labeler)\n[Get started with object detection](/docs/ml/android/train-object-detector)\n\nKey capabilities\n----------------\n\n|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Train models based on your data | Automatically train custom image labeling and object detection models to recognize the labels you care about, using your training data. |\n| Built-in model hosting | Host your models with Firebase, and load them at run time. By hosting the model on Firebase, you can make sure users have the latest model without releasing a new app version. And, of course, you can also bundle the model with your app, so it's immediately available on install. |\n\n| **Running AutoML models in the cloud**\n|\n| These pages only discuss generating mobile-optimized models intended to run\n| on the device. However, for models with many thousands of labels or when\n| significantly higher accuracy is required, you might want to run a\n| server-optimized model in the cloud instead, which you can do by calling the\n| Cloud AutoML Vision APIs directly. See\n| [Making an\n| online prediction](https://cloud.google.com/vision/automl/docs/predict).\n|\n| Note that unlike running AutoML Vision Edge models on device, running a\n| cloud-based AutoML model is billed per invocation.\n\nImplementation path\n-------------------\n\n|---|---------------------------|----------------------------------------------------------------------------------------------------------------------------------|\n| | Assemble training data | Put together a dataset of examples of each label you want your model to recognize. |\n| | Train a new model | In the Google Cloud console, import your training data and use it to train a new model. |\n| | Use the model in your app | Bundle the model with your app or download it from Firebase when it's needed. Then, use the model to label images on the device. |\n\nPricing \\& Limits\n-----------------\n\nTo train custom models with AutoML Vision Edge, you must be on the pay-as-you-go\n(Blaze) plan.\n| **Important:** You can no longer train models with AutoML Vision Edge while on the Spark plan. If you previously trained models while on the Spark plan, your training data and trained models are still accessible from the Firebase console in read-only mode. If you want to keep this data download it before March 1, 2021.\n\n| Datasets | Billed according to [Cloud Storage rates](https://cloud.google.com/storage/pricing) |\n| Images per dataset | 1,000,000 |\n| Training hours | No per-model limit |\n|--------------------|-------------------------------------------------------------------------------------|\n\nNext steps\n----------\n\n- Learn how to [train an image labeling model](/docs/ml/train-image-labeler).\n- Learn how to [train an object detection model](/docs/ml/train-object-detector)."]]