Special-Shaped Code Recognition Using Coordinate Masking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

There is a lack of effective scanning and recognition technologies for special-shaped codes on product labels, making it difficult to recognize these codes using mobile devices.

Innovation Solution

A method and apparatus for scanning and recognizing special-shaped codes, involving determining a target frame data stream size based on screen and frame parameters, acquiring coordinates of the code region, generating a mask image, and processing camera frame data to recognize the code.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a special-shaped code is provided in the product label to enhance anti-counterfeiting property and incorporate particular design elements, then the anti-counterfeiting property and design flexibility are improved, but the recognition difficulty increases due to lack of scanning and recognition technologies for special-shaped codes

Engineering Contradiction:
Improveanti-counterfeiting propertyVSAvoidrecognition difficulty
Core Design Contradiction:
ReliabilityVSDifficulty of detecting and measuring

Solution Approach 1:

The patent segments the special-shaped code recognition process into distinct modules: obtaining the special-shaped code image, determining the code region through coordinate processing, generating a mask image to isolate the code area, and performing recognition on the extracted code. This segmentation transforms the difficult task of recognizing arbitrary-shaped codes into a series of manageable processing steps, thereby maintaining the anti-counterfeiting benefits while solving the recognition difficulty.

Inventive Principle:
Principle #1Segmentation

2Adaptability or versatility

If the special-shaped code is used with particular design elements, then the design flexibility and anti-counterfeiting capability are improved, but the complexity of scanning and recognition increases due to lack of specialized technologies

Engineering Contradiction:
Improvedesign flexibilityVSAvoidscanning and recognition complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent utilizes parameter changes in the image processing pipeline to handle diverse special-shaped codes. By dynamically adjusting parameters such as coordinate transformations, mask generation thresholds, and region extraction criteria, the system can adapt to various code shapes and designs without requiring fundamentally different recognition approaches, thus managing complexity while maintaining design flexibility.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If the mask image is generated based on calculated target frame data stream size and coordinate points, then the precision of code region identification is improved, but the calculation and processing time increases

Engineering Contradiction:
Improvecode region identification precisionVSAvoidcalculation and processing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary calculations to determine the target frame data stream size and compute the coordinate points of the special-shaped code region before generating the mask image. By pre-calculating these parameters, the system establishes an accurate framework for code region identification upfront, which then facilitates faster and more precise mask generation and recognition in subsequent processing steps, effectively balancing precision with processing efficiency.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentEP4708128A1Method of scanning and recognizing special-shaped code, device, and storage medium
Publication Date: 2026.03.11 QUANTUM CLOUD CODE (FUJIAN) TECH CO LTD
  • EP4708128A1 patent drawingFigure 1
  • EP4708128A1 patent drawingFigure 2
  • EP4708128A1 patent drawingFigure 3

AI summary

A method of scanning and recognizing a special-shaped code includes: determining a target frame data stream size based on a screen parameter of a code scanning device and a frame data stream parameter (S110, S410, S510, S610); acquiring the coordinates of coordinate points of a special-shaped code region based on the target frame data stream size (S120, S220, S320, S520, S620); generating a mask image based on the target frame data stream size and the coordinates of the coordinate points of the special-shaped code region (S130, S230, S330, S430, S630); and processing a camera frame data stream based on the mask image to obtain a special-shaped code, and recognizing the special-shaped code to obtain a recognition result (S140, S240, S340, S440, S540, S642).