Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Image preprocessing method and device, electronic device and storage medium

A technology for image preprocessing and storage space, which is applied in the field of devices, AR navigation, electronic equipment and storage media, and image preprocessing methods. Processing speed, the effect of saving CPU resources

Active Publication Date: 2020-09-01
APOLLO INTELLIGENT CONNECTIVITY (BEIJING) TECH CO LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantages of the prior art are: the CPU needs to register an additional way to monitor the camera data, which increases the consumption of memory; and the preprocessing is carried out in the CPU, which takes up a part of CPU resources; due to the limited CPU resources, using the prior art The solution will also delay the timing of sending to ADAS, which will cause the lag of the AR rendering screen and affect the user experience

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 preprocessing method and device, electronic device and storage medium
  • Image preprocessing method and device, electronic device and storage medium
  • Image preprocessing method and device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] figure 1 It is a schematic flow chart of the image preprocessing method provided in Embodiment 1 of the present application. The method can be executed by an image preprocessing device or electronic equipment. The device or electronic device can be implemented by software and / or hardware. The device or electronic The device can be integrated in any smart device with network communication function. like figure 1 As shown, the image preprocessing method may include the following steps:

[0028] S101. In response to a camera preview enabling instruction, the CPU invokes a pre-created drawing surface window to obtain the current data frame collected by the camera.

[0029] In a specific embodiment of the present application, in response to the camera preview opening instruction, the electronic device can call the pre-created drawing surface window through the CPU to obtain the current data frame collected by the camera; wherein, the pre-created drawing surface window can ...

Embodiment 2

[0036] figure 2 is a schematic flowchart of the image preprocessing method provided in Embodiment 2 of the present application. like figure 2 As shown, the image preprocessing method may include the following steps:

[0037] S201. In response to a camera preview enabling instruction, the CPU invokes a pre-created drawing surface window to acquire the current data frame collected by the camera.

[0038] In a specific embodiment of the present application, in response to the camera preview opening instruction, the electronic device can call the pre-created drawing surface window through the CPU to obtain the current data frame collected by the camera; wherein, the pre-created drawing surface window can be a preset Type of drawing surface window, the default type of drawing surface window can be SurfaceTexture. Specifically, the electronic device can create a graphics library (Graphics Library, GL for short) thread by calling the thread creation function (setRenderer), and c...

Embodiment 3

[0054] image 3 is a schematic structural diagram of the image preprocessing device provided in Embodiment 3 of the present application. like image 3 As shown, the device 300 includes: an acquisition module 301, a conversion module 302 and a preprocessing module 303; wherein,

[0055] The acquisition module 301 is configured to call a pre-created drawing surface window through the central processing unit CPU to obtain the current data frame collected by the camera in response to the camera preview opening instruction;

[0056] The conversion module 302 is configured to convert the current data frame into a corresponding preview texture through the drawing surface window;

[0057] The preprocessing module 303 is configured to send the preview texture corresponding to the current data frame to a graphics processor GPU, process the preview texture corresponding to the current data frame through the GPU, and process the processed texture through the CPU The final preview textu...

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 invention discloses an image preprocessing method and device, an electronic device and a storage medium, and relates to the technical field of AR navigation. According to the specific implementation scheme, the method comprises: in response to a camera preview starting instruction, calling a pre-created drawing surface window through a CPU to obtain a current data frame collected by a camera;converting the current data frame into a preview texture corresponding to the current data frame through a drawing surface window; and sending the preview texture corresponding to the current data frame to the GPU, processing the preview texture corresponding to the current data frame through the GPU, and sending the processed preview texture to the ADAS through the CPU. According to the embodiment of the invention, image preprocessing can be realized without additionally registering one path of monitoring on the camera data by the CPU, CPU resources can be effectively saved, and the preprocessing speed is improved.

Description

technical field [0001] The present application relates to the field of computer application technology, and further relates to AR navigation technology, especially an image preprocessing method, device, electronic equipment and storage medium. Background technique [0002] Augmented Reality (AR for short) is also called mixed reality. It uses electronic technology to apply virtual information to the real world. The real environment and virtual objects are superimposed on the same picture or space in real time. AR provides a type of information that is different from what humans can perceive. It not only shows the information of the real world, but also displays the virtual information at the same time, and the two kinds of information complement and superimpose each other. In visual augmented reality, users can use the display to multiplex the real world with virtual graphics. AR is a technology that uses virtual objects to "enhance" the real scene. Compared with virtual ...

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): H04N5/232B60W50/14
CPCB60W50/14B60W2050/146H04N23/632G06T1/20G06T1/60G06T11/001G06T15/005
Inventor 彭灿灿
Owner APOLLO INTELLIGENT CONNECTIVITY (BEIJING) TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products