Frame drop detection device, program, and frame drop detection method
The dropped frame detection device and method efficiently identify dropped frames by encoding and analyzing data changes in video frames, reducing processing load and improving CCTV system evaluation efficiency and reliability.
Patent Information
- Application Number
- PCT/JP2023/010376
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-16
- Publication Date
- 2024-09-19
AI Technical Summary
Existing automatic dropped frame detection methods for video surveillance systems are computationally intensive due to high-load processing, making them resource-demanding and time-consuming.
A dropped frame detection device and method that captures and encodes video frames, identifying areas with changing data amounts to determine dropped frames, reducing processing load by analyzing data changes according to predetermined rules.
This approach allows for efficient detection of dropped frames with reduced computational load, enabling effective evaluation of CCTV systems without high-performance devices and preventing frame drops in the evaluation camera.
Smart Images

Figure JP2023010376_19092024_PF_FP_ABST
Abstract
Description
Dropped frame detection device, program, and dropped frame detection method
[0001] The present disclosure relates to a dropped frame detection device, a program, and a dropped frame detection method.
[0002] Detecting dropped frames in video involves verifying frames that have not been recorded, and is an essential task for surveillance systems. Therefore, when evaluating the performance of a CCTV (Closed-Circuit Television) system, it is necessary to determine whether dropped frames are occurring in the video.
[0003] Since visually determining whether frames are dropped is extremely time-consuming and demanding, techniques for automatically detecting dropped frames have been proposed. For example, Patent Literature 1 proposes a technique for automatically detecting video anomalies using an external device equipped with AI (Artificial Intelligence).
[0004] JP 2021-97336 A, FIG. 1
[0005] The technology described in Patent Document 1 has a problem in that the amount of calculation is large because the device that detects anomalies performs high-load processing using AI.
[0006] Therefore, one or more aspects of the present disclosure aim to reduce the processing load when automatically detecting dropped frames.
[0007] A frame dropping detection device according to one aspect of the present disclosure is characterized by comprising: an imaging unit that captures images one frame at a time so as to include the image displayed on a device that captures and displays frame dropping detection video, in which the state of data volume in at least a portion of the area changes for each frame according to a predetermined rule; an area identification unit that identifies an area from the image that corresponds to the frame dropping detection video as a target area; an encoding unit that encodes the image; and a frame dropping analysis unit that identifies the data volume of a portion of the encoded image that corresponds to at least a portion of the target area, and determines that frame dropping has occurred in the device if the state of the identified data volume does not change according to the predetermined rule.
[0008] A program according to one aspect of the present disclosure causes a computer to function as an area identification unit that identifies an area corresponding to a frame dropping detection image as a target area from an image captured frame by frame so as to include an image displayed on a device that captures and displays frame dropping detection image, in which the state of data volume in at least a portion of the area changes for each frame according to a predetermined rule; an encoding unit that encodes the image; and a frame dropping analysis unit that identifies the data volume of a portion corresponding to at least a portion of the target area from the encoded image and determines that frame dropping has occurred in the device if the state of the identified data volume does not change according to the predetermined rule.
[0009] A frame dropping detection method according to one aspect of the present disclosure is characterized in that it captures an image frame by frame so as to include an image displayed on a device that captures and displays frame dropping detection image, in which the state of data volume in at least a portion of the frame changes according to a predetermined rule, identifies an area from the image that corresponds to the frame dropping detection image as a target area, encodes the image, identifies the data volume of a portion of the encoded image that corresponds to at least a portion of the target area, and determines that a frame dropping has occurred in the device if the state of the identified data volume does not change according to the predetermined rule.
[0010] According to one or more aspects of the present disclosure, it is possible to reduce the processing load when automatically detecting dropped frames.
[0011] FIG. 1 is a block diagram showing a schematic configuration of a dropped frame detection system according to a first embodiment. (A) and (B) are schematic diagrams showing an example of a dropped frame detection image used in the first embodiment. (A) and (B) are block diagrams showing an example of a hardware configuration. (A) is a first flowchart showing the operation of dropped frame detection in the first embodiment. (B) is a second flowchart showing the operation of dropped frame detection in the first embodiment. (C) is a block diagram showing a schematic configuration of a dropped frame detection system according to a second embodiment. (A) to (C) are schematic diagrams showing an example of a dropped frame detection image used in the embodiments. (C) is a flowchart showing the operation of dropped frame detection in the second embodiment.
[0012] 1 is a block diagram showing a schematic configuration of a dropped frame detection system 100 according to embodiment 1. The dropped frame detection system 100 includes an evaluation monitor 110, a CCTV 120, an evaluation camera 130 as a dropped frame detection device, and an evaluation camera control device 150.
[0013] The evaluation monitor 110 displays a dropped frame detection image 111 and a region specifying marker 112 .
[0014] The dropped frame detection video 111 is a video having a plurality of images output in a regular pattern, which is used in the dropped frame detection method according to the first embodiment.
[0015] The region identification marker 112 is an identification image that indicates the region of the image required for frame dropping detection by the evaluation camera 130. The evaluation camera 130 identifies the region surrounded by the region identification marker 112 from the captured video.
[0016] The CCTV 120 captures and displays images and includes a camera 121, a recorder 122, and a monitor 123.
[0017] The camera 121 captures an image including the evaluation monitor 110. When detecting dropped frames, the evaluation monitor 110 displays the dropped frame detection image 111 and the area identification marker 112 as described above.
[0018] The recorder 122 stores video data of the video captured by the camera 121. The monitor 123 displays the video of the video data stored in the recorder 122. The video displayed here includes an evaluation video corresponding to the video for detecting dropped frames.
[0019] The evaluation camera 130 captures an evaluation video so that the monitor 123 of the CCTV 120 is included in the angle of view, detects dropped frames from the captured evaluation video, and sends the detection result to the evaluation camera control device 150.
[0020] The evaluation camera control device 150 is connected to the evaluation camera 130 and receives the results of dropped frame detection from the evaluation camera 130 .
[0021] 2A and 2B are schematic diagrams showing an example of the dropped frame detection image 111 used in embodiment 1. As shown in Fig. 2A, the dropped frame detection image 111 is an image in which noise images F01, F03, and F05 alternate with solid white images F02 and F04 for each frame.
[0022] The images F01 to F05 in FIG. 2A are frames of a normally flowing video arranged one by one in order.
[0023] Images F11 to F15 in FIG. 2B are a sequence of frames in the case where noise images between images F12 and F13, and between images F13 and F14, are not displayed due to frame dropping on the CCTV 120.
[0024] 2A, area identification markers 112 are drawn around the four sides of the dropped frame detection video 111. The color of the area identification markers 112 is a specific hue, and the data of this hue is set in advance in the evaluation camera 130.
[0025] When the monitors 110 and 123 are imaged by the camera 121 in the CCTV 120 and the evaluation camera 130, the images are taken from the front of the monitors 110 and 123 so that the monitors 110 and 123 are not cut off.
[0026] As shown in FIG. 1, the evaluation camera 130 includes an imaging unit 131 , an area specifying unit 132 , an encoding unit 133 , a dropped frame analysis unit 134 , and a connection I / F (Interface) unit 139 .
[0027] The imaging unit 131 captures video including the monitor 123 in the CCTV 120. The imaging unit 131 provides image data of an image for each frame from the captured video to the area identification unit 132. Here, the imaging unit 131 captures images frame by frame so as to include video displayed on the CCTV 120, which is a device that captures and displays video for dropped frame detection, in which the state of the data amount of at least a portion of each frame changes according to a predetermined rule.
[0028] The region identifying unit 132 identifies, as a target region, a region corresponding to the dropped frame detection image from the image represented by the image data from the imaging unit 131. For example, the region identifying unit 132 identifies a region indicated by a region identifying marker from the image represented by the image data acquired from the imaging unit 131. In this case, the region indicated by the region identifying marker is the target region.
[0029] Specifically, the region identification unit 132 detects a region identification marker having a specific hue from the image represented by the image data acquired from the imaging unit 131. Then, the region identification unit 132 identifies the coordinates of the four corners of the region identification marker. The extracted coordinates are information on the coordinates of the four corners (hereinafter referred to as region coordinates) that represent the region of the evaluation video formed from the evaluation image. Thereafter, the region identification unit 132 provides the identified region coordinates and the image data acquired from the imaging unit 131 to the encoding unit 133.
[0030] The encoding unit 133 encodes the image indicated by the image data acquired from the region identification unit 132 and generates encoded image data indicating the encoded image. Thereafter, the encoding unit 133 provides the encoded image data and the region coordinates acquired from the region identification unit 132 to the dropped frame analysis unit 134.
[0031] The dropped frame analysis unit 134 analyzes whether or not dropped frames have occurred using the encoded image data and area coordinates from the encoding unit 133. For example, the dropped frame analysis unit 134 identifies the amount of data corresponding to at least a portion of the target area from the encoded image indicated by the encoded image data from the encoding unit 133, and determines that dropped frames have occurred in the CCTV 120 if the state of the identified amount of data does not change according to a predetermined rule. In the first embodiment, the dropped frame detection video alternates between a first image and a second image having a larger amount of data than the first image every frame. Therefore, the dropped frame analysis unit 134 determines that dropped frames have occurred in the CCTV 120 if the amount of data of the target area does not change every frame.
[0032] The dropped frame analysis unit 134 includes a data amount extraction unit 135 , a recording unit 136 , and a dropped frame determination unit 137 .
[0033] The data amount extraction unit 135 receives the encoded image data and the region coordinates from the encoding unit 133. Then, the data amount extraction unit 135 extracts the data amount of the region surrounded by the region coordinates from the encoded image indicated by the encoded image data. This makes it possible to extract the data amount of the region of the image corresponding to the evaluation video from the encoded image data. Extracting the data amount of such a region reduces the data amount, thereby achieving the effect of reducing the amount of calculation.
[0034] The data amount extraction unit 135 then uses a threshold to evaluate the extracted data amount, thereby determining whether the image before encoding of the encoded image data is a noise image or a solid white image. The data amount of encoded image data generally increases as the spatial frequency of the image before encoding increases. Solid white images have low spatial frequencies, while noise images have high spatial frequencies. Therefore, the data amount of a region extracted from the encoded image data varies depending on the image before encoding. This makes it possible to make the determination using a threshold. In the first embodiment, a solid white image is considered to be "small" and a noise image is considered to be "large," and the threshold is defined in advance through experiments or the like so that the data amount of "small" < the threshold ≦ the data amount of "large."
[0035] Finally, the data amount extraction unit 135 adds information of “large” or “small” to the encoded image data based on the discrimination result, and provides the discrimination result-added encoded image data to the recording unit 136 .
[0036] The recording unit 136 generates detection data, which is data in which the information of "large" and "small" attached to the determination result-added encoded image data acquired from the data amount extraction unit 135 is recorded in the order of acquisition. Thereafter, every time new information is recorded in the detection data, the recording unit 136 provides the detection data with the new information recorded to the dropped frame determination unit 137. Here, after recording the information of "large" and providing the recorded detection data to the dropped frame determination unit 137, the recording unit 136 clears the detection data and generates detection data again.
[0037] The dropped frame determination unit 137 holds correct answer data indicating a display pattern of noise images and solid white images when the evaluation video is normally displayed on the monitor 123 in the CCTV 120, and acquires from the correct answer data the number of times a solid white image is displayed between noise images. In the first embodiment, the correct answer data will be described as a pattern in which noise images and solid white images are displayed alternately.
[0038] The dropped frame determination unit 137 acquires the detection data from the recording unit 136 and counts the number of "small" characters included in the detection data. The dropped frame determination unit 137 also counts the number of "small" characters between "large" characters included in the correct answer data. The dropped frame determination unit 137 then compares the counted values.
[0039] Specifically, if the count value from the detected data is greater than the count value from the correct answer data, the frame dropping determination unit 137 determines that a frame has been dropped. Also, if the count value from the detected data is less than the count value from the correct answer data in a comparison when "large" information is added to the detected data, the frame dropping determination unit 137 determines that a frame has been dropped. In other cases, the frame dropping determination unit 137 determines that a frame has not been dropped.
[0040] Finally, the frame dropping determination unit 137 sends the frame dropping determination result to the evaluation camera control device 150 via the connection I / F unit 139 .
[0041] The connection I / F unit 139 connects to the evaluation camera control device 150 and communicates with the evaluation camera control device 150 .
[0042] As shown in FIG. 3A , some or all of the above-described region identification unit 132, encoding unit 133, and dropped frame analysis unit 134 can be configured, for example, by a memory 10 and a processor 11 such as a CPU (Central Processing Unit) that executes a program stored in the memory 10. In other words, the evaluation camera 130 can be configured by a so-called computer. Such a program may be provided via a network or may be provided by being recorded on a recording medium. That is, such a program may be provided, for example, as a program product.
[0043] 3B , some or all of the region identification unit 132, the encoding unit 133, and the dropped frame analysis unit 134 can be configured as a processing circuit 12 such as a single circuit, a composite circuit, a processor operated by a program, a parallel processor operated by a program, an ASIC (Application Specific Integrated Circuit), or an FPGA (Field Programmable Gate Array). As described above, the region identification unit 132, the encoding unit 133, and the dropped frame analysis unit 134 can be realized by a processing circuit network.
[0044] The imaging unit 131 can be realized by a camera. The connection I / F unit 139 can be realized by an I / F conforming to a USB (Universal Serial Bus) or an I / F such as a NIC (Network Interface Card).
[0045] Next, the operation of frame dropping detection in embodiment 1 will be described. Figures 4 and 5 are flowcharts showing the operation of frame dropping detection in embodiment 1. First, the imaging unit 131 captures video including the monitor 123 in the CCTV 120 (S10). Thereafter, image data representing the image for each frame is provided to the area identification unit 132.
[0046] Next, the region specifying unit 132 detects a region specifying marker in the image represented by the image data acquired from the imaging unit 131, and specifies the region coordinates of the evaluation video (S11). Thereafter, the image data and the extracted region coordinates are provided to the encoding unit 133.
[0047] Next, the encoding unit 133 encodes the image acquired from the region specifying unit 132 to generate encoded image data (S12). Thereafter, the encoded image data and the region coordinates are provided to the data amount extracting unit 135.
[0048] Next, the data amount extraction unit 135 extracts the data amount of the area surrounded by the area coordinates from the encoded image data acquired from the encoding unit 133 (S13).
[0049] Next, the data amount extraction unit 135 determines whether the extracted data amount is equal to or greater than a threshold (S14). If the extracted data amount is equal to or greater than the threshold (YES in S14), the process proceeds to step S15. If the extracted data amount is less than the threshold (NO in S14), the process proceeds to step S16.
[0050] In step S15, the data amount extraction unit 135 adds information of "large" to the encoded image data to generate discrimination result-added encoded image data, and provides the discrimination result-added encoded image data to the recording unit 136. Then, the process proceeds to step S17.
[0051] On the other hand, in step S16, the data amount extraction unit 135 adds information of "small" to the encoded image data to generate discrimination result-added encoded image data, and provides the discrimination result-added encoded image data to the recording unit 136. Then, the process proceeds to step S17.
[0052] In step S17, the recording unit 136 generates detection data using the "large" or "small" information added to the determination result-added encoded image data acquired from the data amount extraction unit 135. The recording unit 136 then provides the detection data to the dropped frame determination unit 137. The process then proceeds to step S18 in FIG. 5.
[0053] In step S18, the dropped frame determination unit 137 counts the number of "small" characters included in the detected data, and also counts the number of "small" characters between "large" characters included in the correct answer data.
[0054] Next, the dropped frame determination unit 137 determines whether the value counted from the detected data is greater than the value counted from the correct data (S19). If the value counted from the detected data is greater than the value counted from the correct data (YES in S19), the process proceeds to step S22. If the value counted from the detected data is equal to or less than the value counted from the correct data (NO in S19), the process proceeds to step S20.
[0055] In step S20, the dropped frame determination unit 137 determines whether "large" has been newly added to the detected data. If "large" has been newly added (YES in step S20), the process proceeds to step S21. If "large" has not been newly added (NO in step S20), the process proceeds to step S23.
[0056] In step S21, the dropped frame determination unit 137 determines whether the count value from the detected data is smaller than the count value from the correct data. If the count value from the detected data is smaller than the count value from the correct data (YES in S21), the process proceeds to step S22. If the count value from the detected data is equal to the count value from the correct data (NO in S21), the process proceeds to step S23.
[0057] In step S22, the frame drop determination unit 137 determines that a frame drop has occurred, and the process then proceeds to step S24.
[0058] On the other hand, in step S23, the dropped frame determination unit 137 determines that no dropped frames have occurred, and the process then proceeds to step S24.
[0059] In step S24, the dropped frame determination unit 137 sends the dropped frame determination result indicating the result of the determination in step S22 or S23 to the evaluation camera control device 150 via the connection I / F unit 139.
[0060] The determination of dropped frames will be explained using Fig. 2. As shown in Fig. 2(A), when the evaluation video is displayed normally, the switching pattern between the solid white image and the noise image is constant, so the number of "small" in the correct answer data is 1, and the number of "small" in the detected data is also 1.
[0061] However, as shown in Figure 2 (B), for example, when an image corresponding to image F13 is displayed as the evaluation image, the number of "small" in the detection data is 2, and the value counted from the correct data is 1, so the value counted from the detection data is greater than the value counted from the correct data, and it can be determined that a frame drop has occurred.
[0062] In the first embodiment described above, the dropped frame determination unit 137 holds preset correct answer data, but the first embodiment is not limited to this example. For example, the evaluation camera control device 150 may be configured to send the correct answer data to the evaluation camera 130, and the dropped frame determination unit 137 may receive the correct answer data.
[0063] Alternatively, the dropped frame determination unit 137 may compare the counted value from the detected data with "1" in steps S19 and S21, without counting the correct data.
[0064] As described above, according to the first embodiment, dropped frames are detected using data before decoding, so dropped frames can be detected at lower cost and with less load than in the background art.
[0065] Furthermore, by reducing the load of detecting dropped frames on the evaluation camera 130, high frame rate video can be evaluated without using a high performance device. This is also expected to have the effect of preventing dropped frames in the evaluation camera 130 itself.
[0066] Furthermore, according to the first embodiment, dropped frames can be detected automatically, which is expected to improve the efficiency of CCTV system evaluation and the reliability of the evaluation results.
[0067] Embodiment 2. In embodiment 2, an example is shown in which a dropped frame detection method different from that in embodiment 1 is adopted. In embodiment 1, dropped frames are detected using the data volume per video frame. This method is effective in encoding formats such as M-JPEG (Motion-Joint Photographic Experts Group), which compress data per video frame. However, this method cannot be used in video compression methods such as MPEG (Moving Picture Experts Group), which combine I pictures, P pictures, and B pictures in GOP (Group of Pictures) units, because the data volume per frame varies greatly depending on the picture type. In embodiment 2, a method is described in which dropped frames are detected regardless of the picture type of the frame by using the data volume and position of macroblocks when encoding video. Macroblocks will be described later.
[0068] 6 is a block diagram showing a schematic configuration of a dropped frame detection system 200 according to embodiment 2. The dropped frame detection system 200 includes an evaluation monitor 210, a CCTV 120, an evaluation camera 230, and an evaluation camera control device 150.
[0069] The CCTV 120 and the evaluation camera control device 150 of the dropped frame detection system 200 according to the second embodiment are similar to the CCTV 120 and the evaluation camera control device 150 of the dropped frame detection system 100 according to the first embodiment.
[0070] The evaluation monitor 210 displays a dropped frame detection video 211 and the region identifying marker 112. The region identifying marker 112 is the same as the region identifying marker 112 described in the first embodiment.
[0071] The dropped frame detection video 211 is a video having a plurality of images output in a regular pattern, which is used in the dropped frame detection method according to the second embodiment.
[0072] 7A to 7C are schematic diagrams showing examples of the dropped frame detection video 211 used in the second embodiment. As shown in FIG. 7C, one image F40 of the dropped frame detection video 211 is divided into a grid pattern. Each divided area is also referred to as a divided area. The number of divided areas is set to be the same as the number of macroblocks into which the image is divided when the evaluation camera 230 encodes it. Here, an example in which the image is divided into 12 divided areas is shown.
[0073] For example, as shown in image F21 in FIG. 7A, one divided region R1 is a noise region, and the other divided regions are all white.
[0074] As shown in images F21 to F28 in Figure 7 (A), the dropped frame detection image 211 is an image with a regular pattern in which the noise area slides from the top left to the right for each frame, and when the noise area reaches the rightmost area of that row, the leftmost area of the row below becomes the noise area in the next frame.
[0075] Images F21 to F28 shown in Fig. 7A show an example in which the dropped frame detection video 211 is arranged one frame at a time in order when there are no dropped frames, while images F31 to F38 shown in Fig. 7B show an example in which one frame of the image is not displayed between images F33 and F35 on the CCTV 120, resulting in dropped frames.
[0076] As shown in Fig. 7C, the evaluation camera 230 stores display order data in a storage unit (not shown), which is data indicating divided areas divided in units of macroblocks and numbers assigned to these divided areas in order from the top left. The numbers here identify each divided area and indicate the display order. The display order data is data for numerically expressing the display order of frames when the image flows normally.
[0077] 6 , the evaluation camera 230 includes an imaging unit 131, an area specifying unit 132, an encoding unit 233, a dropped frame analysis unit 234, and a connection I / F unit 139. The imaging unit 131, the area specifying unit 132, and the connection I / F unit 139 of the evaluation camera 230 in the second embodiment are similar to the imaging unit 131, the area specifying unit 132, and the connection I / F unit 139 of the evaluation camera 130 in the first embodiment.
[0078] The encoding unit 233 encodes the image indicated by the image data obtained from the region identification unit 132 to create encoded image data. The encoded image data in the second embodiment includes macroblock data. Thereafter, the encoding unit 133 provides the encoded image data and the region coordinates obtained from the region identification unit 132 to the dropped frame analysis unit 134.
[0079] The dropped frame analysis unit 234 analyzes whether or not dropped frames have occurred using the encoded image data and region coordinates from the encoding unit 233. In the second embodiment, as described above, one image frame of the dropped frame detection video is divided into multiple divided regions. The amount of data in one of the multiple divided regions is set to be greater than the amount of data in the other divided regions. Furthermore, in the dropped frame detection video, the position of one of the multiple divided regions changes for each frame according to a predetermined rule. Therefore, the dropped frame analysis unit 234 determines that dropped frames have occurred in the CCTV 120 when the position of a divided region with a large amount of data in the target region does not change according to the predetermined rule.
[0080] The dropped frame analysis unit 234 includes a data amount extraction unit 235 , a dropped frame determination unit 237 , and a determination data generation unit 238 .
[0081] The data amount extraction unit 235 receives encoded image data and area coordinates from the encoding unit 233. Then, the data amount extraction unit 235 extracts data of an area surrounded by the area coordinates from the encoded image data. This allows the data amount extraction unit 235 to extract an image area corresponding to the evaluation video from the encoded image data. The data amount extraction unit 235 obtains the data amount for each macroblock from the image of the extracted area and identifies the macroblock with the largest data amount. Then, the data amount extraction unit 235 provides coordinate data indicating the coordinates of the identified macroblock to the determination data generation unit 238.
[0082] The determination data generation unit 238 refers to the display order data to identify which divided area in the display order data corresponds to the coordinates indicated by the coordinate data acquired from the data amount extraction unit 235. The determination data generation unit 238 then generates determination data indicating a number assigned to the identified divided area. The generated determination data is provided to the dropped frame determination unit 237.
[0083] The dropped frame determination unit 237 checks the continuity of the numbers indicated in the determination data from the determination data generation unit 238. As shown in the display order data in Fig. 7(C), in the dropped frame detection video 211 in embodiment 2, when the CCTV 120 displays the video without any dropped frames, the numbers "1" to "12" are displayed in sequence in the determination data. Therefore, the dropped frame determination unit 237 can determine that dropped frames have occurred when the numbers indicated in the determination data do not repeat the numbers "1" to "12" in sequence.
[0084] Finally, the frame dropping determination unit 237 sends the frame dropping determination result to the evaluation camera control device 150 via the connection I / F unit 139 .
[0085] Next, the operation of frame dropping detection in embodiment 2 will be described. Fig. 8 is a flowchart showing the operation of frame dropping detection in embodiment 2. First, the imaging unit 131 captures video including the monitor 123 in the CCTV 120 (S30). Thereafter, image data representing the image for each frame is provided to the area identification unit 132.
[0086] Next, the region specifying unit 132 detects a region specifying marker in the image represented by the image data acquired from the imaging unit 131, and specifies the region coordinates of the evaluation video (S31). Thereafter, the image data and the specified region coordinates are provided to the encoding unit 233.
[0087] Next, the encoding unit 233 encodes the image acquired from the region specifying unit 132 and generates encoded image data indicating the encoded image (S32). Thereafter, the encoded image data and the region coordinates are provided to the data amount extraction unit 235.
[0088] Next, the data amount extraction unit 235 extracts data of the area surrounded by the area coordinates from the encoded image data obtained from the encoding unit 233, and generates coordinate data indicating the coordinates of the macroblock with the largest data amount from the area indicated by the extracted data (S33). The generated coordinate data is provided to the determination data generation unit 238.
[0089] Next, the determination data generating unit 238 identifies which divided area in the display order data corresponds to the coordinates indicated by the coordinate data from the data amount extracting unit 235, and generates determination data indicating the number assigned to the identified divided area (S34). The generated determination data is provided to the dropped frame determining unit 237.
[0090] The dropped frame determination unit 237 determines whether the numbers indicated by the determination data from the determination data generation unit 238 are continuously changing (S35). If the numbers indicated by the determination data are continuously changing (Yes in S35), the process proceeds to step S36, and if the numbers indicated by the determination data are not continuously changing (No in S35), the process proceeds to step S37.
[0091] In step S36, the frame drop determination unit 237 determines that no frame drop has occurred, and the process then proceeds to step S38.
[0092] On the other hand, in step S37, the dropped frame determination unit 237 determines that a dropped frame has occurred, and the process then proceeds to step S38.
[0093] In step S38, the dropped frame determination unit 237 sends the dropped frame determination result indicating the result of the determination in step S36 or S37 to the evaluation camera control device 150 via the connection I / F unit 139.
[0094] As described above, according to the second embodiment, dropped frames are detected based on the amount and position of macroblock data when encoding video, so dropped frames can be detected even if the encoding method of the evaluation camera 230 compresses video in units of a combination of several types of pictures, to which the method of the first embodiment cannot be applied.
[0095] 100, 200 Dropped frame detection system, 110 Evaluation monitor, 120 CCTV, 121 Camera, 122 Recorder, 123 Monitor, 130, 230 Evaluation camera, 131 Imaging unit, 132 Area identification unit, 133, 233 Encoding unit, 134, 234 Dropped frame analysis unit, 135, 235 Data amount extraction unit, 136 Recording unit, 137, 237 Dropped frame determination unit, 238 Determination data generation unit, 139 Connection I / F (InterFace) unit, 150 Evaluation camera control device.
Claims
1. A dropped frame detection device comprising: an imaging unit that captures images one frame at a time so as to include the image displayed on a device that captures and displays video for dropped frame detection, the state of the data amount of at least a portion of the area for each frame changing according to a predetermined rule; an area identification unit that identifies an area from the image that corresponds to the video for dropped frame detection as a target area; an encoding unit that encodes the image; and a dropped frame analysis unit that identifies the data amount of a portion of the encoded image that corresponds to at least a portion of the target area, and determines that a dropped frame has occurred in the device if the state of the identified data amount does not change according to the predetermined rule.
2. The dropped frame detection device according to claim 1, wherein the dropped frame detection image alternates between a first image and a second image having a larger amount of data than the first image for each frame, and the dropped frame analysis unit determines that a dropped frame has occurred in the device if the amount of data in the target area does not switch for each frame.
3. The dropped frame detection device of claim 1, wherein an image of one frame of the dropped frame detection video is divided into a plurality of divided regions, the amount of data of one of the plurality of divided regions is made greater than the amount of data of the other divided regions, the position of one of the plurality of divided regions in the dropped frame detection video changes for each frame according to the predetermined rule, and the dropped frame analysis unit determines that a dropped frame has occurred in the device when the position of a divided region with a large amount of data in the target region does not change according to the predetermined rule.
4. A program that causes a computer to function as: an area identification unit that identifies an area corresponding to a dropped frame detection image, which changes in the amount of data in at least a portion of the image for each frame according to a predetermined rule, as a target area from an image captured frame by frame so as to include an image displayed on a device that captures and displays the dropped frame detection image; an encoding unit that encodes the image; and a dropped frame analysis unit that identifies the amount of data in a portion of the target area from the encoded image, and determines that a dropped frame has occurred in the device if the amount of data identified does not change in accordance with the predetermined rule.
5. A method for detecting dropped frames comprising: capturing an image frame by frame so as to include an image displayed on a device that captures and displays a dropped frame detection image in which the state of the data amount of at least a portion of the image changes for each frame according to a predetermined rule; identifying an area from the image that corresponds to the dropped frame detection image as a target area; encoding the image; identifying from the encoded image the data amount of a portion of the image that corresponds to at least a portion of the target area; and determining that a dropped frame has occurred in the device if the state of the identified data amount does not change according to the predetermined rule.
Citation Information
Patent Citations
Image distribution system, its transmitter, transmitting method, receiver and receiving method
JP2003125374A
Imaging apparatus, control method thereof, and image communication system
JP2008035271A
Information processing device, three-dimensional position estimation method, computer program, and storage medium
JP2019121019A
