Character-Aware Image Processing for Sharper Text, Lower Memory Use

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Mobile terminals face challenges in storing large amounts of image information without impacting user reading due to limited memory resources.

Innovation Solution

An image processing method that enhances the sharpness of characters in images and compresses them based on user input, using techniques like image segmentation and optical character recognition to improve character recognition confidence and reduce memory usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If image compression is applied to reduce memory usage, then memory occupancy is reduced, but image quality and character readability deteriorate

Engineering Contradiction:
Improvememory occupancyVSAvoidcharacter sharpness
Core Design Contradiction:
Quantity of substanceVSManufacturing precision

Solution Approach 1:

The patent applies different processing strategies to different regions of the image based on character recognition confidence. For low-confidence regions, sharpness enhancement is applied to improve character readability, while for high-confidence regions, direct compression is used to save memory. This local differentiation resolves the contradiction by applying quality enhancement only where necessary.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system dynamically adjusts compression parameters and sharpness enhancement parameters based on character recognition confidence levels. When confidence is low, the system reduces compression intensity and increases sharpness enhancement to maintain readability. When confidence is high, the system applies stronger compression to reduce memory usage. This dynamic parameter adjustment resolves the contradiction between memory efficiency and character quality.

Inventive Principle:
Principle #35Parameter changes

2Manufacturing precision

If image sharpness enhancement is applied to improve character readability, then character sharpness is improved, but memory consumption increases

Engineering Contradiction:
Improvecharacter sharpnessVSAvoidmemory consumption
Core Design Contradiction:
Manufacturing precisionVSQuantity of substance

Solution Approach 1:

The patent applies sharpness enhancement selectively only to image regions containing characters with low recognition confidence, rather than enhancing the entire image. This localized approach improves character readability where needed while minimizing the increase in memory consumption, as only specific regions undergo processing.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system applies partial sharpness enhancement based on the proportion of low-confidence character regions in the image. If only a small portion of the image contains ambiguous characters, enhancement is applied only to those specific regions rather than the entire image, thus improving readability while keeping memory overhead minimal.

Inventive Principle:
Principle #16Partial or excessive action

3Measurement precision

If optical character recognition is performed on all image regions, then character detection accuracy is improved, but processing time increases

Engineering Contradiction:
Improvecharacter detection accuracyVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent divides the image into multiple candidate regions and performs optical character recognition on each segment independently. By segmenting the image based on potential character locations rather than processing the entire image uniformly, the system improves detection accuracy in relevant areas while reducing overall processing time through parallelization and focused computation.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs partial optical character recognition only on image regions that are likely to contain characters, rather than analyzing every pixel in the entire image. This selective approach maintains high detection accuracy for actual character regions while significantly reducing processing time by avoiding unnecessary analysis of empty or non-character areas.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentEP3836072B1Image processing method and apparatus, and storage medium
Publication Date: 2025.08.20 BEIJING XIAOMI MOBILE SOFTWARE CO LTD
  • EP3836072B1 patent drawingFigure 1
  • EP3836072B1 patent drawingFigure 2
  • EP3836072B1 patent drawingFigure 3

AI summary

Provided are an image processing method and apparatus and a storage medium. The method includes: collecting at least one image within a field of view of an image collection device in real time through the image collection device of a terminal device; determining whether a first image includes at least one character based on the collected first image; in response to determining the collected first image includes the at least one character, outputting prompt information to a user; receiving a setting instruction input by the user; and improving sharpness of the at least one character according to the setting instruction to obtain a second image, and compressing and storing the second image. Through the method, the sharpness of the at least one character is improved to mitigate impact on reading of a user while reducing memory occupied by the image and improving a user experience.