Search

KR-102963871-B1 - APPARATUS FOR DETECTING WATER LEVEL USING IMAGES

KR102963871B1KR 102963871 B1KR102963871 B1KR 102963871B1KR-102963871-B1

Abstract

The present invention relates to a water level detection device using an image. A water level detection device using an image according to one aspect of the present invention includes a communication unit that communicates with a CCTV installed at a predetermined location, a memory that stores computer-executable commands, and a processor connected to the communication unit and the memory that receives an input image generated by shooting from the CCTV by executing commands stored in the memory, compares a reference image of the CCTV with the input image to determine whether the CCTV has moved, and detects the water level in the input image based on a plurality of pre-set boundary lines for a plurality of water levels in the reference image depending on whether it has moved.

Inventors

  • 하성욱
  • 황동훈

Assignees

  • 주식회사 신조

Dates

Publication Date
20260512
Application Date
20240130

Claims (4)

  1. A communication unit that communicates with a CCTV installed at a designated location; Memory for storing computer-executable instructions; and A processor connected to the communication unit and the memory, which receives an input image generated by shooting from the CCTV by executing commands stored in the memory, compares a reference image of the CCTV with the input image to determine whether the CCTV has moved, and detects a water level in the input image based on a plurality of boundary lines pre-set for a plurality of water levels in the reference image according to whether it has moved. The above processor An optical flow vector is calculated from the above reference image to the above input image, and If the above optical flow vector exceeds a preset threshold value, it is determined that the CCTV has moved, and If it is determined that the CCTV has moved, the SIFT (Scale Invariant Feature Transform) algorithm calculates feature points corresponding to the reference image in the input image, and A transformation matrix for matching feature points from the reference image to the input image is calculated according to the pixel positions of corresponding feature points in each of the reference image and the input image, and The plurality of boundary lines are mapped to the input image using the transformation matrix, and the plurality of boundary lines are adjusted. Detecting the water level based on the adjusted plurality of boundary lines Water level detection device using an image.
  2. delete
  3. delete
  4. In paragraph 1, The above processor Detecting a region corresponding to water in the input image, and calculating the number of pixels belonging to each boundary line among the pixels detected as a region corresponding to water in the input image based on the plurality of boundary lines, Detecting the water level corresponding to each boundary line based on whether the number of pixels calculated for each boundary line exceeds a preset threshold. Water level detection device using an image.

Description

Apparatus for detecting water level using images The present invention relates to a technology for detecting water levels using images captured by a CCTV installed toward a river. Recently, abnormal phenomena such as record-breaking heavy rainfall and frequent torrential downpours are occurring frequently due to climate change. Unprecedented heavy rains trigger unexpected floods, causing damage to human lives and property. Given that risks associated with heavy rainfall are expected to become more frequent and severe due to climate change, the development of technologies to prevent such damage is necessary. Although CCTVs are being installed in rivers across the country to monitor water levels and prevent flooding, it is difficult for humans to monitor all the cameras in real-time and determine water levels during periods of heavy rainfall nationwide. In this regard, a technology for detecting water levels using video acquired from a CCTV is being disclosed. This conventional technology detects water levels by marking a water level boundary line within a box-shaped detection area in the video; however, if the CCTV shakes due to extreme weather, a point different from the normally recorded location may be included in the detection area, leading to a problem of misidentifying the water level. FIG. 1 is a block diagram of a water level detection device using an image according to one embodiment of the present invention. FIG. 2 is a flowchart of the operation sequence of a water level detection device using an image according to one embodiment of the present invention. FIG. 3 is an example diagram showing a reference image and a plurality of boundary lines obtained from an environment database connected to an image-based water level detection device in an embodiment of the present invention. The advantages and features of the present invention, and the methods for achieving them, will become clear by referring to the embodiments described below in detail together with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below but may be implemented in various different forms. These embodiments are provided merely to ensure that the disclosure of the present invention is complete and to fully inform those skilled in the art of the scope of the invention, and the present invention is defined only by the claims. Meanwhile, the terms used in this specification are for describing the embodiments and are not intended to limit the present invention. In this specification, the singular form includes the plural form unless specifically stated otherwise in the text. The present invention relates to a technology for automatically detecting water levels by analyzing images generated from a CCTV filming a river. In particular, the present invention is characterized by the technical feature of enabling accurate water level detection even when the CCTV moves due to environmental factors such as strong winds, by adjusting the boundary line serving as the reference for water level detection according to whether the CCTV is moving to match the image captured while the CCTV is in a moved state. Referring to FIG. 1, a water level detection device (100) using an image according to one embodiment of the present invention may be connected via wired or wireless connection to a CCTV (10) installed at a predetermined location to photograph a river, an environment database (20) that stores a reference image for each CCTV and a plurality of boundary lines pre-set for a plurality of water levels in the reference image. Here, the reference image may refer to an image taken from the location where the CCTV is installed, in a stable state, on a day when the water level of the river being filmed by the CCTV is lower than a certain standard. A pre-set boundary line in a reference image may be defined as a combination of pixel coordinates corresponding to a starting point and pixel coordinates corresponding to an ending point in the reference image. If the boundary line consists of two or more line segments with at least one bend point, it may be defined as pixel coordinates corresponding to a starting point, pixel coordinates corresponding to an ending point, and pixel coordinates corresponding to at least one bend point between the starting point and the ending point. In addition, multiple boundary lines may be matched with a ranking to indicate the risk level according to the corresponding water level and a classification value to distinguish the water level, which are pre-assigned by the user. For example, referring to FIG. 3, in the reference image (1000), the first boundary line (1010) is defined by pixel coordinates (519, 130) corresponding to the starting point and pixel coordinates (8, 314) corresponding to the ending point, the second boundary line (1020) is defined by pixel coordinates (600, 133) corresponding to the starting point and pixel coordinates (11, 392) corresponding to the en