Real-time panorama generation realization system and method based on Spark and OpenCV

A technology for generating systems and panoramas, which is applied in the field of computer vision and can solve the problems that real-time generation, video processing, and long time for generating panoramic pictures cannot be achieved.

Pending Publication Date: 2021-03-26
JINAN INSPUR HIGH TECH TECH DEV CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, panoramic video stitching technology has been widely used in various aspects of production and life, such as virtual reality, scenic spot fire protection, and satellite images. However, there are certain problems at present, such as if the amount of data is too large If this is the case, the time to process the video and generate the panoramic image will be very long, and it cannot be

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
  • Real-time panorama generation realization system and method based on Spark and OpenCV

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0041]The following detailed description of the present invention is implemented in accordance with the real-time generation of the present invention in conjunction with the accompanying drawings.

[0042]A real-time generation panorama implementation system based on Spark and OpenCV, including:

[0043]The video acquisition module, monitors the camera to the mobile phone, collect video images with different elevation angles, using OpenCV to convert the video stream into frame;

[0044]Video cache module, for the Kafka server, send the key value of each frame to the Kafka server after the conversion;

[0045]The video processing module, for Spark, Spark from the Kafka server, splitting the cached image; Spark runs the OpenCV-based panoramic video splicing algorithm, multi-loop splicing the acquired image, generate panoramic pictures;

[0046]Panoramic picture storage module, deposit the panoramic image of the splicing to HDFS for the call of specific applications;

[0047]Panoramic picture analysis m...

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 provides a real-time panorama generation realization system and method based on Spark and OpenCV, and belongs to the field of computer vision, and the system comprises a video collectionmodule, a video caching module, a video processing module, a panorama picture storage module, and a panorama picture analysis module. The method comprises the following steps: 1) starting a holder, and driving a camera to rotate for multiple circles at different elevation angles to acquire videos; 2) converting the video stream into a frame by using OpenCV; 3) converting the key value pair of each frame of image, and sending the converted key value pair to a kafka server for caching; 4) enabling the Spark to obtain the cached image from the kafka server; 5) enabling the Spark to operate a panoramic video stitching algorithm based on OpenCV, and perform multi-circle stitching on the acquired images to generate a panoramic picture; and 6) storing the spliced panoramic image into an HDFS forcalling of a specific application. According to the invention, some scenes with high real-time requirements, such as scenic spot fire prevention, can be satisfied.

Description

technical field [0001] The invention relates to a system and method for realizing real-time generation of panoramas based on Spark and OpenCV, belonging to the field of computer vision. Background technique [0002] At present, panoramic video stitching technology has been widely used in various aspects of production and life, such as virtual reality, scenic spot fire protection, and satellite images. However, there are certain problems at present, such as if the amount of data is too large If this is the case, the time to process the video and generate the panoramic image will be very long, and it cannot be generated in real time, which makes it difficult to meet some scenes that require high real-time performance, such as the prevention of fire in scenic spots, so it is necessary to A technology capable of quickly generating panorama pictures based on a pan-tilt camera, so it is necessary to design a real-time panorama generation system and method to realize the real-time ...

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
IPC IPC(8): G06T3/40G06T5/50G06T7/40G06T7/90G06K9/62
CPCG06T3/4038G06T5/50G06T7/40G06T7/90G06T2200/32G06T2207/20221G06F18/24155G06F18/214
Inventor 戴鸿君
Owner JINAN INSPUR HIGH TECH TECH DEV 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