目录

About This Kit

Core Vision Kit provides machine vision-related foundational capabilities, including Optical Character Recognition (OCR), face detection, face verification, and subject segmentation.

You can utilize this kit together with UI control capabilities of Vision Kit, such as face liveness detection, to make your app smarter and easier to use.

Use Cases

Core Vision Kit fits well in various scenarios to improve user experience and empower a more efficient app. Here are some typical use cases:

Constraints

[h2]Supported Devices

Phones, tablets, and PCs/2-in-1 devices.

[h2]Supported Country/Region

Currently, this kit is available only in the Chinese mainland.

[h2]Constraints on Capabilities

AI Capability Constraint
OCR

- Supported image formats: JPEG, JPG, and PNG

- Supported languages: simplified Chinese, English, Japanese, Korean, and traditional Chinese

- Text length: no more than 10,000 characters

- Supports printed font recognition but has limitations in recognizing handwritten fonts.

- The input image should have a suitable imaging quality (720p or higher recommended), with a height between 100 px and 15,210 px, a width between 100 px and 10,000 px, and a height-to-width ratio preferably below 10:1 (the height must be less than 10 times of the width), ideally close to the height-to-width ratio of a smartphone screen.

- The shooting angle should be less than 30 degrees from the vertical direction of the plane where the text is located.

Face verification

- The input image should have a suitable imaging quality (720p or higher recommended), with a height between 224 px and 15,210 px, a width between 100 px and 10,000 px, and a height-to-width ratio preferably below 10:1 (the height must be less than 10 times of the width), ideally close to the height-to-width ratio of a smartphone screen.

- It is not suitable for real-time detection because the API call takes a long period of time.

Face comparison

- Currently, only one-to-one face comparison is supported.

- Both input images should have a suitable imaging quality (720p or higher recommended), with a height between 224 px and 15,210 px, a width between 100 px and 10,000 px, and a height-to-width ratio preferably below 10:1 (the height must be less than 10 times of the width), ideally close to the height-to-width ratio of a smartphone screen.

Subject segmentation

- An object will only be recognized as a "subject" and segmented from an image if it occupies at least 0.5% of the original image area.

- It is not recommended to use this capability for images containing a large amount of text.

- The input image should have a suitable imaging quality (720p or higher recommended), with a height between 20 px and 9000 px, a width between 20 px and 9000 px, and a height-to-width ratio preferably below 3:1 (the height must be less than 3 times of the width), ideally close to the height-to-width ratio of a smartphone screen.

Multi-object detection

- The input image should have a suitable imaging quality (720p or higher recommended), with a height between 100 px and 10,000 px, a width between 100 px and 10,000 px, and a height-to-width ratio preferably below 5:1 (the height must be less than 5 times of the width), ideally close to the height-to-width ratio of a smartphone screen.

- The object's size must account for more than 0.1% of the total image area.

Skeleton detection - The input image should have a suitable imaging quality (720p or higher recommended), with a height between 100 px and 10,000 px, a width between 100 px and 10,000 px, and a height-to-width ratio preferably below 5:1 (the height must be less than 5 times of the width), ideally close to the height-to-width ratio of a smartphone screen.
Image super-resolution

The input image must meet the following requirements: 16 px< height<2048 px and 16 px< width<2048 px. There are no special requirements for the aspect ratio.

It is recommended that images smaller than 1024 px × 1024 px be processed. Processing high-resolution images may time out.

Image search by text The input image should have a suitable imaging quality, with a height between 100 px and 10,000 px, a width between 100 px and 10,000 px, and a height-to-width ratio preferably below 10:1 (the height must be less than 10 times of the width), ideally close to the height-to-width ratio of a smartphone screen.

Core Vision Kit supports concurrent access from multiple users but does not support concurrent calls of the same API by the same user. If a process calls the same API multiple times simultaneously, a "system busy" error will be returned. If multiple processes call the same API concurrently, only one process will succeed at a time and other processes will be queued.

Emulator Support

This kit is not supported on emulators.