MLKitObjectDetectionCustom 框架参考
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
-
在单图片模式下,当跟踪器和检测器都完成时,系统会返回结果。
-
在流模式下,跟踪器和检测器会并行运行。调用跟踪器时,将返回相关结果。
处理完成。此时可能仍在进行检测。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],["The provided content outlines two constant modes for object detection: `singleImage` and `stream`. In `singleImage` mode, results are delivered upon completion of both tracker and detector. In `stream` mode, the tracker and detector function concurrently, with results returned when the tracker finishes, even if detection is ongoing. These modes are defined in the MLKCommonObjectDetectorOptions and are accessed statically in Swift.\n"],null,[]]