Unlock instant, AI-driven research and patent intelligence for your innovation.

Image processing method and device, electronic equipment and computer storage medium

An image processing and image storage technology, applied in the image field, can solve problems such as high development costs, and achieve the effects of ensuring adaptability, improving adaptability, and reducing image volume

Pending Publication Date: 2022-04-08
ALIBABA SINGAPORE HLDG PTE LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of researching related technologies, the inventors of the present application found that since different models of smart phones carry different cameras, the quality and size of images captured by different models of smart phones are also different. Using standard images, one implementation method is that the applet calls the camera of the smartphone to capture images that meet the standard. At this time, the developer of the applet needs to develop additional camera functions and debug the camera parameters, resulting in higher development cost

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Image processing method and device, electronic equipment and computer storage medium
  • Image processing method and device, electronic equipment and computer storage medium
  • Image processing method and device, electronic equipment and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0055] refer to Figure 2A , shows a schematic flowchart of the steps of the image processing method in Embodiment 2 of the present application.

[0056] In this embodiment, the application of the method to the applet scenario is taken as an example for description. The method includes the following steps:

[0057] Step S202: Obtain the image to be processed from the storage space corresponding to the preset image cache path.

[0058] In an example, the image to be processed in the image cache path can be obtained in the following manner: based on the system camera wake-up instruction obtained from the preset application program, the system camera is called to obtain the image captured by the system camera. image, and store the captured image in the image cache path.

[0059] In this embodiment, the preset application program may be a small program, and a small program is an application that can be run without downloading and installing. Taking the applet running in the ma...

Embodiment 3

[0108] refer to image 3 , shows a structural block diagram of an image processing apparatus according to Embodiment 3 of the present application.

[0109] The image processing device of this embodiment includes:

[0110] The first acquiring module 302 is configured to acquire the image to be processed from the storage space corresponding to the preset image cache path;

[0111] A determining module 304, configured to compare the image parameters of the image to be processed with a set image parameter threshold, and determine the compression ratio of the image to be processed;

[0112] The second acquiring module 306 is configured to compress the image to be processed by using the compression ratio of the image to be processed to obtain a compressed image;

[0113] The storage module 308 is configured to store the compressed image in the system storage path of the image, so that the preset application program obtains the compressed image from the storage space corresponding ...

Embodiment 4

[0122] refer to Figure 4 , shows a schematic structural diagram of an electronic device according to Embodiment 4 of the present application, and the specific embodiment of the present application does not limit the specific implementation of the electronic device.

[0123] Such as Figure 4 As shown, the electronic device may include: a processor (processor) 402 , a communication interface (Communications Interface) 404 , a memory (memory) 406 , and a communication bus 408 .

[0124] in:

[0125] The processor 402 , the communication interface 404 , and the memory 406 communicate with each other through the communication bus 408 .

[0126] The communication interface 404 is used for communicating with other electronic devices or servers.

[0127] The processor 402 is configured to execute the program 410, and specifically, may execute relevant steps in the foregoing image processing method embodiments.

[0128] Specifically, the program 410 may include program codes incl...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides an image processing method and device, electronic equipment and a computer storage medium. The method is used for processing an image acquired by a camera carried by equipment, and comprises the following steps: acquiring a to-be-processed image from a storage space corresponding to a preset image cache path; comparing the image parameter of the to-be-processed image with a set image parameter threshold, and determining a compression ratio of the to-be-processed image; compressing the to-be-processed image by using the compression ratio of the to-be-processed image to obtain a compressed image; and storing the compressed image to a system storage path of the image, so that a preset application program obtains the compressed image from a storage space corresponding to the system storage path. The method is better in adaptability.

Description

technical field [0001] The embodiments of the present application relate to the field of image technologies, and in particular, to an image processing method, device, electronic equipment, and computer storage medium. Background technique [0002] An applet is a lightweight application. During the working process of the existing applet, the data collected by the sensor mounted on the device running the applet may be used. [0003] Taking the device running the applet as an example, when the data used by the applet is the image collected by the camera of the smartphone, even if the applet runs on different types of smartphones, the images to be used by the applet The standard of quality and size used is the same. [0004] In the process of researching related technologies, the inventors of the present application found that since different models of smart phones carry different cameras, the quality and size of images captured by different models of smart phones are also dif...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04N19/30
Inventor 邱东生
Owner ALIBABA SINGAPORE HLDG PTE LTD