Facial Image Filter Coordinate Recalculation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing photo editing applications on mobile devices struggle to effectively apply filters to facial images when the images are rotated or translated within a frame, as they fail to accurately update the image coordinates, leading to inconsistent filter applications.
Innovation Solution
An electronic device with a processor configured to generate and update 2-dimensional coordinates around a facial image, recalculating these coordinates when the image is cropped or moved, and applying filters based on the updated positions to ensure accurate and consistent filtering effects.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If facial detection is performed continuously to maintain accurate filter application, then filter precision is improved, but processing time and computational load increase
Solution Approach 1:
The system performs facial detection and coordinate calculation in advance before filter application. By pre-detecting the face and calculating its 2D coordinates on the display, the system eliminates the need for continuous detection during filter rendering, thus maintaining precision while reducing processing time.
Solution Approach 2:
The system creates a copy of the facial image coordinates and transforms them to match the displayed image position. This coordinate copying and transformation approach allows the filter to be applied accurately without continuously re-detecting the face, as the pre-calculated coordinates are reused and adjusted for display transformations.
2Measurement precision
If the system waits for complete facial detection before applying filters, then filter accuracy is improved, but editing efficiency deteriorates
Solution Approach 1:
The system performs facial detection and coordinate calculation before the user initiates filter application. This preliminary action ensures that when filtering is needed, the face location is already known, allowing immediate filter application without waiting for detection completion, thus improving both accuracy and efficiency.
Solution Approach 2:
The system provides feedback to the user by displaying the detected face and calculated coordinates before applying the filter. This feedback mechanism allows the user to verify the detection accuracy and make adjustments if necessary, while also enabling the system to proceed with filter application without unnecessary delays.
3Measurement precision
If coordinates are recalculated every time the image is transformed, then filter positioning accuracy is improved, but system complexity increases
Solution Approach 1:
The system copies the original facial image coordinates and creates transformed coordinates by applying the same transformation matrix used for the image itself. This approach ensures that the filter remains accurately positioned relative to the face during image transformations without requiring complex re-detection, as the coordinate transformation follows the image transformation.
Solution Approach 2:
The coordinate transformation system serves multiple functions: it handles image scaling, rotation, and translation by applying a universal transformation matrix. This multi-functional approach simplifies the system complexity compared to separate handling of each transformation type, while maintaining filter positioning accuracy across all image transformations.
Data Source
AI summary
An electronic device and method of operation, the electronic device including at least one processor communicatively coupled to a display and memory, the processor configured for filtering a facial image rendered on the display. In an illustrative embodiment, the at least one processor is configured to generate a boundary around the facial image, the boundary having 2-dimensional x and y coordinates relative to boundaries of the display; store the coordinates in memory; in response to at least one of a cropping and moving of the image, recalculate the coordinates to match a new transform setting; and apply an effect to the facial image based on the updated coordinates.


