Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
AutoML Vision Edge
plat_iosplat_android
Создавайте собственные модели классификации изображений на основе собственных обучающих данных с помощью AutoML Vision Edge.
Если вы хотите распознать содержимое изображения, одним из вариантов является использование API маркировки изображений на устройстве ML Kit или API обнаружения объектов на устройстве . Модели, используемые этими API, созданы для общего использования и обучены распознавать наиболее часто встречающиеся понятия на фотографиях.
Если вам нужна более специализированная модель маркировки изображений или модель обнаружения объектов, более подробно охватывающая более узкую область понятий (например, модель для различения видов цветов или типов продуктов питания), вы можете использовать Firebase ML и AutoML Vision Edge для обучения. модель со своими изображениями и категориями. Пользовательская модель обучается в Google Cloud , и как только модель готова, она полностью используется на устройстве.
Автоматически обучайте пользовательские модели маркировки изображений и обнаружения объектов распознаванию нужных вам меток, используя ваши обучающие данные.
Встроенный хостинг моделей
Размещайте свои модели с помощью Firebase и загружайте их во время выполнения. Разместив модель в Firebase, вы можете быть уверены, что у пользователей будет последняя модель, не выпуская новую версию приложения.
И, конечно же, вы также можете связать модель со своим приложением, чтобы она была доступна сразу после установки.
Путь реализации
Соберите обучающие данные
Соберите набор данных с примерами каждой метки, которую вы хотите, чтобы ваша модель распознавала.
Обучите новую модель
В консоли Google Cloud импортируйте данные обучения и используйте их для обучения новой модели.
Используйте модель в своем приложении
Объедините модель со своим приложением или загрузите ее из Firebase, когда это необходимо. Затем используйте модель для маркировки изображений на устройстве.
Цены и ограничения
Для обучения пользовательских моделей с помощью AutoML Vision Edge вам необходимо использовать план оплаты по мере использования (Blaze).
[null,null,["Последнее обновление: 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)."]]