Scanning Window Adjustment for Self-Contained QR Code Recognition
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current two-dimensional code scanning methods require external cameras, increasing hardware costs and complexity.
Innovation Solution
A method and device that adjusts and scales a scanning window on a terminal device to cover two-dimensional codes, allowing the device to recognize and extract data information from the codes without an external camera, using modules for window adjustment, coordinate obtaining, image capturing, and recognition.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If an external camera is used to scan two-dimensional codes on a webpage, then the scanning function can be achieved, but the hardware costs increase
Solution Approach 1:
The terminal device uses its own display screen and processing capabilities to scan and recognize two-dimensional codes directly, eliminating the need for external cameras. The device serves itself by utilizing existing hardware resources (display screen, processor) to perform the scanning function that previously required additional external equipment.
Solution Approach 2:
The scanning function is extracted from the external camera system and integrated into the terminal device's software layer. By capturing the display screen content and processing it locally, the patent separates the scanning capability from dedicated hardware, allowing it to be implemented through software on existing hardware.
2Reliability
If an external camera is used for two-dimensional code scanning, then code recognition can be performed, but the device complexity increases
Solution Approach 1:
The terminal device's display screen and processor are made multi-functional by using them for both normal display operations and two-dimensional code scanning. The same hardware components serve dual purposes: displaying content and capturing/processing code images, thereby avoiding the need for dedicated scanning hardware.
Solution Approach 2:
The patent replaces the mechanical/optical scanning system (external camera) with a software-based image processing system. Instead of using a physical camera to capture code images, the system captures screenshots of the display and processes them through software algorithms, substituting hardware-based optical recognition with software-based image analysis.
Data Source
AI summary
A two-dimensional code scanning method and device is provided, the method including: displaying a scanning window; obtaining a window adjustment instruction, and moving and/or scaling the scanning window based on the window adjustment instruction; obtaining coordinate information of the scanning window; creating a target image according to the coordinate information; recognizing the target image, and extracting data information corresponding to the target image. By the method and device, the hardware costs are reduced.


