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.
Core Vision Kit fits well in various scenarios to improve user experience and empower a more efficient app. Here are some typical use cases:
OCR: Scans and recognizes text in printed materials such as documents, business cards, and receipts, helping users quickly input and store information.
Face detection: Automatically detects and locates faces in photos. It is suitable for album management, photo beautification, and other scenarios.
Face verification: Applies to scenarios where user identity verification is required, such as face authentication, attendance clock-in/out, and access control system.
Subject segmentation: Identifies and isolates foreground objects or regions (that is, salient subjects) that are distinct from the background in an image. It is suitable for scenarios requiring the recognition and extraction of the main information within an image and is widely used in foreground object detection and foreground subject separation tasks.
Multi-object detection: Identifies common objects (such as animals, plants, buildings, people, faces, texts, and tables) within images and provide their location information. It is commonly used as a front-end detection function in end-to-end service scenarios to trigger subsequent functions based on detection results, such as visual search and text detection.
Skeleton detection: Detects skeleton keypoints on the human body to describe skeletal information. It is primarily used in applications such as intelligent video surveillance, patient monitoring systems, human-computer interaction, virtual reality, human animation, smart home, intelligent security, and athlete training assistance.
Image super-resolution: An AI-powered image processing function that intelligently enlarges low-resolution, blurry, or detail-poor images and enhances their clarity. While enlarging the image size, the system can automatically supplement texture details, optimize edge contours, and reduce noise interference, resulting in clearer, more natural, and higher-quality visual effects.
Searching for images by text: Based on natural language understanding and cross-modal image retrieval technologies, this function allows users to input any descriptive text (such as "sunset by the sea" or "ID card") to accurately match and extract images that meet the description from the app sandbox. This function greatly improves users' image search efficiency and makes unlabeled and uncategorized image assets searchable and easy to access. It is widely used in scenarios such as smart albums, chat conversations (such as instant messaging and social interaction), and e-commerce image search by text.
| 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.