MLKitObjectDetectionCommon 框架参考
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
-
在单图片模式下,当跟踪器和检测器都完成时,系统会返回结果。
-
在流模式下,跟踪器和检测器会并行运行。调用跟踪器时,将返回相关结果。
处理完成。此时可能仍在进行检测。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],["Two global constants define object detector modes: `MLKObjectDetectorModeSingleImage` (0) and `MLKObjectDetectorModeStream` (1). In `SingleImage` mode, results are available after both tracker and detector processes complete. In `Stream` mode, the tracker and detector run simultaneously, and results are returned when the tracker is finished, while detection might still be underway.\n"],null,[]]