Mobile Terminal Code Recognition UI Rotation Adjustment
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing code recognition applications on mobile terminals face inefficiencies in recognizing 2D codes like QR codes due to misalignment between the device's UI rotation angle and the code rotation angle, leading to suboptimal scanning and recognition processes.
Innovation Solution
A method and system for a mobile terminal that detects the code rotation angle of a recognition code within an image and adjusts the UI rotation angle of the code recognition application to match it, ensuring accurate and efficient recognition by determining the correct scanning direction for the camera module based on the code's orientation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If the code recognition application uses a fixed UI rotation angle, then the application structure is simple, but the recognition accuracy decreases when the code orientation differs from the UI angle
Solution Approach 1:
The UI rotation angle is changed from a fixed value to a dynamic value that automatically adjusts according to the detected code rotation angle. The controller rotates the UI by the difference between the code's rotation angle and the current UI angle, enabling the interface to adapt to various code orientations without manual intervention.
Solution Approach 2:
The system implements a feedback mechanism where the detected code rotation angle is used to adjust the UI rotation angle. The controller continuously monitors the code orientation and modifies the UI angle accordingly, creating a closed-loop system that maintains optimal recognition conditions.
2Productivity
If the camera scans in a fixed direction, then the scanning process is simple, but the recognition efficiency decreases when codes are oriented in different directions
Solution Approach 1:
The camera scanning direction is changed from a fixed pattern to a dynamic one that adapts to the code orientation. Based on the detected rotation angle, the controller adjusts the scanning direction to match the code's orientation, enabling efficient recognition of codes in any rotational position.
Solution Approach 2:
The scanning parameters (direction and angle) are modified according to the detected code rotation angle. The controller calculates the appropriate scanning parameters by comparing the code's orientation with the default scanning pattern and adjusts accordingly to maximize recognition efficiency.
3Ease of operation
If the mobile terminal does not rotate the UI, then the user interface remains stable and predictable, but the user experience deteriorates when codes are captured at different orientations
Solution Approach 1:
The system performs self-adjustment by automatically detecting the code rotation angle and applying the necessary UI rotation without requiring user intervention. The controller autonomously manages the rotation process, eliminating the need for manual UI adjustment by the user.
Solution Approach 2:
The UI rotation is performed in advance before the actual code recognition process. By pre-aligning the UI with the detected code orientation, the system ensures that the recognition process proceeds smoothly without requiring additional adjustment or user intervention during recognition.
Data Source
AI summary
A code recognition method for adjusting a User Interface (UI) rotation angle of a code recognition application depending on the direction of a recognition code or text entered through a camera is provided. The code recognition method includes detecting at least a portion of the recognition code from an image including the recognition code; determining a code rotation angle of the recognition code; and extracting the recognition code or a text from the image including the recognition code based on the code rotation angle of the recognition code.


