Code Scanning Frame Filtering for Low-Light Recognition Speed

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing code scanning methods suffer from low scanning speed due to the identification of invalid frame images, leading to inefficient use of computing resources and poor user experience.

Innovation Solution

The method selectively identifies frame images based on ambient light brightness, focusing on images with sufficient brightness and proper exposure and focus, and reduces the number of threads and memory usage by dropping invalid frames.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If all identification frame images are processed for code scanning, then code scanning coverage is improved, but code scanning speed deteriorates due to processing invalid frames

Engineering Contradiction:
Improvecode scanning coverageVSAvoidcode scanning speed
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The patent applies preliminary action by evaluating exposure and focus metrics before code scanning identification. The electronic device determines exposure convergence and focus convergence in advance, and only processes frames that meet the convergence criteria. This preliminary filtering prevents invalid frames from entering the identification pipeline, thereby maintaining code scanning coverage while significantly improving scanning speed.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If identification frame images with insufficient brightness are processed, then identification accuracy may be improved, but computing resource waste increases

Engineering Contradiction:
Improveidentification accuracyVSAvoidcomputing resource waste
Core Design Contradiction:
Measurement precisionVSLoss of energy

Solution Approach 1:

The patent applies parameter changes by using ambient light brightness as a filtering criterion. The electronic device obtains ambient light brightness information and compares it against a threshold to determine whether to conduct code scanning identification. This parameter-based filtering ensures that only frames with sufficient brightness (and proper exposure/focus) are processed, maintaining identification accuracy while eliminating computing resource waste on invalid frames.

Inventive Principle:
Principle #35Parameter changes

3Loss of time

If frame skip identification is implemented, then identification time is reduced, but preview frame consistency may be affected

Engineering Contradiction:
Improveidentification timeVSAvoidpreview frame consistency
Core Design Contradiction:
Loss of timeVSStability of the object's composition

Solution Approach 1:

The patent applies local quality by differentiating the processing of identification frame images from preview frame images. Identification frames undergo brightness and convergence validation to determine whether to skip identification, while preview frames are displayed consistently without such filtering. This localized quality control ensures that frame skip identification reduces identification time without affecting preview frame consistency, as the preview display remains uninterrupted.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS12493763B2Code scanning method and electronic device
Publication Date: 2025.12.09 HONOR DEVICE CO LTD
  • US12493763B2 patent drawing
  • US12493763B2 patent drawing
  • US12493763B2 patent drawing

AI summary

Embodiments of this application provide a code scanning method and an electronic device. The method is applicable to the electronic device. The electronic device includes a camera. The method includes: The electronic device displays a code scanning interface, and then obtains an identification frame image and a preview frame image, where the identification frame image and the preview frame image are obtained by processing a code scanning image collected by the camera. The electronic device displays the preview frame image in the code scanning interface. The electronic device conducts, in a case that ambient light brightness of the identification frame image is greater than or equal to a threshold, code scanning identification on the identification frame image, and determines a code scanning identification result. According to the method, an invalid identification frame image is deleted, to improve code scanning efficiency.