CPC G06V 10/25 (2022.01) [G06T 7/62 (2017.01); G06T 11/60 (2013.01); G06V 10/98 (2022.01)] | 14 Claims |
1. A computer-implemented method for improving display effects of displaying images on an electronic device, comprising:
acquiring a target image, wherein the target image is obtained by photographing to-be-corrected content;
detecting the to-be-corrected content from the target image and acquiring a polygonal frame surrounding the to-be-corrected content by an image recognition model, wherein the image recognition model is trained to generate the polygonal frame based on detecting content, and wherein the acquiring a polygonal frame surrounding the to-be-corrected content by the image recognition model further comprises generating the polygonal frame with a minimum area surrounding the to-be-corrected content;
acquiring a correction result about the to-be-corrected content, wherein the correction result indicates whether the to-be-corrected content satisfies a preset condition;
generating a correction identifier corresponding to the correction result and matching a size of the polygonal frame with the generated correction identifier fully enclosed in the polygonal frame;
removing the polygonal frame from the target image before outputting the target image comprising the generated correction identifier; and
displaying the target image comprising the generated correction identifier on the electronic device.
|