Small video generating and sending method and device

Through the small video generation and sending method, the main control computer and Excel document set conditions to generate diverse simulated videos, solving the problem of conditions restricting actual target tracking detection and detection tests, and achieving flexible and reliable test verification.

CN120075543APending Publication Date: 2025-05-30SHENYANG INST OF AUTOMATION - CHINESE ACAD OF SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311605857.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-29
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The actual target tracking, detection and testing are limited by conditions such as site meteorology, and multiple tests may cause human, financial and material losses, and the target movement trajectory is single, making it difficult to meet the testing needs.

Method used

The small video generation and sending method is used to read the Excel document through the main computer to set the video generation conditions, select the geographical environment and meteorological conditions, and generate simulated videos with multiple motion trajectories to replace some actual target tracking detection and detection tests.

Benefits of technology

It realizes that diversified simulation videos are generated without being restricted by site meteorological conditions, meet the verification needs of target tracking and detection algorithms, reduces human, financial and material losses, and improves the flexibility and reliability of testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120075543A_ABST
    Figure CN120075543A_ABST
Patent Text Reader

Abstract

The invention belongs to the field of computer video generation and sending, and particularly relates to a small video generation and sending method and device, and the method comprises the following steps: enabling a main control computer to go to a designated path according to the setting requirements of excel document content, and reading different background images or target images in different paths; an instruction for selecting a video generation mode is sent to the main control computer through the industrial display, the main control computer carries out zooming or zooming and fuzzy processing on an image according to the selected corresponding video generation mode, and a video with excel document setting conditions is generated; the main control computer sets requirements according to text document content and sends corresponding communication data according to specified time; and the main control computer outputs the generated and processed video to a second display screen at the output end of the screen splitter for displaying, converts the content of the second display screen into an SDI video through a video converter, and transmits the SDI video to external equipment through a video output port.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of computer video generation and transmission, and particularly relates to a method and device for small video generation and transmission. Background Art

[0002] Currently, computer video has been widely used in many fields. Computer video technology can also be applied in the field of target tracking and detection. When performing target tracking and detection, it is often necessary to track and detect targets with specific rules multiple times to verify the feasibility and reliability of the target tracking and detection algorithm. Conducting actual target tracking and detection experiments has advantages such as authenticity and reliability, but there are also many deficiencies:

[0003] 1) The actual target tracking and detection experiment is restricted by conditions such as site and meteorology, and may not meet the test requirements;

[0004] 2) Conducting actual target tracking and detection experiments multiple times may cause losses in human, financial, and material resources;

[0005] 3) The actual target may have a single movement trajectory, and the experiment is difficult to meet the test requirements.

[0006] Therefore, it is proposed to use simulated video to replace part of the actual target tracking and detection experiment to verify the feasibility and reliability of the target tracking and detection algorithm. The targets in the video used can be set with a variety of different movement trajectories through programs, and these movement trajectories can be generated by referring to the trajectories of targets in actual target tracking and detection experiments. Summary of the Invention

[0007] The purpose of the present invention is to provide a method and device for small video generation and transmission to overcome the deficiencies of the actual target tracking and detection experiment.

[0008] The technical solution adopted by the present invention to achieve the above purpose is: a method for small video generation and transmission, including the following steps:

[0009] 1) Set the setting requirements for the content of the excel document, and store the video generation conditions set by the excel document in a specified directory on the hard disk; the main control computer reads different background images or target images in different paths according to the setting requirements of the excel document content.

[0010] 2) After the main control computer is started, it reads the setting requirements of the text document content at the specified path, and sends the corresponding communication data to the corresponding module at the specified time through the serial communication interface.

[0011] 3) Set the video generation method, send an instruction to select the video generation method to the main control computer through the industrial monitor, and the main control computer scales or scales and blurs the image according to the selected corresponding video generation method, and generates the processed video;

[0012] 4) The main control computer outputs the generated processed video to the second display screen of the splitter output terminal for display, converts the content of the second display screen into SDI video through a video converter, and transmits it to an external device through a video output port.

[0013] There are 4 types of the video generation methods, which are respectively:

[0014] Method 1: The main control computer selects the geographical environment and meteorological conditions, and draws the target image according to the set conditions in the excel document;

[0015] Method 2: The main control computer selects the geographical environment and meteorological conditions, and superimposes the target image according to the set conditions in the excel document;

[0016] Method 3: The main control computer reads the images frame by frame;

[0017] Method 4: The main control computer reads the video frame by frame.

[0018] The excel document sets the video generation conditions, including: video background image switching information, moving target trajectory, size and brightness.

[0019] The scaling or scaling and blurring processing of the image according to the corresponding video generation method is specifically as follows:

[0020] For Method 1 and Method 2: The main control computer reads different background images from the specified path according to the set requirements in the excel document content, superimposes them on the background image according to the specified video background image switching information, moving target trajectory, size and brightness, and performs blurring processing to achieve a real visual effect; the main control computer superimposes the processed images to the specified size and frequency of 720p, 50Hz; and outputs them to the splitter for display;

[0021] For Method 3: The main control computer reads a specified number of images from the specified path. The images are pre-processed by the user in advance and contain the targets to be tracked and detected, and there is no need for the main control computer to perform target superposition; the main control computer outputs the read images to the splitter for display according to the specified size and frequency of 720p, 50Hz;

[0022] For Method 4: The master computer reads the specified video recording from the specified path. The video recording is a video pre - processed by the user in advance, which contains the targets to be tracked and detected, and there is no need for the master computer to superimpose the targets. The master computer reads the images frame by frame and outputs the read images to the splitter for display at the specified size and frequency according to 720p, 50Hz.

[0023] The text document also stores communication data and information, that is: sending specified communication data at a specified time.

[0024] The specific content of step 2) is as follows:

[0025] The master computer reads the specified text document from the specified path, determines whether the conditions for the specific instructions specified in the text document are met. If the conditions for the specific instructions to be sent are met, the communication data corresponding to the instructions is sent to the corresponding module according to the requirements of the text document. After the sending is completed, the serial communication interface is closed; otherwise, the master computer continues to wait.

[0026] An apparatus for a small - scale video generation and sending method, including: a master computer, an industrial display, a splitter, a video converter, a serial communication interface, and a video output port;

[0027] The master computer is used to read different background images or target images in different paths from the specified path according to the setting requirements of the content of the excel document; and perform selection according to the set video generation method, and perform scaling or scaling plus blurring processing on the images according to the requirements of the selected video generation method, generate a video that meets the set conditions of the excel document, and output it to the splitter for display;

[0028] The industrial display is a touch screen, which is used to display the operation interface and send control instructions to the master computer;

[0029] The input end of the splitter is connected to the master computer, and the output ends are respectively connected to the industrial display and the video converter, that is, used to display the control interface corresponding to the control instructions sent by the industrial display and the video that meets the set conditions of the excel document generated by the control computer;

[0030] The video converter is used to convert the video generated and processed by the master computer into an SDI video and output it to an external device through the video output port;

[0031] The serial communication interface is used to send specified communication data at a specified time;

[0032] The video output port is connected to the output end of the video converter and is used to output the SDI video generated by the video generation and sending device to the outside.

[0033] The present invention has the following beneficial effects and advantages:

[0034] 1. The present invention adopts image processing technology and image superposition technology, and the main control computer generates a video with a specified size and frequency (720p, 50Hz) and sends it to other devices.

[0035] 2. The present invention reads the content of a specified excel document as the basis for video generation, and can modify the target trajectory, size and brightness by modifying the document content (the first and second ways of video generation), making the device flexible and easy to operate.

[0036] 3. The present invention reads different background images or target images for superposition to generate videos, and can generate videos with different geographical environments such as grasslands, deserts, cities, etc., and different meteorological conditions such as sunny days, cloudy days, foggy days, rainy and snowy days, making the videos generated by the device diverse.

[0037] 4. The present invention adopts a method of converting the read and preprocessed images or videos into videos with a specified size and frequency (720p, 50Hz) (the third and fourth ways of video generation), and can use the video of a certain actual target tracking and detection experiment as the video output of the device to verify the target tracking and detection algorithm, making the device flexible and realistic.

[0038] 5. The present invention adopts a method of sending specific instructions at specific times, reads a specified text document at a specified path, and can modify the instruction sending time and content by modifying the document content, making the device flexible and easy to operate.

[0039] 6. The present invention has a simple structure and a small size, and has the advantages of easy maintenance, easy implementation, high efficiency, strong reliability and high precision. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 is the structural layout block diagram of the present invention;

[0041] Figure 2 is the flowchart of video generation and sending of the present invention;

[0042] Figure 3 is the flowchart of instruction data processing of the present invention;

[0043] Figure 4 is the structural schematic diagram of the small video generation and sending device of the present invention;

[0044] Among them, 100 is the main control computer, 200 is the industrial display, 300 is the splitter, 400 is the video converter, 500 is the serial communication interface, and 600 is the video output port. DETAILED DESCRIPTION OF THE INVENTION

[0045] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0046] Accompanying Figure 1 is an embodiment of a small video generation and transmission device. As Figure 1 shown, the entire device consists of six parts: a main control computer 100, an industrial display 200, a splitter 300, a video converter 400, a serial communication interface 500, and a video output port 600;

[0047] Among them, the main control computer 100 consists of a small motherboard, a CPU, a memory, a solid-state drive, etc.; the industrial display 200 has a touch screen function;

[0048] The splitter 300 divides the display screen into two parts. One part is connected to the industrial display 200 for displaying the software interface; the other part is connected to the video converter 400 for outputting video.

[0049] The video converter 400 is used to convert and output the video generated by the main control computer; the serial communication interface 500 is used to output relevant communication data; the video output port 600 is used to output the generated SDI video to external devices.

[0050] Before the main control computer 100 runs, the main control computer sets the display resolution and refresh rate. Among them, the resolution of the second display screen (the display screen corresponding to the video converter 400) is set to 1280×720, and the frequency is 50Hz, that is, the present invention provides a video output of 720p, 50Hz. When the main control computer runs, the main control computer interface is displayed on the industrial display 200 through program control, and the generated video is displayed on the display screen corresponding to the video converter 400. The video can be sent to the required device through the video output port 600. The core of this method is to fill the second display screen with the video generated by the software and convert the information of this display screen into SDI video and send it to other devices.

[0051] As Figure 4 shown, the layout diagram of the small video generation and transmission device. The entire device is installed in a self-made chassis. The main control computer 100, the splitter 300, and the video converter 400 are installed inside the chassis. The serial communication interface 500 and the video output port 600 are installed on the front panel of the chassis, and the industrial display 200 is installed on the upper surface of the chassis. The entire device has a small appearance and is convenient to carry and use.

[0052] The main control computer 100 uses an Advantech MIO-5272 small industrial motherboard, an Intel i7 7600U CPU, 16GB DDR3 memory, and a 1TB solid-state drive.

[0053] The industrial monitor 200 uses an 11.6-inch capacitive touch screen with a maximum resolution of 1920*1080. It has HDMI and VGA interfaces and can be embedded on the upper surface of the chassis.

[0054] The splitter 300 uses the UGREEN HDMI splitter one-in-two-out CM601, which can convert 1 HDMI into 2 HDMI. That is, the HDMI of the graphics card is used as the input of the splitter 300. One output HDMI is connected to the industrial monitor 200, and the other output HDMI is connected to the video converter 400.

[0055] The video converter 400 uses the UGREEN HDMI to SDI audio and video converter CM132, which can convert HDMI input into SDI video output.

[0056] The serial communication interface 500 is a DB9 male serial port, fixed on the front panel of the chassis; it is connected to the 422 serial port built into the motherboard of the 100 main control computer through a twisted pair cable.

[0057] The video output port 600 is an SDI female head, fixed on the front panel of the chassis; it is connected to the output end of the 400 video converter through an SDI cable.

[0058] As Figure 2 shown, it is the flowchart of video generation and transmission of the present invention. When the main control computer 100 starts, it reads the specified excel document from the specified path. This document stores the necessary information for video generation, such as video background image switching information, moving target trajectory, size, brightness and other information. After the main control computer 100 starts, it can select to generate videos with different geographical environments, different meteorological conditions and moving target trajectories with different movement trajectories in the interface, and send the videos to other devices through the video converter 400. Specifically, a small video generation and transmission method of the present invention includes the following steps:

[0059] 1) Set the setting requirements of the excel document content, and store the set video generation conditions of the excel document in the specified directory of the hard disk; the main control computer 100 reads different background images or target images in different paths according to the setting requirements of the excel document content;

[0060] 2) After the main control computer 100 starts, it reads the setting requirements of the text document content from the specified path, and sends the corresponding communication data to the corresponding module at the specified time through the serial communication interface 500;

[0061] 3) Set the video generation method, send an instruction to select the video generation method to the main control computer 100 through the industrial monitor 200, and the main control computer 100 performs scaling or scaling plus blurring processing on the image according to the selected corresponding video generation method, and generates the processed video;

[0062] 4) The master computer 100 outputs the processed video generated to the second display screen at the output end of the splitter 300 for display, converts the content of the second display screen into SDI video through the video converter 400, and transmits it to an external device through the video output port 600.

[0063] Among them, in step 1, set the setting requirements of the excel document content, and store the set video generation conditions of the excel document in the specified directory of the hard disk, specifically:

[0064] When the master computer starts up, it reads the specified excel document from the specified path. This document stores the necessary information for video generation, such as video background image switching information, moving target trajectories, sizes, and brightness, etc.; it reads the specified text document from the specified path. This document stores relevant communication data, such as sending corresponding communication data at a specified time. After the master computer starts up, it can select to generate multiple videos with different geographical environments, different meteorological conditions, and targets with different movement trajectories in the interface, convert them into SDI videos through the video converter 400, and send the SDI videos to other devices through the video output port 600; at the same time, send relevant communication data at a specified time through the 500 serial communication interface.

[0065] The present invention sets 4 video generation methods, specifically as follows:

[0066] The 4 video generation methods include:

[0067] Method 1: The master computer (100) selects the geographical environment and meteorological conditions, and draws the target image according to the set conditions of the excel document;

[0068] Method 2: The master computer (100) selects the geographical environment and meteorological conditions, and superimposes the target image according to the set conditions of the excel document;

[0069] Method 3: The master computer (100) reads images frame by frame;

[0070] Method 4: The master computer (100) reads videos frame by frame.

[0071] Among them, each method performs the following steps:

[0072] For the first method, according to the content regulations of the excel document, the master computer 100 reads different background images from the specified path, draws a circle or an ellipse according to the specified trajectory, size, and brightness and superimposes it on the background image, and appropriately performs blurring processing to achieve a more realistic visual effect. The master computer displays the superimposed and processed image on the screen of the second path of the splitter 300 according to the specified size and frequency (720p, 50Hz).

[0073] In the second method, according to the regulations in the excel document content, the main control computer 100 reads different background images and target images from the specified path, superimposes the target image on the background image according to the specified trajectory, size and brightness, and appropriately performs blurring processing to achieve a more realistic visual effect. The software can display the superimposed image on the screen of the second channel of the splitter 300 according to the specified size and frequency (720p, 50Hz).

[0074] In the third method, the main control computer 100 reads a specified number of images from the specified path. These images are pre-processed by the user in advance and contain the targets to be tracked and detected, and there is no need for the software to perform target superimposition. The software can display the read images on the screen of the second channel of the splitter 300 according to the specified size and frequency (720p, 50Hz).

[0075] In the fourth method, the main control computer 100 reads the specified video recordings from the specified path. These video recordings are pre-processed by the user in advance and contain the targets to be tracked and detected, and there is no need for the software to perform target superimposition. The software reads the images frame by frame and can display the read images on the screen of the second channel of the splitter 300 according to the specified size and frequency (720p, 50Hz).

[0076] The present invention improves the video image preprocessing method. Image preprocessing is carried out in advance to generate various different background images and save them to the specified path; through the superimposition and blurring processing technologies of the main control computer 100, the background images are added, so that the video has different geographical environments such as grasslands, deserts, and cities, and different meteorological conditions such as sunny days, cloudy days, foggy days, rainy days, and snowy days.

[0077] As Figure 3 shown, it is the instruction data processing flow chart of the present invention;

[0078] Among them, the text document also stores communication data and information, that is: sending specified communication data at a specified time. The main control computer 100 sets requirements according to the content of the text document, and sends the corresponding communication data to the external device at the specified time through the serial communication interface 500. Specifically:

[0079] The main control computer 100 reads the specified text document from the specified path, judges whether the conditions for sending the specific instructions specified in the text document are met. If the conditions for sending the specific instructions are met, it sends the communication data of the corresponding instructions to the corresponding module according to the requirements of the text document. After sending, it closes the serial communication interface 500; otherwise, the main control computer 100 continues to wait.

[0080] In summary, the present invention uses a method of converting a preprocessed image or video into a video of a specified size and frequency (720p, 50Hz) (the third and fourth methods of video generation), and can use the video of a certain actual target tracking and detection experiment as the video output of this device to verify the target tracking and detection algorithm, making this device flexible and realistic.

[0081] The above examples have been described to allow for an easy understanding of the present invention, but the above examples do not limit the present invention. On the contrary, the present invention intends to cover various improvements and equivalent methods, and its scope should be given the broadest interpretation allowed by law so as to include all such improvements and equivalent methods.

Claims

1. A method for generating and sending small videos, characterized in that, it includes the following steps: 1) Set the setting requirements of the excel document content, and store the video generation conditions set by the excel document in the specified directory of the hard disk; the main control computer (100) reads the setting requirements of the excel document content and goes to the specified path to read different background images or target images in different paths; 2) After the main control computer (100) is started, it reads the setting requirements of the text document content at the specified path, and sends the corresponding communication data to the corresponding module at the specified time through the serial communication interface (500); 3) Set the video generation method, send an instruction to select the video generation method to the main control computer (100) through the industrial display (200), and the main control computer (100) performs scaling or scaling plus blurring processing on the image according to the selected corresponding video generation method, and generates the processed video; 4) The main control computer (100) outputs the generated and processed video to the second display screen of the output end of the splitter (300) for display, and converts the content of the second display screen into an SDI video through the video converter (400), and transmits it to the external device through the video output port (600).

2. A method for generating and sending small videos according to claim 1, characterized in that, there are 4 types of the video generation methods, which are respectively: Method 1: The main control computer (100) selects the geographical environment and meteorological conditions, and draws the target image according to the set conditions of the excel document; Method 2: The main control computer (100) selects the geographical environment and meteorological conditions, and superimposes the target image according to the set conditions of the excel document; Method 3: The main control computer (100) reads the image frame by frame; Method 4: The main control computer (100) reads the video frame by frame.

3. A method for generating and sending small videos according to claim 2, characterized in that, the video generation conditions set by the excel document include: video background image switching information, moving target trajectory, size and brightness.

4. A method for generating and sending small videos according to claim 2, characterized in that, the scaling or scaling plus blurring processing of the image according to the corresponding video generation method is specifically: For Method 1 and Method 2: The main control computer (100) reads different background images at the specified path according to the setting requirements of the excel document content, superimposes them on the background image according to the specified video background image switching information, moving target trajectory, size and brightness, and performs blurring processing to achieve a real visual effect; the main control computer (100) superimposes and processes the image to a specified size and frequency of 720p, 50Hz; and outputs it to the splitter (300) for display; For Method 3: The master computer (100) reads a specified number of images from a specified path. The images are pre - processed by the user in advance and contain the targets to be tracked and detected, and there is no need for the master computer (100) to perform target superposition. The master computer (100) outputs the read images to the splitter (300) for display according to the specified size and frequency at 720p, 50Hz. For Method 4: The master computer (100) reads a specified video recording from a specified path. The video recording is pre - processed by the user in advance and contains the targets to be tracked and detected, and there is no need for the master computer (100) to perform target superposition. The master computer (100) reads the images frame by frame and outputs the read images to the splitter (300) for display according to the specified size and frequency at 720p, 50Hz.

5. A method for generating and sending a small - scale video according to claim 1, characterized in that, The text document also stores communication data and information, that is: sending specified communication data at a specified time.

6. A method for generating and sending a small - scale video according to claim 1, characterized in that, Step 2), specifically: The master computer (100) reads a specified text document from a specified path and determines whether the conditions for the specific instructions specified in the text document for sending are met. If the conditions for the sending of the specific instructions are met, the communication data corresponding to the instructions is sent to the corresponding module according to the requirements of the text document. After the sending is completed, the serial communication interface (500) is closed; otherwise, the master computer (100) continues to wait.

7. An apparatus for a method for generating and sending a small - scale video according to claim 1, characterized in that, It includes: a master computer (100), an industrial display (200), a splitter (300), a video converter (400), a serial communication interface (500), and a video output port (600); The master computer (100) is used to read different background images or target images in different paths from a specified path according to the setting requirements of the content of the excel document; and select according to the set video generation method, and perform scaling or scaling plus blurring processing on the images according to the requirements of the selected video generation method to generate a video that meets the conditions set in the excel document, and output it to the splitter (300) for display; The industrial display (200) is a touch screen, which is used to display an operation interface and send control instructions to the master computer (100); The input end of the splitter (300) is connected to the master computer (100), and the output ends are respectively connected to the industrial display (200) and the video converter (400), that is, respectively used to display the control interface for sending control instructions corresponding to the industrial display (200), and to display the video that meets the conditions set in the excel document generated by the control computer (100); The video converter (400) is used to convert the video received from the master computer (100) into an SDI video and output it to an external device through the video output port (600); Serial communication interface (500), used to send specified communication data at a specified time; Video output port (600), connected to the output end of the video converter (400), used to output the SDI video generated by the video generation and sending device externally.