com.google.mlkit.vision.common
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eInputImage\u003c/code\u003e class represents an image object and specifies the accepted image formats for Vision APIs.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePointF3D\u003c/code\u003e and \u003ccode\u003eTriangle\u003c/code\u003e classes represent a 3D point and a triangle with three points, respectively, for use in computer vision tasks.\u003c/p\u003e\n"],["\u003cp\u003eThese classes provide fundamental data structures for working with images and geometric primitives within the ML Kit Vision API.\u003c/p\u003e\n"]]],["The content outlines image processing components for vision APIs. `InputImage.ImageFormat` specifies the accepted image formats. The `InputImage` class represents an image object. `PointF3D` defines a three-dimensional point. Lastly, `Triangle` represents a triangle object consisting of three generic points, where the points are defined using the generic type T that extends Object.\n"],null,["# com.google.mlkit.vision.common\n\n### Annotations\n\n|----------------------------------------------------------------------------------------------------|---------------------------------------|\n| [InputImage.ImageFormat](/android/reference/com/google/mlkit/vision/common/InputImage.ImageFormat) | Accepted image format of vision APIs. |\n\n### Classes\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------|\n| [InputImage](/android/reference/com/google/mlkit/vision/common/InputImage) | Represents an image object. |\n| [PointF3D](/android/reference/com/google/mlkit/vision/common/PointF3D) | Represents a 3D point. |\n| [Triangle](/android/reference/com/google/mlkit/vision/common/Triangle)\\\u003cT extends [Object](https://developer.android.com/reference/java/lang/Object.html)\\\u003e | Represents a triangle with 3 generic points. |"]]