Method and device for head picture setting
An avatar and target image technology, applied in the Internet field, can solve the problems of insufficient avatar replacement, untimely avatar update, and poor user experience, so as to solve the problem of poor user experience, achieve seamless connection, and improve fluency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0022] figure 1 It is a flow chart of a method for setting an avatar provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of setting an avatar in application software. Realized by software, refer to figure 1 , the avatar setting method provided in this embodiment specifically includes:
[0023] S110. Receive an instruction to upload an avatar, and upload a target picture to the server.
[0024] Wherein, the target picture may be a picture customized by the user, or a picture generated by the user taking pictures. Specifically, the user can open the avatar setting module in the application software, manually select a certain picture or take a picture to generate a picture, and click upload. The generated picture is uploaded to the server as the target picture.
[0025] S120. Save the target picture into the local memory.
[0026] Wherein, the local memory can be the operating memory of the terminal device where the application s...
Embodiment 2
[0037] figure 2 It is a flow chart of a method for setting an avatar provided in Embodiment 2 of the present invention, as shown in figure 2 As shown, on the basis of the foregoing embodiments, it is preferable to further add the following operations before S110:
[0038] S210. Obtain a target image to be uploaded.
[0039] Wherein, when the user manually selects a certain picture or takes a photo to generate a certain picture, the avatar setting device can obtain the target picture accordingly, specifically, can obtain the attribute information and screen content of the target picture. Preferably, the attribute information of the picture may include at least one of format, size, resolution, width and height. Common picture formats include BMP, GIF, JPEG, TIFF, PSD, PNG, SWF, SVG, PCX, DXF, WMF, EMF, LIC, EPS, TGA, etc. Exemplarily, the attribute information of the target image **.bmp is in bmp format, with a size of 200kb, a resolution of 100×100, a width of 100 pixels, ...
Embodiment 3
[0053] image 3 It is a flowchart of a method for setting an avatar provided by Embodiment 3 of the present invention, as shown in image 3 As shown, on the basis of the schemes of the aforementioned embodiments, judging whether the screen content of the target picture meets the preset uploading requirements may preferably include:
[0054] S310. Acquire a preset picture sample library.
[0055] Wherein, the preset sample library may include a first preset sample library and / or a second preset sample library, at least one face image picture may be stored in the first preset sample library, and at least one face image picture may be stored in the second preset sample library. At least one image containing prohibited elements can be stored. Exemplarily, the preset sample library may be opencv (Open Source Computer Vision Library, open source computer vision library).
[0056] S320. Compare the target picture with pictures in the picture sample library, and determine element i...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com