Moving image dividing program, moving image dividing method, and moving image dividing device

The video division program optimizes still image extraction from accident videos by dividing based on frame rate, handling multiple videos, and adjusting file sizes, enhancing the number and quality of images for detailed analysis.

JP2024122765AActive Publication Date: 2024-09-09AIOI INSURANCE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023030490
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-09-09
Estimated Expiration
2043-02-28

AI Technical Summary

Technical Problem

Existing video division methods are inadequate for extracting sufficient still images from accident videos for detailed analysis, as they either rely on fixed time periods or frame divisions, which do not maximize the number of usable images.

Method used

A video division program that divides videos into still images based on frame rate, allows specification of division start and end times, handles multiple videos simultaneously, and adjusts file sizes and image quality to generate image groups with frame numbers and additional metadata.

Benefits of technology

This approach enables the extraction of a large number of high-quality still images for analysis, allowing for detailed investigation of accident scenes and improving the accuracy of image analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To improve the accuracy of preprocessing of analysis of an accident image to improve the efficiency of the analysis.SOLUTION: A moving image dividing program causes a computer to execute processing of: acquiring captured moving images and the frame rate of the moving images; dividing the acquired moving images into one-frame still images at the frame rate; and creating an image group in which the still images provided with frame numbers are arranged in order of the frame numbers, in addition to an image provided at least with information on the moving images including the frames.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a video division program, a video division method, and a video division device. [Background technology]

[0002] Patent Documents 1 and 2 disclose techniques for dividing a video into predetermined time segments.

[0003] Patent Document 3 discloses a technique for dividing a moving image into still images up to a number obtained by dividing the total number of frames by a predetermined division number. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2007-80129 A [Patent Document 2] WO2017 / 183270 publication [Patent Document 3] JP 2005-86344 A Summary of the Invention [Problem to be solved by the invention]

[0005] Here, in the image analysis of a traffic accident, still images divided from a video captured by a drive recorder can be important data.Similarly, in the image analysis of an accident, still images divided from a video captured by a security camera can be important data. As described in Patent Documents 1 and 2, simply dividing a video into predetermined time intervals may not be sufficient for image analysis of traffic accidents, etc. Furthermore, as described in Patent Document 3, even if a moving image is divided into still images up to the number obtained by dividing the total number of frames by a predetermined division number, there is still room for improvement in order to perform analysis using as many still images as possible.

[0006] The present invention has been made in consideration of the above circumstances, and has an object to provide a video segmentation program, a video segmentation method, and a video segmentation device that enable extraction of as many still images for analysis as possible from videos of accidents, etc. [Means for solving the problem]

[0007] The first aspect is a video division program that causes a computer to execute a process of acquiring a captured video and a frame rate of the video, dividing the acquired video into still images for each frame at the frame rate, and generating a group of images in which, in addition to images having information related to the video including at least the frames, frame numbers are assigned and the still images are arranged in the order of the frame numbers.

[0008] A video division program of a second aspect is a video division program of the first aspect, which causes a computer to execute a process of dividing the acquired video by specifying at least one of the start time and end time of division.

[0009] A video division program of the third aspect is a video division program of the first aspect, which causes a computer to execute a process of acquiring multiple videos shot simultaneously, dividing each of the acquired multiple videos into still images for each frame, and generating a group of images in which the same frame numbers are assigned to the still images of the same time for each of the videos.

[0010] A video splitting program of a fourth aspect is a video splitting program of the first aspect, which causes a computer to execute a process of dividing a file storing a group of images in which the still images are arranged in order of the frame numbers, into a plurality of files of a predetermined size or less, and generating the divided plurality of files.

[0011] A video division program of the fifth aspect is a video division program of the first aspect, which causes a computer to execute a process of setting elements related to the resolution of the still images for a group of images in which the still images are arranged in order of their frame numbers, and generating a group of images based on the set elements.

[0012] A sixth aspect is a video division method in which a computer executes a process of acquiring a captured video and a frame rate of the video, dividing the acquired video into still images for each frame at the frame rate, and generating a group of images in which, in addition to images having information related to the video including at least the frames, frame numbers are assigned and the still images are arranged in the order of the frame numbers.

[0013] A seventh aspect is a video splitting device that includes an acquisition unit that acquires a captured video and a frame rate of the video, a division unit that divides the acquired video into still images for each frame at the frame rate, and a generation unit that generates a group of images in which, in addition to images having information related to the video including at least the frames, the still images are assigned frame numbers and are arranged in the order of the frame numbers. Effect of the Invention

[0014] According to the present invention, it is possible to extract as many still images for analysis as possible from videos of accidents or the like. [Brief description of the drawings]

[0015] [Figure 1] FIG. 1 is a schematic diagram of an overall configuration according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a hardware configuration diagram of a server according to the embodiment. [Diagram 3] FIG. 2 is an explanatory diagram illustrating an example of a functional configuration of a server according to the present embodiment. [Figure 4] FIG. 13 is an image diagram showing a screen displayed on the notebook computer as a result of executing an application on the server according to the embodiment. [Diagram 5]11A to 11C are conceptual diagrams showing a group of images generated by a video division process of the server according to the embodiment. [Figure 6] 13 is a flowchart showing a video division process (first half) of the server according to the embodiment. [Figure 7] 13 is a flowchart showing the second half of the video division process by the server according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] Hereinafter, an example of this embodiment will be described with reference to the drawings. 1 shows a schematic diagram of the overall configuration of a server 10, which is a video splitting device, and a notebook computer 20, which is an example of an external terminal that accesses the server 10. The server 10 and each notebook computer 20 are connected to each other via a network N. Here, the server 10 is deployed in a cloud environment.

[0017] Fig. 2 shows a hardware configuration of the server 10. As shown in Fig. 2, the server 10 includes a CPU (Central Processing Unit) 101, a ROM (Read Only Memory) 102, a RAM (Random Access Memory) 103, a communication I / F (Interface) 104, and a storage 105. The CPU 101, the ROM 102, the RAM 103, the communication I / F 104, and the storage 105 are connected to each other via an internal bus 106 so as to be able to communicate with each other.

[0018] The CPU 101 is a central processing unit, and executes various programs and controls each component. That is, the CPU 101 reads a program from the ROM 102 or the storage 105, and executes the program using the RAM 103 as a working area. The CPU 101 controls each component and performs various arithmetic processing according to the program stored in the ROM 102. Note that there may be multiple CPUs 101.

[0019] The ROM 102 stores various programs including an operating system and various data, and also stores a moving image division program for executing a moving image division process, which will be described later. The RAM 103 serves as a working area for temporarily storing programs and data.

[0020] The communication I / F 104 is an interface for connecting to a network N in order to communicate with other devices such as the notebook computer 20. For this communication, for example, a wired communication standard such as Ethernet (registered trademark) or FDDI, or a wireless communication standard such as 4G, 5G, or Wi-Fi (registered trademark) is used.

[0021] The storage 105 is configured with a hard disk drive (HDD) or a solid state drive (SSD) and stores various data. It may also store various programs including an operating system.

[0022] The functional configuration of the server 10 according to this embodiment will be described with reference to Fig. 3. As shown in Fig. 3, the server 10 according to this embodiment functions as an acquisition unit 11, a storage unit 13, a setting unit 15, a division unit 17, and a generation unit 19 by the CPU 101 executing a video division program stored in the ROM 102.

[0023] The acquisition unit 11 acquires video information such as the captured video and the frame rate of the video (hereinafter, collectively referred to as "video data"). The video information includes, for example, the frame rate of the video, the frame rate mode (whether the frame rate is variable or fixed), the number of pixels, the video capture date and time, and the length of the video. The camera that captures the video may be a drive recorder mounted on a vehicle, a security camera installed in the city, a surveillance camera installed in a specific building, or a smartphone used by a passerby to capture the video, and the type of camera used for capturing the video is not limited. The video captured by the camera is imported into the notebook computer 20 of this embodiment via a medium such as an SD card.

[0024] The video data imported into the notebook computer 20 is selected by the user on the screen of a browser application executed on the notebook computer 20 (see FIG. 4), for example, and the acquisition unit 11 of the server 10 acquires the video data. That is, the server 10 downloads the video data from the notebook computer 20. The number of video data acquired by the acquisition unit 11 is not limited to one, and the acquisition unit 11 can acquire multiple videos captured simultaneously. For example, the acquisition unit 11 acquires multiple videos captured simultaneously by drive recorders provided at the front and rear of the vehicle. The method of selecting an item on the application screen is not limited to a user operation, and may be automated using a cycle previously set by, for example, RPA (Robotic Process Automation).

[0025] The storage unit 13 stores the video data acquired by the acquisition unit 11 in a database or the like. This database is provided, for example, in the storage 105 of the server 10. The storage unit 13 may also delete the video according to a retention period set for the stored data.

[0026] Furthermore, the storage unit 13 stores the ZIP format file generated by the process described later in the database, etc. The storage unit 13 can set the storage period of the file, so that the life cycle can be set so that the file is deleted one day after storage, for example.

[0027] The setting unit 15 sets the items displayed on the browser shown in Fig. 4. In detail, when a processing start button (the "START" button in Fig. 4) is pressed, the setting unit 15 reflects the setting of the item selected on the screen in the processing.

[0028] The setting unit 15 sets the segment to be used for dividing the video data in the extraction segment display 201A in Fig. 4. In the extraction segment display 201A, it is possible to select, using radio buttons, whether to set the extraction segment based on the start time and end time, or to set the extraction segment based on the start time and the length of the segment.

[0029] 4, the setting unit 15 can set whether or not to divide an image group generated by the generating unit 19, which will be described later, into a plurality of files of a predetermined size or less. Note that, in order to prevent the number of files from becoming too large when the image group is divided into a plurality of files, the setting unit 15 may set a maximum number of files.

[0030] In addition, in the multi-track output display 201C of Figure 4, the setting unit 15 can select whether to use all of the multiple video data acquired by the acquisition unit 11 for processing or to use only the first video data for processing.

[0031] Furthermore, the setting unit 15 can set the compression rate of the image quality and file size, which are elements related to the resolution of the still images after division, in the compression rate display 201D of FIG.

[0032] The division unit 17 divides the moving image acquired by the acquisition unit 11 into still images for each frame at the frame rate of the moving image. Furthermore, when the setting unit 15 has set that multiple moving image data are to be used for processing, the division unit 17 divides the multiple moving images into still images for each frame at the frame rate of each moving image.

[0033] The generating unit 19 generates an image group in which the still images divided by the dividing unit 17 are arranged in the order of their frame numbers. The frame numbers are numbers assigned in ascending order from the first still image obtained as a result of dividing the moving image on a frame-by-frame basis. The image group is a collection of divided still images and images to which frame numbers have been assigned. As shown in FIG. 5, the first image of the image group displays information related to the moving image (see image 202A). After the first image of the image group, the divided still images are arranged one by one in the order of their frame numbers (see image 202B).

[0034] The file format of the image group generated by the generation unit 19 in this embodiment is PowerPoint (registered trademark). The generation unit 19 compresses the image group files into ZIP format files.

[0035] Here, if the setting unit 15 has been set to divide the image group into multiple files of a predetermined size or less, the generating unit 19 divides the generated file into multiple files. Note that when the generating unit 19 divides the image group into multiple files, an image of information related to the video is displayed as the first image in each file.

[0036] Furthermore, if the setting unit 15 has been set to use all video data for processing, the generating unit 19 assigns the same frame number to still images at the same time for each still image divided in each video, and arranges the images in the order of frame number. In this case, the generating unit 19 uses the first image of each image group to be generated as information related to the video. Note that the information related to the video is not limited to image 202A in FIG. 5, and includes information such as the model name of the camera that identifies which image is which when a drive recorder is installed in two places, the front and rear of the car.

[0037] After the ZIP file is stored in the storage 105, which is a database, the server 10 notifies the notebook computer 20 that downloaded the video data. In this embodiment, the notification is sent by email to a pre-registered user. This email contains a URL for downloading the file related to the image group, a download expiration date, setting information for dividing the video, and information on the result of dividing the video. When the URL contained in the email received by the notebook computer 20 is clicked, the ZIP file containing the image group can be downloaded. The notification method is not limited to email, and a URL for downloading the file may be displayed on the browser screen (see FIG. 4).

[0038] Next, the operation of the server 10 according to this embodiment will be described. The server 10 executes a video division process shown in Fig. 6 and Fig. 7. The video division process is executed by the CPU 101 functioning as the acquisition unit 11, storage unit 13, setting unit 15, division unit 17, and generation unit 19. The video division process is an example of a video division method of the present invention. The moving image division process will be described with reference to FIGS.

[0039] In step S120, the CPU 101 acquires, via the network N, a video captured by a camera.

[0040] In step S122, CPU 101 assigns, for example, 1 to a variable m as a counter for repeating processing when multiple moving images are acquired, and assigns, for example, false to a multiple flag variable as a flag indicating whether the moving image to be processed is a single moving image or multiple moving images.

[0041] In step S124, CPU 101 determines whether the number of acquired moving images is more than one. If CPU 101 determines that the number of acquired moving images is more than one (step S124: YES), the process proceeds to step S126. On the other hand, if CPU 101 determines that the number of acquired moving images is not more than one (step S124: NO), the process proceeds to step S128.

[0042] In step S126, CPU 101 assigns the number of acquired moving images to variable m, and assigns true to the multiple flag variable, and then proceeds to step S128.

[0043] In step S128, CPU 101 obtains the frame rate of one moving image.

[0044] In step S130, CPU 101 divides one moving image into still images for each frame.

[0045] In step S132, CPU 101 determines whether or not the value of variable m is 1. If CPU 101 determines that the value of variable m is not 1 (step S132: NO), the process proceeds to step S134. On the other hand, if CPU 101 determines that the value of variable m is 1 (step S132: YES), the process proceeds to step S136 in FIG.

[0046] In step S134, CPU 101 subtracts 1 from the value of variable m, and then the process returns to step S128.

[0047] In step S136, CPU 101 determines whether the value of the multiple flag, which is a variable, is true. If CPU 101 determines that the value of the multiple flag is true (step S136: YES), the process proceeds to step S138. On the other hand, if CPU 101 determines that the value of the multiple flag is not true (step S136: NO), the process proceeds to step S142.

[0048] In step S138, CPU 101 writes information related to the moving images in the first image of the image group generated for each moving image of the multiple moving images. As described above, the information related to the moving images includes the frame rate, frame rate mode, number of pixels, date and time of the moving images, and length of the moving images. In addition, since there are multiple moving images, information indicating which camera was used to shoot the images may also be written. For example, if the camera is a drive recorder for a vehicle, information indicating the direction in which the camera is installed, such as the front camera or the back camera, may be written.

[0049] In step S140, CPU 101 assigns frame numbers to still images that have been divided for each of the multiple moving images, while assigning the same frame number to still images taken at the same time. Also, since there are multiple moving images, information indicating which camera captured the still image may be added to each still image. Then, the process proceeds to step S146.

[0050] In step S142, CPU 101 writes information relating to the moving image in the first image of the image group to be generated.

[0051] In step S144, the CPU 101 assigns frame numbers to the divided still images.

[0052] In step S146, CPU 101 arranges the still images in the order of frame numbers, placing an image of information related to the moving image (corresponding to the above-mentioned "first image") at the beginning, and arranging the still images after the first image in the order of frame numbers.

[0053] In step S148, the CPU 101 generates an arranged image group. The generated image group is managed as a file and stored in, for example, a database of the storage 105 by the storage unit 13 (see above for details).

[0054] In step S150, CPU 101 sends to the user an email containing a URL for downloading the stored file, etc. Then, the process ends.

[0055] (summary) As described above, the server 10, which is a video dividing device of this embodiment, acquires a captured video and the frame rate of the video, and divides the acquired video into still images for each frame. The server 10 then generates an image group including still images to which frame numbers are assigned and which are arranged in the order of the frame numbers, in addition to images to which information related to the video, including the frame rate, is assigned. Therefore, according to this embodiment, it is possible to extract as many still images for analysis as possible from a video of an accident or the like.

[0056] In addition, in the present embodiment, the acquired moving image is divided by specifying at least one of the division start time and the division end time. Therefore, according to the present embodiment, by specifying the division interval, it is possible to remove intervals that are not necessary for analysis, etc.

[0057] In addition, this embodiment acquires multiple captured videos, divides each of the acquired multiple videos into still images for each frame, and generates an image group in which still images from the same time for each video are assigned the same frame number. Therefore, according to this embodiment, not only can it be possible to extract as many still images for analysis as possible from videos of accidents, etc., but it is also possible to similarly extract still images from the same time from multiple videos, so that still images from videos taken from multiple locations with different angles can be used for analysis.

[0058] Furthermore, in this embodiment, when generating a file that stores a group of images in which still images are arranged in the order of frame numbers, the file is divided into multiple files of a predetermined size or less. Therefore, this embodiment can handle cases where the size of the file that stores the group of images becomes large. Reducing the file size can shorten the download time.

[0059] In addition, in this embodiment, for an image group in which still images are arranged in the order of frame numbers, a factor related to the resolution of the still images is set, and an image group is generated according to the set factor. Therefore, according to this embodiment, the image quality of the still images used for analysis can be adjusted according to the purpose. By setting the image group to a low image quality, the data size can be reduced.

[0060] Here, since a moving image is a collection of still images, if the frame rate is 30 fps (frames per second), for example, one second of moving image is made up of 30 still images, i.e., 30 frames. Dividing a moving image by frame units, as in this embodiment, means dividing the moving image by the maximum number of still images in the moving image, or in other words, is synonymous with dividing the moving image into the smallest possible units (hereinafter, referred to as "dividing by the smallest unit").

[0061] Below, a description will be given of use cases of still images divided into the smallest units by the server 10, which is the video division device of this embodiment. There are mainly two types of use cases: "image sharpening" and "video analysis." The "image sharpening" and "video analysis" processes in the server 10 may be performed in conjunction with the video division process described above. Note that both use cases will be described using as examples use cases relating to the analysis of videos of accidents, but the use method is not limited thereto.

[0062] First, in the "image sharpening" step, the present embodiment can divide a video into the smallest possible units, which increases the number of still images to be analyzed, allowing the most suitable still images to be selected for analysis. For example, this is effective when the video is blurred, the camera is not in focus, or the camera is not at a good shooting angle.

[0063] Examples of these include identifying license plates in cases where a vehicle has been hit and run while in motion, identifying traffic light colors, whether or not a signal was given, whether or not a stop sign was made, identifying company names or signs, and identifying whether the driver is not paying attention to the road ahead.

[0064] Furthermore, in "video analysis," there is a task of examining still images of the original video frame by frame, but according to this embodiment, it is possible to obtain still images of the smallest unit of a video, which may improve the accuracy of the investigation.

[0065] As a specific example, we will explain an example of using it to prove a collision accident at an intersection between a vehicle turning left and a vehicle going straight on the priority road. When the video of the accident scene is divided into still images by frame using the server 10, which is the video dividing device of this embodiment, for example, the still image of frame number 3884 (this time point is 0 seconds) reflects the green light of the straight-through signal on the priority road side. Also, the still image of frame number 4251 (12.3 seconds later) reflects the red light of the straight-through signal on the priority road side. Also, the still image of frame number 4523 (21.3 seconds later) shows the scene just before the collision. Note that the elapsed time between frame number 4251 and frame number 4523 can be calculated from the frame rate. Also, by investigating the accident scene at the intersection and checking the signal cycle (in this case, green 53 seconds → yellow 2 seconds → red 24 seconds), and comparing it with the color of the signal at the time of the previous frame number, it is possible to confirm that it is not a misidentification. In this case, the above-mentioned information on the still image divided by the server 10 proves that there is a time interval of about 9.0 seconds between frame number 4251 and frame number 4523, and therefore it is determined that the vehicle traveling straight on the priority road had sufficient time to stop safely, which may settle the issue of who was at fault.

[0066] In this manner, the server 10 of this embodiment can be applied to identifying accident circumstances, collision sequence, vehicle speed, lane change and signal timing, and driver identification.

[0067] The server 10 of the present embodiment is also capable of restoring video. For example, it is possible to restore video that can no longer be played due to data deletion, damage to a terminal, initialization, or the like.

[0068] (remarks) The video division process executed by the CPU 101 by reading the software (program) in the above embodiment may be executed by various processors other than the CPU. In this case, examples of the processor include a PLD (Programmable Logic Device) such as an FPGA (Field-Programmable Gate Array) whose circuit configuration can be changed after manufacture, and a dedicated electric circuit such as an ASIC (Application Specific Integrated Circuit) which is a processor having a circuit configuration designed exclusively for executing a specific process. The transmission process may be executed by one of these various processors, or may be executed by a combination of two or more processors of the same or different types (for example, a plurality of FPGAs, and a combination of a CPU and an FPGA). The hardware structure of these various processors is, more specifically, an electric circuit that combines circuit elements such as semiconductor elements.

[0069] In the above embodiment, the video division program is stored (installed) in advance in the storage device, but the present invention is not limited to this. The program may be provided in a form recorded on a recording medium such as a CD-ROM, a DVD-ROM (Digital Versatile Disc Read Only Memory), or a USB (Universal Serial Bus) memory. The program may also be downloaded from an external device via a network. [Explanation of symbols]

[0070] N Network 10 Video Splitter 11 Acquisition Department 13 Storage area 15 Setting section 17 Division 19 Generation part 20. Laptop 101 CPU 102 ROM 103 RAM 104 Communication I / F 105 Storage 106 Internal Bus 202A Image (image with video information attached) 202B Image (still image for each frame)

Claims

1. Acquire a captured video and a frame rate of the video; Dividing the acquired moving image into still images for each frame at the frame rate; generating an image group in which frame numbers are assigned to images to which information related to the moving image including at least the frames is assigned, and the still images are arranged in the order of the frame numbers; A video splitting program that causes a computer to perform the processing.

2. In the acquired moving image, at least one of a division start time and a division end time is designated to divide the moving image. The video division program according to claim 1 .

3. Acquire multiple videos taken simultaneously, Dividing the plurality of acquired moving images into still images for each frame, The image group is generated by assigning the same frame number to the still images at the same time for each of the moving images. The video division program according to claim 1 .

4. In generating a file storing a group of images in which the still images are arranged in the order of frame numbers, the file is divided into a plurality of files each having a predetermined size or less, and the divided plurality of files is generated. The video division program according to claim 1 .

5. setting a factor related to the resolution of the still images for the image group in which the still images are arranged in the order of the frame numbers; Generate a group of images according to the set elements The video division program according to claim 1 .

6. Acquire a captured video and a frame rate of the video; Dividing the acquired moving image into still images for each frame at the frame rate; generating an image group in which frame numbers are assigned to images to which information related to the moving image including at least the frames is assigned, and the still images are arranged in the order of the frame numbers; A video splitting method in which processing is performed by a computer.

7. An acquisition unit that acquires a captured video and a frame rate of the video; a division unit that divides the acquired moving image into still images for each frame at the frame rate; a generation unit that generates an image group in which, in addition to an image to which information related to the moving image including at least the frame is assigned, a frame number is assigned and the still images are arranged in the order of the frame numbers; A video splitter including:

Citation Information

Patent Citations

  • Moving picture management method and apparatus

    JP2005086344A

  • Animation extracting device, animation extracting method, program for executing the method, fluid-measuring device, fluid-measuring method and program for executing the method

    JP2007080129A

  • Motion video segmenting method, motion video segmenting device, and motion video processing system

    WO2017183270A1