A real-time image extraction method

An extraction method and real-time image technology, which is applied in the field of image processing, can solve problems such as screen freeze, inability to execute acquisition instructions, affect operation and display visual effects, etc., and achieve the effect of improving the efficiency of image acquisition

Active Publication Date: 2022-02-22
HENGXIN SHAMBALA CULTURE CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the main thread will be blocked when reading the pixels displayed on the viewport into the pre-allocated memory until the rendering thread is synchronized, the screen will be obviously stuck at this time, which will affect the operation and display visual effects
[0003] Secondly, to run console commands in Unreal Engine, it must be in the editor or in the running program packaged into the development version, and the relevant collection instructions cannot be executed in the development version environment

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
  • A real-time image extraction method
  • A real-time image extraction method
  • A real-time image extraction method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The technical solutions in the embodiments of the present invention are clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0028] The embodiment of the present application provides a real-time image extraction method, such as figure 1 shown, including:

[0029] Step 11: Start UE4 capture client, create main thread and rendering thread;

[0030] Step 12: Create a capture window in the main thread, load the scene capture plug-in, and create a rendering hardware interface for the current window; obtain back-up cache data in the rendering thread;

[0031] Step 13: The UE4 acquisition cli...

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 application discloses a real-time image extraction method, which relates to the technical field of image processing. The main technical solution of this application is: start UE4 acquisition client, create main thread and rendering thread; main thread: create acquisition window, load scene acquisition plug-in, and create rendering hardware interface for the current window; rendering thread: obtain backup cache data; Obtain the backing buffer data from the rendering thread by calling the rendering hardware interface, and use the backing buffer data to render the acquisition window screen in the main thread. By adopting the technical solution of the application, the efficiency of image collection can be improved, and program images can be output in real time and efficiently; moreover, it is convenient to run the collection function on all platforms without being restricted by the development platform.

Description

technical field [0001] The present application relates to the technical field of image processing, in particular to a real-time image extraction method. Background technique [0002] In UE4 (Unreal Engine 4, Unreal Engine 4), the existing method of image acquisition or interception of the program screen is executed by issuing the Shot / HighResShot command through the console. When the game is running in windowed mode, the command is based on the screen resolution size Generate screenshots. Since the main thread will be blocked when reading the pixels displayed on the viewport into the pre-allocated memory until the rendering thread is synchronized, the screen will experience obvious freezes at this time, which will affect the operation and display visual effects. [0003] Secondly, to run console commands in Unreal Engine, you must be in the editor or in the running program packaged into the development version, and the relevant collection instructions cannot be executed in ...

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 Patents(China)
IPC IPC(8): A63F13/52H04N5/268
Inventor 孟宪民李小波
Owner HENGXIN SHAMBALA CULTURE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products