KR101513180B1 - System for a real-time cashing event summarization in surveillance images and the method thereof - Google Patents

System for a real-time cashing event summarization in surveillance images and the method thereof Download PDF

Info

Publication number
KR101513180B1
KR101513180B1 KR1020130108347A KR20130108347A KR101513180B1 KR 101513180 B1 KR101513180 B1 KR 101513180B1 KR 1020130108347 A KR1020130108347 A KR 1020130108347A KR 20130108347 A KR20130108347 A KR 20130108347A KR 101513180 B1 KR101513180 B1 KR 101513180B1
Authority
KR
South Korea
Prior art keywords
image
event
counter
frame
customer
Prior art date
Application number
KR1020130108347A
Other languages
Korean (ko)
Other versions
KR20150029324A (en
Inventor
원웅재
황만원
김용석
김동욱
Original Assignee
주식회사 제론헬스케어
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 제론헬스케어 filed Critical 주식회사 제론헬스케어
Priority to KR1020130108347A priority Critical patent/KR101513180B1/en
Publication of KR20150029324A publication Critical patent/KR20150029324A/en
Application granted granted Critical
Publication of KR101513180B1 publication Critical patent/KR101513180B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/46Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames
    • G06V20/47Detecting features for summarising video content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Signal Processing (AREA)
  • Image Analysis (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

본 발명은 매장의 카운터를 향해 촬영하여 생성된 카운터 영상을 카메라로부터 수신하여 영상 분석부로 송신하는 영상 관리부; 영상 관리부로부터 수신한 카운터 영상에서, 이동객체를 배경영상으로부터 분리하여 추출하고, 추출된 이동객체를 추적 처리하는 영상 분석부; 카운터 영상을, 사용자에 의해 미리 설정된 고객 영역, 종업원 영역 및 계산대 영역으로 분할하여 관리하는 이벤트 관리부; 영상 분석부에서 추적 처리된 이동객체가 이벤트 관리부에 의해 분할된 고객 영역 또는 종업원 영역 내에 존재하는지 체크하고, 상기 이동객체가 고객 영역 및 종업원 영역 내에 모두 존재하는 경우, 계산대 영역의 영상에서 움직임이 있는지 검출하고, 계산대 영역의 영상에서 움직임이 검출되면 해당 카운터 영상의 프레임은 고객-종업원 상호작용 이벤트가 발생한 것으로 기록하는 영상 내용 분석부; 및 상기 영상 내용 분석부에서 고객-종업원 상호작용 이벤트가 발생된 프레임을 데이터베이스에 저장하는 데이터 관리부; 를 포함한다. 본 발명에 따르면, 저해상도 감시 카메라를 이용하여 계산대에서 고객과 종업원 사이에 상호작용하는 영상을 데이터베이스에 분류하여 저장함으로써, 사용자가 값싼 감시카메라로도 결제행동을 모니터링하고 고객 또는 종업원에 의하여 발생하는 부정행위 등의 문제 영상을 손쉽게 검색할 수 있도록 하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 시스템 및 그 방법을 제공할 수 있다.The present invention provides a video image processing apparatus comprising: a video management unit for receiving a counter image generated by shooting toward a counter of a store from a camera and transmitting the counter image to an image analysis unit; An image analyzer for separating and extracting the moving object from the background image in the counter image received from the image managing unit and tracking the extracted moving object; An event management unit that divides and manages the counter image into a customer area, an employee area, and a counter area preset by a user; The moving image tracked by the image analyzing unit is checked whether the moving object exists in the customer area or the employee area divided by the event management unit and if the moving object exists in both the customer area and the employee area, And when a motion is detected in the image of the counter region, the frame of the corresponding counter image is recorded as the occurrence of a customer-employee interaction event; And a data management unit for storing a frame in which the customer-employee interaction event is generated in the video content analysis unit, in a database; . According to the present invention, by using a low-resolution surveillance camera, images that interact between a customer and an employee are classified and stored in a database, so that a user can monitor payment behavior even with an inexpensive surveillance camera, A real-time settlement event summarizing system using the surveillance camera image and a method thereof can be provided.

Description

감시카메라 영상을 이용한 실시간 결제 이벤트 요약 시스템 및 그 방법{SYSTEM FOR A REAL-TIME CASHING EVENT SUMMARIZATION IN SURVEILLANCE IMAGES AND THE METHOD THEREOF}BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system and a method for summarizing real-

본 발명은 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 시스템 및 그 방법에 관한 것으로서, 보다 구체적으로는 저해상도 감시 카메라를 이용하여 계산대에서 고객과 종업원 사이에 상호작용하는 영상을 데이터베이스에 분류하여 저장함으로써, 사용자가 값싼 저해상도 감시카메라로도 고객 또는 종업원에 의하여 발생하는 부정행위 등의 문제 영상을 손쉽게 검색할 수 있도록 하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 시스템 및 그 방법에 관한 것이다.
More particularly, the present invention relates to a system and method for real-time settlement event summarization using surveillance camera images, and more particularly to a system and method for real- The present invention relates to a system and method for real-time settlement event summarization using a surveillance camera image that enables a problem image such as cheating caused by a customer or an employee to be easily searched even with an inexpensive low resolution surveillance camera.

지능형 감시 시스템은 불규칙적인 객체의 움직임 및 이벤트를 자동적으로 감지 및 모니터링하기 위해 최근 보안 카메라 리서치 커뮤니티로부터 많은 관심을 받고 있다[1]. 또한 비디오 분석 시스템은 소매점 및 매장의 판매 및 결제 지역에서 종업원의 계산대 관련 고의적 또는 비고의적 종업원 부정행위를 모니터링하기 위한 매우 효율적인 수단으로 고려되어 왔다[2, 3, 4]. 또한, 주식회사 제론헬스케어는 병원, 매장 및 일반 응용제품용 지능형 감시 솔루션을 개발하여 왔다[5].Intelligent surveillance systems have received much attention from the security camera research community in order to automatically detect and monitor irregular object movements and events [1]. In addition, video analytics systems have been considered as a very efficient means for monitoring intentional or unintentional employee misconduct related to employees' cash registers in the retail and settlement areas of retail stores and stores [2, 3, 4]. In addition, Geron Healthcare Co., Ltd. has developed intelligent surveillance solutions for hospitals, stores, and general applications [5].

이러한 추세를 따라, 연구자들은 손의 움직임에 기반한 소매 행동 인식 모델을 개발하여 왔다[3, 4]. 그러나, 이러한 모델이 특정 제한 영역 내에서 좋은 성능을 낸다고 하더라도, 이러한 모델은 피부색으로 손을 감지하는 손 감지기에 기반한 것이고, 따라서 이러한 시스템은 실제 카메라의 왜곡이 많은 환경이나, 피부색과 유사한 배경에 대해서는 적용하기 어렵다.
Following this trend, researchers have developed a retail behavior awareness model based on hand movements [3, 4]. However, even if such a model provides good performance within a certain limited range, such a model is based on a hand detector that detects hands in the skin color, and thus such a system is not suitable for environments where there is a lot of actual camera distortion, It is difficult to apply.

상술한 문제점을 해결하기 위해 안출된 본 발명의 목적은, 저해상도 감시 카메라를 이용하여 계산대에서 고객과 종업원 사이에 상호작용하는 영상을 데이터베이스에 분류하여 저장함으로써, 사용자가 값싼 저해상도 감시카메라로도 결제행동을 모니터링하고 고객 또는 종업원에 의하여 발생하는 부정행위 등의 문제 영상을 손쉽게 검색할 수 있도록 하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 시스템 및 그 방법을 제공하기 위한 것이다.It is an object of the present invention, which is devised to solve the above-mentioned problems, to provide a low-resolution surveillance camera, in which images interacting between a customer and an employee are classified into a database and stored, And to provide a real-time settlement event summarizing system and a method thereof, which can easily detect a problem image such as an illegal act generated by a customer or an employee.

또한, 본 발명의 다른 목적은, 고객의 존재 이벤트, 종업원의 존재 이벤트, 고객-종업원 상호작용 이벤트, 금전 등록기의 개방 이벤트 및 카드 결제 이벤트가 각 표시되고, 각 이벤트 종류별로 검색 및 분류 가능하도록 생성된 이력 리스트를 사용자 단말기에 제공하여, 사용자가 각 이벤트 종류별로 영상 검색 및 분류를 손쉽게 할 수 있도록 하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 시스템 및 그 방법을 제공하기 위한 것이다.
It is a further object of the present invention to provide a method and system for displaying a customer presence event, an employee presence event, a customer-employee interaction event, a cash register open event, and a card settlement event, The present invention provides a real-time settlement event summarization system and a method for providing real-time settlement event summarization using a surveillance camera image, which provides a history list to a user terminal so that a user can easily perform image retrieval and classification for each event type.

상기 목적을 달성하기 위한 본 발명의 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 시스템은, 매장의 카운터를 향해 촬영하여 생성된 카운터 영상을 카메라로부터 수신하여 영상 분석부로 송신하는 영상 관리부; 영상 관리부로부터 수신한 카운터 영상에서, 이동객체를 배경영상으로부터 분리하여 추출하고, 추출된 이동객체를 추적 처리하는 영상 분석부; 카운터 영상을, 사용자에 의해 미리 설정된 고객 영역, 종업원 영역 및 계산대 영역으로 분할하여 관리하는 이벤트 관리부; 영상 분석부에서 추적 처리된 이동객체가 이벤트 관리부에 의해 분할된 고객 영역 또는 종업원 영역 내에 존재하는지 체크하고, 상기 이동객체가 고객 영역 및 종업원 영역 내에 모두 존재하는 경우, 계산대 영역의 영상에서 움직임이 있는지 검출하고, 계산대 영역의 영상에서 움직임이 검출되면 해당 카운터 영상의 프레임은 고객-종업원 상호작용 이벤트가 발생한 것으로 기록하는 영상 내용 분석부; 및 상기 영상 내용 분석부에서 고객-종업원 상호작용 이벤트가 발생된 프레임을 데이터베이스에 저장하는 데이터 관리부; 를 포함한다.According to another aspect of the present invention, there is provided a system for summarizing real-time settlement events using surveillance camera images, comprising: a video management unit for receiving a counter image generated by shooting toward a counter of a store, An image analyzer for separating and extracting the moving object from the background image in the counter image received from the image managing unit and tracking the extracted moving object; An event management unit that divides and manages the counter image into a customer area, an employee area, and a counter area preset by a user; The moving image tracked by the image analyzing unit is checked whether the moving object exists in the customer area or the employee area divided by the event management unit and if the moving object exists in both the customer area and the employee area, And when a motion is detected in the image of the counter region, the frame of the corresponding counter image is recorded as the occurrence of a customer-employee interaction event; And a data management unit for storing a frame in which the customer-employee interaction event is generated in the video content analysis unit, in a database; .

또한, 상기 영상 관리부는, 카메라로부터 카운터 영상을 수신하는 카메라 관리부; 및 카메라 관리부가 수신한 카운터 영상을 RGB 이미지 데이터로 변환하여 영상 분석부로 송신하는 영상 포맷부; 를 포함한다.The image management unit may further include: a camera management unit for receiving a counter image from a camera; An image format unit for converting the counter image received by the camera management unit into RGB image data and transmitting the RGB image data to the image analysis unit; .

또한, 상기 이벤트 관리부는, 카운터 영상 중 사용자에 의해 미리 설정된 금전등록기 영역에 해당하는 영상을 분할하여 관리하며, 상기 영상 내용 분석부는, 이벤트 관리부에 의해 분할된 금전등록기의 영상을 금전등록기가 개방된 상태인 기준 템플릿 영상과 비교하여, 그 유사도가 기 설정된 기준치 이상인 경우, 해당 카운터 영상의 프레임은 금전등록기 개방 이벤트가 발생한 것으로 기록하는 것을 특징으로 한다.In addition, the event management unit divides and manages an image corresponding to a cash register area preset by a user among the counter images, and the image content analyzing unit divides the image of the cash register divided by the event management unit into an image When the similarity is equal to or greater than a predetermined reference value, the frame of the corresponding counter image is recorded as a cash register open event.

또한, 상기 이벤트 관리부는, 카운터 영상 중 사용자에 의해 미리 설정된 금전등록기 영역에 해당하는 영상을 분할하여 관리하며, 상기 영상 내용 분석부는, 이벤트 관리부에 의해 분할된 금전등록기의 영상에서, 기 설정된 움직임 방향 및 움직임 거리를 만족시키는 특징점들을 추출하고, 이 추출된 특징점들의 개수 및 평균 움직임 거리를 산출한 후, 특징점들의 개수가 기 설정된 개수 이상이고, 상기 평균 움직임 거리가 기 설정된 움직임 거리 이상이면, 해당 카운터 영상의 프레임은 금전등록기 개방 이벤트가 발생한 것으로 기록하는 것을 특징으로 한다.In addition, the event management unit divides and manages an image corresponding to a cash register area preset by the user among the counter images, and the image content analyzing unit divides the image corresponding to the cash register area into a predetermined movement direction And calculating a number of the extracted feature points and an average motion distance, if the number of the feature points is equal to or greater than a predetermined number, and the average motion distance is equal to or greater than a predetermined movement distance, And the frame of the image is recorded as a cash register open event has occurred.

또한, 상기 이벤트 관리부는, 카운터 영상 중 사용자에 의해 미리 설정된 카드영수증 영역에 해당하는 영상을 분할하여 관리하며, 상기 영상 내용 분석부는, 이벤트 관리부에 의해 분할된 카드영수증 영역의 영상을 카드 영수증이 미출력 상태인 기준 템플릿 영상과 비교하여, 그 유사도가 기 설정된 기준치 이하인 경우, 해당 카운터 영상의 프레임은 카드 결제 이벤트가 발생한 것으로 기록하는 것을 특징으로 한다.In addition, the event management unit divides and manages an image corresponding to a card receipt area preset by the user among the counter images, and the image content analyzing unit analyzes the image of the card receipt area divided by the event management unit, When the similarity is equal to or less than a preset reference value, the frame of the corresponding counter image is recorded as a card settlement event has occurred.

또한, 상기 영상 내용 분석부는, 계산대 영역의 영상에서 움직임을 검출하는 경우, 특정 프레임의 계산대 영역 영상에서 이전 프레임의 계산대 영역 영상을 뺀 프레임 차이 이미지를 다수 개의 서브 블록으로 분할하고, 각 서브 블록 내 개개의 픽셀에 대한 프레임 차이 이미지 밝기(즉, 프레임 차이 이미지 중 해당 픽셀의 밝기)는, 그 밝기값이 일정 수치보다 크면 해당 밝기값, 상기 일정 수치보다 작으면 0으로 처리하여 변경하고, 각 서브 블록 내 개개의 픽셀에 대한 변경된 프레임 차이 이미지 밝기의 평균값을 각 서브 블록의 밝기값으로 하고, 모든 서브 블록들의 각 밝기값의 평균값이 제1 임계치 이상인 경우, 상기 특정 프레임은 움직임이 있는 것으로 검출하는 계산대 움직임 검출부;를 포함한다.The motion picture content analyzing unit may divide the frame difference image obtained by subtracting the counting region image of the previous frame from the counting region image of a specific frame into a plurality of subblocks, The frame difference image brightness (that is, the brightness of the corresponding pixel in the frame difference image) for each pixel is changed by processing the corresponding brightness value when the brightness value is larger than a certain value, or 0 when the brightness value is smaller than the predetermined value, If the average value of the changed frame difference image brightness for each pixel in the block is set to the brightness value of each sub-block and the average value of each brightness value of all the sub-blocks is equal to or larger than the first threshold value, And a counter movement detection unit.

또한, 상기 영상 내용 분석부는, 상기 계산대 움직임 검출부에서 움직임이 있는 것으로 검출된 특정 프레임에 대해서, 그 특정 프레임 이전의 K개 프레임 구간에서의 움직임이 감지된 프레임 개수를 움직임이 감지되지 않은 프레임 개수로 나눈 값이 제2 임계치 이상인 경우, 최종적으로 상기 특정 프레임은 움직임이 있는 프레임으로 검출하고, 제2 임계치 이하인 경우 상기 특정 프레임은 움직임이 없는 프레임으로 검출하는 계산대 움직임 에러 보상부;를 더 포함한다.In addition, the image content analyzing unit may calculate the number of frames in which motion in the K frame periods preceding the specific frame is detected as the number of frames in which no motion is detected, with respect to a specific frame detected as having motion in the counter movement detecting unit And a counting unit motion error compensating unit for detecting the specific frame as a frame with motion when the divided value is equal to or larger than the second threshold value and for detecting the specific frame as a motionless frame when the divided value is equal to or less than the second threshold value.

또한, 상기 데이터 관리부는, 영상 분석부에서 이동 객체가 고객 영역 내에 존재하는 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 고객 존재 이벤트 식별자를 표기하여 데이터베이스에 저장하고, 영상 분석부에서 이동 객체가 종업원 영역 내에 존재하는 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 종업원 존재 이벤트 식별자를 표기하여 데이터베이스에 저장하고, 영상 분석부에서 고객-종업원 상호작용 이벤트가 발생한 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 고객-종업원 상호작용 이벤트 식별자를 표기하여 데이터베이스에 저장하고, 영상 분석부에서 금전등록기 개방 이벤트가 발생한 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 금전등록기 개방 이벤트 식별자를 표기하여 데이터베이스에 저장하고, 영상 분석부에서 카드 결제 이벤트가 발생한 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 카드 결제 이벤트 식별자를 표기하여 데이터베이스에 저장하는 것을 특징으로 한다.In addition, if the image analysis unit determines that the moving object exists in the customer area, the data management unit stores the customer presence event identifier in the frame of the corresponding counter image and stores the same in a database. In the image analysis unit, If it is determined that a customer-employee interaction event has occurred in the image analyzing unit, it is determined that the customer-employee interaction event has occurred in the frame of the corresponding counter image If the cash register open event is judged to have occurred in the image analysis unit, the cash register open event identifier is written in the frame of the corresponding counter image and stored in the database,If it is determined to have occurred, the card payment event in seokbu, characterized in that the title of a payment card event identifier to a frame of the image counter, which are stored in the database.

또한, 상기 데이터 관리부는, 데이터베이스에 저장된 카운터 영상에 관한 이벤트 식별자를 이용하여, 고객 존재 이벤트, 종업원 존재 이벤트, 고객-종업원 상호작용 이벤트, 금전등록기 개방 이벤트 및 카드 결제 이벤트들이 각 이벤트 종류별로 검색 및 분류 가능하도록 생성된 이벤트 이력 리스트를 사용자 단말기에 제공하여 주고, 사용자 단말기로부터 특정 이벤트가 선택되면 해당 이벤트에 해당하는 카운터 영상을 사용자 단말기에 제공하는 것을 특징으로 한다.
Also, the data management unit may search for and use a customer presence event, an employee presence event, a customer-employee interaction event, a cash register open event, and a card settlement event by each event type, using an event identifier related to the counter image stored in the database. The event history list generated to be classifiable is provided to the user terminal, and when a specific event is selected from the user terminal, a counter image corresponding to the event is provided to the user terminal.

상기 목적을 달성하기 위한 본 발명의 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 방법은, (a) 영상 관리부가, 매장의 카운터를 향해 촬영하여 생성된 카운터 영상을 카메라로부터 수신하여 영상 분석부로 송신하는 단계; (b) 영상 분석부가, 영상 관리부로부터 수신한 카운터 영상에서, 이동객체를 배경영상으로부터 분리하여 추출하고, 추출된 이동객체를 추적 처리하는 단계; (c) 영상 내용 분석부가, 영상 분석부에서 추적 처리된 이동객체가 이벤트 관리부에 의해 분할된 고객 영역 또는 종업원 영역 내에 존재하는지 체크하고, 상기 이동객체가 고객 영역 및 종업원 영역 내에 모두 존재하는 경우, 계산대 영역의 영상에서 움직임이 있는지 검출하고, 계산대 영역의 영상에서 움직임이 검출되면 해당 카운터 영상의 프레임은 고객-종업원 상호작용 이벤트가 발생한 것으로 기록하는 단계; 및 (d) 데이터 관리부가, 상기 영상 내용 분석부에서 고객-종업원 상호작용 이벤트가 발생된 프레임을 데이터베이스에 저장하는 단계; 를 포함한다.According to another aspect of the present invention, there is provided a method for summarizing a real-time settlement event using a surveillance camera image, the method comprising: (a) receiving a counter image generated by a video management unit toward a counter of a store, ; (b) separating and extracting the moving object from the background image in the counter image received from the image managing unit, and tracing the extracted moving object; (c) The image content analyzing unit checks whether a moving object tracked by the image analyzing unit exists in a customer area or an employee area divided by the event management unit. If the moving object exists in both the customer area and the employee area, Detecting whether there is movement in the image of the counter region, and recording a frame of the counter image as a customer-employee interaction event when a motion is detected in the image of the counter region; And (d) storing, in the database, a frame in which the data management unit generates the customer-employee interaction event in the video content analysis unit; .

또한, 상기 (c) 단계는, 영상 내용 분석부가, 이벤트 관리부에 의해 분할된 금전등록기의 영상을 금전등록기가 개방된 상태인 기준 템플릿 영상과 비교하여, 그 유사도가 기 설정된 기준치 이상인 경우, 해당 카운터 영상의 프레임은 금전등록기 개방 이벤트가 발생한 것으로 기록하는 것을 특징으로 한다.In the step (c), the image content analyzing unit compares the image of the cash register divided by the event management unit with the reference template image in the open state of the cash register, and if the similarity is equal to or greater than a preset reference value, And the frame of the image is recorded as a cash register open event has occurred.

또한, 상기 (c) 단계는, 영상 내용 분석부가, 이벤트 관리부에 의해 분할된 금전등록기의 영상에서, 기 설정된 움직임 방향 및 움직임 거리를 만족시키는 특징점들을 추출하고, 이 추출된 특징점들의 개수 및 평균 움직임 거리를 산출한 후, 특징점들의 개수가 기 설정된 개수 이상이고, 상기 평균 움직임 거리가 기 설정된 움직임 거리 이상이면, 해당 카운터 영상의 프레임은 금전등록기 개방 이벤트가 발생한 것으로 기록하는 것을 특징으로 한다.In the step (c), the image content analyzing unit may extract the feature points satisfying the predetermined movement direction and the motion distance from the image of the cash register divided by the event management unit, and calculate the number of the extracted feature points and the average motion When the number of the feature points is equal to or greater than a predetermined number and the average motion distance is equal to or greater than a predetermined motion distance after the distance is calculated, the frame of the corresponding counter image is recorded as a cash register open event.

또한, 상기 (c) 단계는, 영상 내용 분석부가, 이벤트 관리부에 의해 분할된 카드영수증 영역의 영상을 카드 영수증이 미출력 상태인 기준 템플릿 영상과 비교하여, 그 유사도가 기 설정된 기준치 이하인 경우, 해당 카운터 영상의 프레임은 카드 결제 이벤트가 발생한 것으로 기록하는 것을 특징으로 한다.In the step (c), the image content analyzing unit compares the image of the card receipt area divided by the event management unit with the reference template image in which the card receipt is not in power state, and when the similarity is equal to or less than a preset reference value, And the frame of the image is recorded as the occurrence of the card settlement event.

또한, 상기 (c) 단계는, (c1) 계산대 영역의 영상에서 움직임을 검출하는 경우, 특정 프레임의 계산대 영역 영상에서 이전 프레임의 계산대 영역 영상을 뺀 프레임 차이 이미지를 다수 개의 서브 블록으로 분할하고, 각 서브 블록 내 개개의 픽셀에 대한 프레임 차이 이미지 밝기(즉, 프레임 차이 이미지 중 해당 픽셀의 밝기)는, 그 밝기값이 일정 수치보다 크면 해당 밝기값, 상기 일정 수치보다 작으면 0으로 처리하여 변경하고, 각 서브 블록 내 개개의 픽셀에 대한 변경된 프레임 차이 이미지 밝기의 평균값을 각 서브 블록의 밝기값으로 하고, 모든 서브 블록들의 각 밝기값의 평균값이 제1 임계치 이상인 경우, 상기 특정 프레임은 움직임이 있는 것으로 검출하는 단계;를 포함한다.The step (c) includes the steps of: (c1) dividing a frame difference image obtained by subtracting the counting region image of the previous frame from the counting region image of a specific frame to detect a motion in the image of the counter region, The frame difference image brightness (i.e., the brightness of the corresponding pixel in the frame difference image) for each pixel in each sub-block is changed to a corresponding brightness value when the brightness value is larger than a certain value, And the average value of the changed frame difference image brightness for each pixel in each sub-block is set as the brightness value of each sub-block, and when the average value of each brightness value of all sub-blocks is equal to or greater than the first threshold value, And detecting that there is a defect.

또한, 상기 (c) 단계는, (c2) 상기 (c1) 단계에서 움직임이 있는 것으로 검출된 특정 프레임에 대해서, 그 특정 프레임 이전의 K개 프레임 구간에서의 움직임이 감지된 프레임 개수를 움직임이 감지되지 않은 프레임 개수로 나눈 값이 제2 임계치 이상인 경우, 최종적으로 상기 특정 프레임은 움직임이 있는 프레임으로 검출하고, 제2 임계치 이하인 경우 상기 특정 프레임은 움직임이 없는 프레임으로 검출하는 단계;를 포함한다.The step (c) may further comprise: (c2) detecting, for a specific frame detected as having motion in the step (c1), the number of frames in which motion in K frames before the specific frame is detected, Detecting a specific frame as a motion-based frame when the value divided by the number of frames not equal to the second threshold is greater than or equal to a second threshold; and detecting the specific frame as a motionless frame when the value is equal to or less than the second threshold.

또한, 상기 (d) 단계는, 데이터 관리부가, 영상 분석부에서 이동 객체가 고객 영역 내에 존재하는 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 고객 존재 이벤트 식별자를 표기하여 데이터베이스에 저장하고, 영상 분석부에서 이동 객체가 종업원 영역 내에 존재하는 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 종업원 존재 이벤트 식별자를 표기하여 데이터베이스에 저장하고, 영상 분석부에서 고객-종업원 상호작용 이벤트가 발생한 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 고객-종업원 상호작용 이벤트 식별자를 표기하여 데이터베이스에 저장하고, 영상 분석부에서 금전등록기 개방 이벤트가 발생한 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 금전등록기 개방 이벤트 식별자를 표기하여 데이터베이스에 저장하고, 영상 분석부에서 카드 결제 이벤트가 발생한 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 카드 결제 이벤트 식별자를 표기하여 데이터베이스에 저장하는 것을 특징으로 한다.In the step (d), if the data management unit determines that the moving object exists in the customer area, the data management unit displays the customer presence event identifier in the frame of the counter image and stores the same in a database. When the controller determines that the moving object exists in the employee area, the employee presence event identifier is displayed in the frame of the counter image and stored in the database. When it is determined that the customer-employee interaction event has occurred in the image analysis unit, The customer-employee interaction event identifier is written in the frame of the counter image and stored in the database. If it is determined that the cash register open event has occurred in the image analysis unit, the cash register open event identifier is displayed in the frame of the corresponding counter image Save to Database And, when in the image analysis unit is determined to have occurred, the card payment event, the title of a payment card event identifier to a frame of the image counter is characterized in that stored in the database.

또한, 본 발명의 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 방법은, (e) 상기 데이터 관리부가, 데이터베이스에 저장된 카운터 영상에 관한 이벤트 식별자를 이용하여, 고객 존재 이벤트, 종업원 존재 이벤트, 고객-종업원 상호작용 이벤트, 금전등록기 개방 이벤트 및 카드 결제 이벤트들이 각 이벤트 종류별로 검색 및 분류 가능하도록 생성된 이벤트 이력 리스트를 사용자 단말기에 제공하여 주고, 사용자 단말기로부터 특정 이벤트가 선택되면 해당 이벤트에 해당하는 카운터 영상을 사용자 단말기에 제공하는 단계;를 더 포함한다.
In addition, the present invention provides a method for summarizing real-time settlement events using surveillance camera images, comprising the steps of: (e) using the event identifier of the counter image stored in the database to generate a customer presence event, A cash register event, a cash register open event, and a card settlement event for each event type, and when a specific event is selected from the user terminal, a counter image corresponding to the event is provided to the user terminal To the user terminal.

상술한 본 발명에 따르면, 저해상도 감시 카메라를 이용하여 계산대에서 고객과 종업원 사이에 상호작용하는 영상을 데이터베이스에 분류하여 저장함으로써, 사용자가 값싼 저해상도 감시카메라로도 결제행동을 모니터링하고 고객 또는 종업원에 의하여 발생하는 부정행위 등의 문제 영상을 손쉽게 검색할 수 있도록 하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 시스템 및 그 방법을 제공할 수 있다.According to the present invention, by using a low-resolution surveillance camera, images interacting between a customer and an employee are classified and stored in a database, so that a user monitors the settlement behavior with an inexpensive low-resolution surveillance camera, A real-time settlement event summarizing system using the surveillance camera image and a method thereof can be provided.

또한, 본 발명에 따르면, 고객의 존재 이벤트, 종업원의 존재 이벤트, 고객-종업원 상호작용 이벤트, 금전 등록기의 개방 이벤트 및 카드 결제 이벤트가 각 표시되고, 각 이벤트 종류별로 검색 및 분류 가능하도록 생성된 이력 리스트를 사용자 단말기에 제공하여, 사용자가 각 이벤트 종류별로 영상 검색 및 분류를 손쉽게 할 수 있도록 하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 시스템 및 그 방법을 제공할 수 있다.
In addition, according to the present invention, the history of the customer, the presence event of the employee, the customer-employee interaction event, the open event of the cash register, and the card settlement event are displayed, The present invention can provide a real-time settlement event summary system and a method for real-time settlement event summarization using a surveillance camera image, by which a user can easily search and classify an image for each event type by providing a list to a user terminal.

도 1은 본 발명의 일실시예에 따른 실시간 결제 이벤트 요약 시스템의 블록 구성도이다.
도 2는 본 발명의 결제 이벤트 감지를 위한 4개의 영역- 고객, 종업원, 계산대 및 금전 등록기 영역이 표시된 감시카메라 영상 화면이다.
도 3은 본 발명의 고객-종업원 상호작용 이벤트 감지를 위한 프레임 차이 이미지 처리 화면이다.
도 4는 본 발명의 금전 등록기 개방 이벤트 감지를 위한 이미지 유사도 체크 화면이다.
도 5는 본 발명의 시스템을 개발하기 위한 XeronISS-SDK 화면이다.
도 6은 본 발명에 따른 시스템의 모든 프로세스에 대한 실험 결과를 나타내는 화면이다.
도 7은 본 발명에 따라 사용자 단말기에 제공되는 이벤트 이력 리스트 화면이다.
도 8은 본 발명의 움직임 기반 금전등록기 개방 상태 감지를 나타내는 화면이다.
도 9는 본 발명의 카드 결제 이벤트 검출예를 나타내는 화면이다.
도 10은 본 발명의 일실시예에 따른 실시간 결제 이벤트 요약 방법의 순서도이다.
1 is a block diagram of a real-time settlement event summary system according to an embodiment of the present invention.
FIG. 2 is a surveillance camera image screen in which four areas-customer, employee, cash register, and cash register area for payment event detection of the present invention are displayed.
3 is a frame difference image processing screen for detecting a customer-employee interaction event of the present invention.
4 is an image similarity check screen for detecting a cash register open event of the present invention.
5 is a XeronISS-SDK screen for developing the system of the present invention.
FIG. 6 is a screen showing experimental results of all the processes of the system according to the present invention.
7 is an event history list screen provided to a user terminal according to the present invention.
8 is a screen showing the motion-based cash register open state detection of the present invention.
9 is a screen showing an example of card settlement event detection of the present invention.
10 is a flowchart of a method of summarizing real-time settlement events according to an embodiment of the present invention.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다.BRIEF DESCRIPTION OF THE DRAWINGS The advantages and features of the present invention and the manner of achieving them will become apparent with reference to the embodiments described in detail below with reference to the accompanying drawings.

그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. To fully disclose the scope of the invention to those skilled in the art, and the invention is only defined by the scope of the claims. Like reference numerals refer to like elements throughout the specification.

이하, 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 상세하게 설명한다.
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일실시예에 따른 실시간 결제 이벤트 요약 시스템의 블록 구성도이다.1 is a block diagram of a real-time settlement event summary system according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 일실시예에 따른 실시간 결제 이벤트 요약 시스템(100)은 영상 관리부(110), 영상 분석부(120), 이벤트 관리부(130), 영상 내용 분석부(140) 및 데이터 관리부(150)를 포함한다.1, a real-time settlement event summarizing system 100 according to an embodiment of the present invention includes an image management unit 110, an image analysis unit 120, an event management unit 130, an image content analysis unit 140, And a data management unit 150.

영상 관리부(110)는 매장의 카운터를 향해 촬영하여 생성된 카운터 영상을 카메라(200)로부터 수신하여 영상 분석부(120)로 송신한다.The image management unit 110 receives the counter image generated by photographing toward the counter of the store from the camera 200, and transmits the counter image to the image analysis unit 120.

영상 분석부(120)는, 영상 관리부(110)로부터 수신한 카운터 영상에서, 이동객체를 배경영상으로부터 분리하여 추출하고, 추출된 이동객체를 추적 처리한다.The image analyzer 120 separates the moving object from the background image and extracts the moving object from the counter image received from the image managing unit 110, and tracks the extracted moving object.

이벤트 관리부(130)는, 카운터 영상을, 사용자에 의해 미리 설정된 고객 영역, 종업원 영역 및 계산대 영역으로 분할하여 관리한다.The event management unit 130 divides and manages the counter image into a customer area, an employee area, and a checkout area preset by the user.

영상 내용 분석부(140)는, 영상 분석부(120)에서 추적 처리된 이동객체가 이벤트 관리부(130)에 의해 분할된 고객 영역 또는 종업원 영역 내에 존재하는지 체크하고, 상기 이동객체가 고객 영역 및 종업원 영역 내에 모두 존재하는 경우, 계산대 영역의 영상에서 움직임이 있는지 검출하고, 계산대 영역의 영상에서 움직임이 검출되면 해당 카운터 영상의 프레임은 고객-종업원 상호작용 이벤트가 발생한 것으로 기록한다.The video content analysis unit 140 checks whether the moving object tracked by the video analysis unit 120 exists in the customer area or the employee area divided by the event management unit 130. If the moving object exists in the customer area and the employee If motion is detected in the image of the counter region, the frame of the corresponding counter image is recorded as the occurrence of the customer-employee interaction event.

데이터 관리부(150)는, 영상 내용 분석부(140)에서 고객-종업원 상호작용 이벤트가 발생된 프레임을 데이터베이스(300)에 저장한다.
The data management unit 150 stores the frame in which the customer-employee interaction event is generated in the video content analysis unit 140 in the database 300.

영상 관리부(110)는, 카메라 관리부(112) 및 영상 포맷부(114)를 포함하는데, 카메라 관리부(112)는 카메라(200)로부터 카운터 영상을 수신하고, 영상 포맷부(114)는 카메라 관리부(112)가 수신한 카운터 영상을 RGB 이미지 데이터로 변환하여 영상 분석부(120)로 송신한다.
The image management unit 110 includes a camera management unit 112 and an image format unit 114. The camera management unit 112 receives a counter image from the camera 200 and the image format unit 114 is a camera management unit 112 converts the received counter image into RGB image data, and transmits the RGB image data to the image analysis unit 120.

또한, 이벤트 관리부(130)는, 카운터 영상 중 사용자에 의해 미리 설정된 금전등록기 영역에 해당하는 영상을 분할하여 관리할 수도 있으며, 이 경우 영상 내용 분석부(140)는, 이벤트 관리부(130)에 의해 분할된 금전등록기의 영상을 금전등록기가 개방된 상태인 기준 템플릿 영상과 비교하여, 그 유사도가 기 설정된 기준치 이상인 경우, 해당 카운터 영상의 프레임은 금전등록기 개방 이벤트가 발생한 것으로 기록한다.In addition, the event management unit 130 may divide and manage an image corresponding to a cash register area preset by the user among the counter images. In this case, the image content analysis unit 140 may determine The image of the divided cash register is compared with the reference template image of the open state of the cash register, and if the similarity is equal to or greater than the preset reference value, the frame of the corresponding counter image is recorded as the cash register open event.

또는, 영상 내용 분석부(140)는, 이벤트 관리부(130)에 의해 분할된 금전등록기의 영상에서, 기 설정된 움직임 방향 및 움직임 거리를 만족시키는 특징점들을 추출하고, 이 추출된 특징점들의 개수 및 평균 움직임 거리를 산출한 후, 특징점들의 개수가 기 설정된 개수 이상이고, 상기 평균 움직임 거리가 기 설정된 움직임 거리 이상이면, 해당 카운터 영상의 프레임은 금전등록기 개방 이벤트가 발생한 것으로 기록할 수 있다.Alternatively, the image content analysis unit 140 extracts feature points that satisfy predetermined motion direction and motion distance from the image of the cash register divided by the event management unit 130, and calculates the number of the extracted feature points and the average motion If the number of the feature points is equal to or greater than a predetermined number after calculating the distance and the average motion distance is equal to or greater than a predetermined motion distance, the frame of the counter image may be recorded as a cash register open event.

이벤트 관리부(130)는, 카운터 영상 중 사용자에 의해 미리 설정된 카드영수증 영역에 해당하는 영상을 분할하여 관리하며, 영상 내용 분석부(140)는, 이벤트 관리부(130)에 의해 분할된 카드영수증 영역의 영상을 카드 영수증이 미출력 상태인 기준 템플릿 영상과 비교하여, 그 유사도가 기 설정된 기준치 이하인 경우, 해당 카운터 영상의 프레임은 카드 결제 이벤트가 발생한 것으로 기록한다.
The event management unit 130 divides and manages an image corresponding to the card receipt area preset by the user among the counter images and the image content analysis unit 140 analyzes the image data of the card receipt area The image is compared with the reference template image in which the receipt of the card is not in a power state and if the similarity is equal to or less than a preset reference value, the frame of the corresponding counter image is recorded as a card settlement event.

또한, 영상 내용 분석부(140)는, 계산대 움직임 검출부(142) 및 계산대 움직임 에러 보상부(144)를 포함한다.In addition, the video content analysis unit 140 includes a counter movement detection unit 142 and a counter movement error compensation unit 144.

계산대 움직임 검출부(142)는, 계산대 영역의 영상에서 움직임을 검출하는 경우, 특정 프레임의 계산대 영역 영상에서 이전 프레임의 계산대 영역 영상을 뺀 프레임 차이 이미지를 다수 개의 서브 블록으로 분할하고, 각 서브 블록 내 개개의 픽셀에 대한 프레임 차이 이미지 밝기는, 그 밝기값이 일정 수치보다 크면 해당 밝기값, 상기 일정 수치보다 작으면 0으로 처리하여 산출하고, 각 서브 블록 내 개개의 픽셀의 프레임 차이 이미지 밝기의 평균값을 각 서브 블록의 밝기값으로 하고, 모든 서브 블록들의 각 밝기값의 평균값이 제1 임계치 이상인 경우, 상기 특정 프레임은 움직임이 있는 것으로 검출한다.When detecting motion in the image of the counter region, the counter movement detecting unit 142 divides the frame difference image obtained by subtracting the counting region image of the previous frame from the image of the counter region of the specific frame into a plurality of sub-blocks, The frame difference image brightness for each pixel is calculated by processing the corresponding brightness value when the brightness value is larger than a certain value, or to 0 when the brightness value is smaller than the predetermined value, and calculating the average value of the frame difference image brightness of each pixel in each sub- Is a brightness value of each sub-block, and when the average value of brightness values of all sub-blocks is equal to or greater than a first threshold value, the specific frame is detected as having motion.

계산대 움직임 에러 보상부(144)는, 계산대 움직임 검출부(142)에서 움직임이 있는 것으로 검출된 특정 프레임에 대해서, 그 특정 프레임 이전의 K개 프레임 구간에서의 움직임이 감지된 프레임 개수를 움직임이 감지되지 않은 프레임 개수로 나눈 값이 제2 임계치 이상인 경우, 최종적으로 상기 특정 프레임은 움직임이 있는 프레임으로 검출하고, 제2 임계치 이하인 경우 상기 특정 프레임은 움직임이 없는 프레임으로 검출한다.
The counting unit motion error compensating unit 144 calculates the number of frames in which motion in the K frame periods preceding the specific frame is detected as a motion detected in the counter movement detecting unit 142 When the value divided by the number of frames is equal to or larger than the second threshold, the specific frame is finally detected as a frame having motion, and when the value is equal to or smaller than the second threshold value, the specific frame is detected as a frame without motion.

데이터 관리부(150)는, 영상 분석부(120)에서 이동 객체가 고객 영역 내에 존재하는 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 고객 존재 이벤트 식별자를 표기하여 데이터베이스(300)에 저장하고, 영상 분석부(120)에서 이동 객체가 종업원 영역 내에 존재하는 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 종업원 존재 이벤트 식별자를 표기하여 데이터베이스(300)에 저장하고, 영상 분석부(120)에서 고객-종업원 상호작용 이벤트가 발생한 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 고객-종업원 상호작용 이벤트 식별자를 표기하여 데이터베이스(300)에 저장하고, 영상 분석부(120)에서 금전등록기 개방 이벤트가 발생한 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 금전등록기 개방 이벤트 식별자를 표기하여 데이터베이스(300)에 저장하고, 영상 분석부(120)에서 카드 결제 이벤트가 발생한 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 카드 결제 이벤트 식별자를 표기하여 데이터베이스(300)에 저장한다.
When it is determined in the image analysis unit 120 that the moving object exists in the customer area, the data management unit 150 displays the customer presence event identifier in the frame of the corresponding counter image and stores it in the database 300, If it is determined that the mobile object is present in the employee area, the controller 120 displays an employee presence event identifier in the frame of the counter image and stores the employee presence event identifier in the database 300. In the image analysis unit 120, If it is determined that the action event has occurred, the customer-employee interaction event identifier is displayed in the frame of the counter image and stored in the database 300. If it is determined that the cash register open event has occurred in the image analysis unit 120 , The cash register open event identifier is written in the frame of the corresponding counter image, 00). If it is determined that the card settlement event has occurred in the image analysis unit 120, the card settlement event identifier is displayed in the frame of the corresponding counter image and is stored in the database 300.

또한, 데이터 관리부(150)는, 데이터베이스(300)에 저장된 카운터 영상에 관한 이벤트 식별자를 이용하여, 고객 존재 이벤트, 종업원 존재 이벤트, 고객-종업원 상호작용 이벤트, 금전등록기 개방 이벤트 및 카드 결제 이벤트들이 각 이벤트 종류별로 검색 및 분류 가능하도록 생성된 이벤트 이력 리스트를 사용자 단말기(400)에 제공하여 주고, 사용자 단말기(400)로부터 특정 이벤트가 선택되면 해당 이벤트에 해당하는 카운터 영상을 사용자 단말기(400)에 제공한다.
In addition, the data management unit 150 uses the event identifier related to the counter image stored in the database 300 to determine whether the customer presence event, the employee presence event, the customer-employee interaction event, the cash register open event, The event history list generated so as to be able to be searched and classified according to the event type is provided to the user terminal 400 and when a specific event is selected from the user terminal 400, a counter image corresponding to the event is provided to the user terminal 400 do.

위와 같은 본 발명의 특징에 관하여 더욱 상세하게 설명하자면 다음과 같다.
The features of the present invention will be described in more detail as follows.

1. 개요1. Overview

본 발명은, 감시카메라 이미지에서 고의적 또는 비고의적인 종업원의 부정행위를 감시하고 체크하는 실시간 결제 이벤트 요약 시스템에 관한 것이다. 녹화된 영상에서 결제 이벤트를 요약하기 위하여, 본 발명은 영역 기반 고객-종업원 상호작용 이벤트(customer-cashier interaction event; CCIE) 및 금전 등록기 개방 이벤트(cash register opening event; CROE)를 제안한다. 이러한 이벤트들을 감지하기 위하여, 본 발명은 추적된 객체의 정보 및 그 사용자 정의 영역을 이용하여 고객 또는 종업원의 존재 이벤트를 고려한다. 또한, CCIE 및 CROE를 감지하기 위하여, 본 발명은 감지된 고객 또는 종업원 존재 이벤트와 함께, 이들 각 영역에서 움직임 및 패턴 매칭 분석 방법을 고려한다. 또한, 이 영역들 내에서 고객 또는 종업원 존재 이벤트를 감지하기 위하여, 본 발명은 느린 이동 및 정지 객체 문제를 처리함과 동시에, 적응형 배경 기반 이동 객체 감지 및 추적 접근을 고려한다.
The present invention relates to a real-time settlement event summarizing system for monitoring and checking deliberate or unintentional employee fraud in a surveillance camera image. In order to summarize the settlement events in the recorded images, the present invention proposes a region-based customer-cashier interaction event (CCIE) and a cash register opening event (CROE). In order to detect these events, the present invention considers the customer or employee presence event using the information of the tracked object and its user defined area. In addition, in order to detect the CCIE and CROE, the present invention considers motion and pattern matching analysis methods in each of these areas, along with sensed customer or employee presence events. In addition, in order to detect a customer or employee presence event within these areas, the present invention considers an adaptive background-based moving object detection and tracking approach while addressing slow moving and stationary object problems.

2. 본 발명의 2. The present invention 일실시예에In one embodiment 따른 실시간 결제 이벤트 요약 시스템에 대한 설명 A description of the real-time billing event summary system

본 발명의 시스템(100)은 카메라 관리부(112), 영상 포맷부(114), 영상 분석부(120), 영상 내용 분석부(140), 데이터 관리부(150) 및 이벤트 관리부(130)의 6개 중요 구성요소를 포함한다.The system 100 of the present invention includes a camera management unit 112, an image format unit 114, an image analysis unit 120, an image content analysis unit 140, a data management unit 150, and an event management unit 130 It includes important components.

본 발명의 시스템(100)에서, 카메라 관리부(112) 및 영상 포맷부(114)는 영상 입력 단말기를 관리하고 입력 이미지를 RGB 이미지 데이터로 변환한다. 그 다음, 이벤트 관리부(130)는 영상 분석부(120) 및 영상 내용 분석부(140)를 위해, 사용자 정의 영상의 룰 생성, 삭제, 수정 및 스케줄링을 관리한다. 영상 분석부(120)는 객체 이동 지역을 고유번호(ID) 및 그 속성, 예컨대 순차 입력 이미지에서의 크기, 속도, 색상 및 형상 등과 함께 추출한다. 영상 내용 분석부(140)는 입력 영상으로부터 사용자 정의 이벤트 룰 뿐만 아니라 이동 객체의 정보도 사용하여 결제 이벤트와 같은 이벤트를 분석한다. 데이터 관리부(150)는 영상 분석부(120) 및 영상 내용 분석부(140)로부터의 출력 데이터를 메타 데이터 포맷으로 변환하고 추후 사용을 위하여 그것을 데이터베이스(300)에 저장한다.
In the system 100 of the present invention, the camera management unit 112 and the image format unit 114 manage a video input terminal and convert an input image into RGB image data. Next, the event management unit 130 manages rule generation, deletion, modification, and scheduling of the user-defined image for the image analysis unit 120 and the image content analysis unit 140. The image analysis unit 120 extracts the object moving area together with a unique number (ID) and its attributes, for example, size, speed, color, and shape in a sequential input image. The video content analysis unit 140 analyzes events such as settlement events using not only user defined event rules but also information of moving objects from the input video. The data management unit 150 converts output data from the image analysis unit 120 and the image content analysis unit 140 into a metadata format and stores it in the database 300 for later use.

3. 결제 이벤트 감지3. Billing event detection

결제 이벤트를 감지하기 위하여, 본 발명은 도 2에 도시된 바와 같이 4개의 영역- 고객, 종업원, 계산대 및 금전 등록기 영역을 정의한다. CCIE를 감지하기 위한 첫 번째 단계에서, 본 발명의 시스템(100)은 추적 정보(tracking information)를 이용하여 이 영역들에서 고객 또는 종업원을 감지한다. 그 다음, CCIE는 계산대 영역에서의 움직임 분석에 의해 결정된다. CROE를 결정하기 위하여, 본 발명은 종업원 영역에서 종업원 존재 이벤트를 감지한 후, 금전 등록기 영역에서의 패턴 매칭 분석을 수행한다. 그 다음, 감지된 이벤트 결과는 데이터베이스(300)에 저장된다. 이에 따라, 결제 이벤트는, 감지된 이벤트 시각 및 해당 녹화 영상들을 데이터베이스(300)에서 검색하는 것에 의해 요약될 수 있다.
To detect a payment event, the present invention defines four areas-customer, employee, checkout, and cash register area, as shown in FIG. In a first step for detecting the CCIE, the system 100 of the present invention uses tracking information to detect customers or employees in these areas. The CCIE is then determined by the motion analysis in the counter zone. To determine the CROE, the present invention detects an employee presence event in the employee area and then performs pattern matching analysis in the cash register area. The sensed event results are then stored in the database 300. Accordingly, the settlement event can be summarized by searching the database 300 for the detected event time and corresponding recorded images.

3.1. 이동 객체 감지 및 추적3.1. Moving object detection and tracking

고객 및 종업원의 존재 이벤트를 감지하기 위해 순차 입력 영상으로부터 이동 객체의 정보를 얻기 위하여, 본 발명은 적응형 배경 모델 기반 객체 검출 및 추적 또는 학습 기반 사람 검출 모델로 검토 적용될 수 있다(X. Wang, T. X. Han, and S. Yan, "An HOG-LBP Human detector with Partial Occlsion Handling", ICCV09 참조)[6, 7, 8].In order to obtain the information of the moving object from the sequential input image in order to detect the presence events of customers and employees, the present invention can be reviewed with an adaptive background model based object detection and tracking or learning based human detection model (X. Wang, TX Han, and S. Yan, "An HOG-LBP Human Detector with Partial Occlusion Handling", ICCV09) [6, 7, 8].

우선 적응형 배경 모델의 경우, 입력 영상의 픽셀들에 대해 Gaussian Mixture Model(GMM)을 이용하여 배경을 학습하고, GMM 배경 모델과 입력영상을 비교 하여 배경 pixel 인지 이동 객체 영역 pixel인지 분류한다. 분류된 이동 객체 영상에 대해서 잘못 분류된 pixel들을 제거 하기 위해 모폴로지 같은 후처리 기법을 적용한 후 connected components labeling를 이용하여 이동 객체 영역을 분리 한다. [6, 7, 8, 9, 10, 11]. 그 다음, 최소/최대 싸이즈 필터를 적용하여 사람의 크기가 아닌 노이즈 객체 영역을 제거한다. 마지막으로, 검출된 사람 영역에 대하여 단순히 페어 과정(matching pair procedure)을 수행하는 것을 통해 추적될 수 있다(-W. J. Won and et all, "Simplified Multiple Objet Tracking model for real-time intelligent surveillance system", ECTICON, 2013. 참조)[12, 13]. In the case of the adaptive background model, the background is learned using Gaussian Mixture Model (GMM) for the pixels of the input image, and the background pixel or the moving object pixel is classified by comparing the input image with the GMM background model. To remove misclassified pixels from classified moving object images, we apply postprocessing techniques such as morphology and then separate the moving object regions using connected components labeling. [6, 7, 8, 9, 10, 11]. Then, the minimum / maximum size filter is applied to remove the noise object area that is not the size of the person. Finally, it can be traced through simply performing a matching pair procedure on the detected human region (see, for example, WJ Won and et al., "Simplified Multiple Objet Tracking Model for Real-Time Intelligent Surveillance System" , 2013. [12, 13].

Staffer 와 Grimson은 K 가우시안 혼합(K Gaussian mixture)을 이용한 GMM 기반 적응형 배경 모델을 제안하였다[6, 8]. 각 픽셀에 대하여, 시각 t에서의 혼합 가중치는 시각 t-1에서의 가중치에 기반하여 아래 수학식 1과 같이 업데이트된다.Staffer and Grimson proposed a GMM-based adaptive background model using a K-Gaussian mixture [6, 8]. For each pixel, the composite weight at time t is updated as shown in Equation 1 below based on the weight at time t-1.

Figure 112013082602141-pat00001
Figure 112013082602141-pat00001

여기서,

Figure 112013082602141-pat00002
는 학습 비율(learning rate)이다. here,
Figure 112013082602141-pat00002
Is the learning rate.

또한, 입력 영상에 대해 배경 업데이트 하기 위해 기존에 학습된 K 가우시안에 대해 평균값과 분산값을 이용하여 매칭되는 모델이 있는지 체크하여 매칭된 모델이 있으면 해당 모델을 업데이트 하고, 그렇지 않으면 새로운 모델을 생성한다. 또한, 해당 픽셀에 대한 배경 가우시안 모델의 생성/업데이트 후 픽셀의 가우시안 모델들을

Figure 112013082602141-pat00003
의 하향 순서로 정렬된 된다. 또한, 입력 영상과 매칭되는 가우시안 모델의 수식인 B는 다음 수학식 2와 같다.Also, in order to update the background of the input image, it is checked whether or not there is a matched model using the average value and the variance value for the previously learned K Gaussian, and if there is a matched model, the corresponding model is updated, . Also, after generating / updating the background Gaussian model for the pixel, the Gaussian models of the pixel
Figure 112013082602141-pat00003
As shown in FIG. B, which is a mathematical expression of the Gaussian model matched with the input image, is expressed by the following equation (2).

Figure 112013082602141-pat00004
Figure 112013082602141-pat00004

T는 배경에 의해 고려되어야 하는 데이터의 최소 부분이다. 여기서,

Figure 112013082602141-pat00005
는 매칭되지 않은 분산을 위해 동일하게 남아있게 된다.T is the minimum amount of data that should be considered by the background. here,
Figure 112013082602141-pat00005
≪ / RTI > remain the same for unmatched variance.

비록 본 모델은 조명 및 배경에 의한 객체 반사의 변화와 같은 실제 환경에서도 강건하게 동작하나, 느리게 움직이거나 정지된 객체를 감지하는 데에는 문제가 있다[6]. 객체가 매우 느리게 움직이거나 정지한 경우에는, 객체 영역의 픽셀은 동일한 학습 비율로서 배경으로서 업데이트된다. 이에 따라, 이 모델은 느리게 움직이거나 정지된 객체는 감지해낼 수가 없다. 이 문제를 해결하기 위하여, 본 발명은 추적부(tracker)로부터 추적 객체 영역 피드백을 사용하는 다음 수학식 3과 같은 적응형 학습 비율 개념을 도입한다.Although this model works robustly in real-world environments, such as changes in object reflections due to illumination and background, it is problematic in detecting slow moving or stationary objects [6]. If the object moves very slowly or stops, pixels in the object area are updated as background with the same learning rate. As a result, the model can not detect slow moving or stopped objects. To solve this problem, the present invention introduces an adaptive learning rate concept such as Equation (3) using tracking object domain feedback from a tracker.

Figure 112013082602141-pat00006
Figure 112013082602141-pat00006

여기서,

Figure 112013082602141-pat00007
은 고정된 초기
Figure 112013082602141-pat00008
변수이고,
Figure 112013082602141-pat00009
는 각 추적된 객체에 대한 추적 이력(count)이고, TM은 추적 영역에 포함된 픽셀들에 대해서는 1로 설정되어 있고 그렇지 않은 영역에서는 0으로 설정되어 있는 추적 맵 표시자이다. 또한, 본 발명에서는
Figure 112013082602141-pat00010
가 특정된 경계를 벗어나지 않도록 상한 및 하한 경계로서
Figure 112013082602141-pat00011
을 설정하였다. 이에 따라,
Figure 112013082602141-pat00012
Figure 112013082602141-pat00013
로서 계산되고,
Figure 112013082602141-pat00014
는 업데이트 시간 변수이다.here,
Figure 112013082602141-pat00007
Is a fixed initial
Figure 112013082602141-pat00008
Variable,
Figure 112013082602141-pat00009
Is a tracking history (count) for each tracked object, and TM is a tracking map indicator set to 1 for pixels included in the tracking area and to 0 for areas not included. In the present invention,
Figure 112013082602141-pat00010
As upper and lower bounds so as not to deviate from the specified boundary
Figure 112013082602141-pat00011
Respectively. Accordingly,
Figure 112013082602141-pat00012
The
Figure 112013082602141-pat00013
Lt; / RTI >
Figure 112013082602141-pat00014
Is an update time variable.

이 객체 추적을 위하여, 본 발명은 감지 객체 영역과 추적 객체 영역 사이에서 해당 매칭 페어(matching pair)을 생성하기 위한 특성 매칭 방법(feature matching method)을 도입한다[12, 13]. 특성 매칭 단계에서, 후보 매칭 Pair를 추적 객체 리스트와 감지 객체 리스트들에 대해 영상 상의 거리와 객체간 사이즈 비율을 이용해 선택한다. 그리고, 이진 매칭 페어 테이블은 히스토그램 유사성이 사용자가 설정한 추적 임계치보다 클 경우 매칭 검출 및 추적 객체의 최종 후보로써 간주 해준다. 이진 매칭 테이블 및 검출/추적 객체 영역간 거리에 대해서 스코링 방법(scoring method)을 사용하여 감지 객체와 추적 객체 사이의 최적의 매칭 페어를 찾은 다음, 매칭된 추적 객체는 해당 감지 객체의 위치와 특성에 의해 업데이트된다. 그러나, 매칭 페어가 중첩 객체(merging object)로서 인식되면, 추적 객체 특성은 업데이트되지 않는다. 그렇지 않으면, 매칭되지 않고 중첩된 추적 객체에 대해서, 추적 객체 위치는 이전 프레임으로부터 예상된 위치에 의해 업데이트된다. 매칭되지 않은 감지 객체는 특정 일치도를 체크한 후 신규 추적 객체로서 기록된다.
For this object tracking, the present invention introduces a feature matching method for generating a matching pair between the sensing object area and the tracking object area [12, 13]. In the feature matching step, the candidate matching Pair is selected by using the distance between images and the size ratio between the objects for the tracking object list and the sensing object lists. The binary matching pair table is regarded as a final candidate for the matching detection and tracking object when the histogram similarity is larger than the tracking threshold set by the user. After finding the best matching pair between the sensing object and the tracking object using the scoring method for the distance between the binary matching table and the detection / tracking object region, the matching tracking object determines the position and characteristics of the sensing object Lt; / RTI > However, if the matching pair is recognized as a merging object, the tracking object property is not updated. Otherwise, for an unmatched, overlapped tracking object, the tracking object position is updated by the expected position from the previous frame. Unmatched detection objects are recorded as new tracking objects after checking a specific match.

3.2. 고객-종업원 상호작용 이벤트 감지3.2. Customer-employee interaction event detection

CCIE를 감지하기 위하여, 본 발명의 시스템(100)은 추적 객체 영역을 사용자 정의 영역과 비교하는 것에 의하여 고객 및 종업원이 존재하는지 여부를 체크한다. 그 다음, 고객 및 종업원이 있는 경우, 사용자 정의 계산대 영역에서 CCIE가 있는지 결정하기 위하여 움직임 분석을 수행한다. 이 움직임 분석을 위하여, 본 발명은 다음 수학식 4를 이용한 간단한 프레임 차이 방법(frame difference method)을 도입한다.To detect the CCIE, the system 100 of the present invention checks whether a customer and an employee are present by comparing the tracking object area with a user defined area. Then, if there are customers and employees, perform a motion analysis to determine if there is a CCIE in the customized checkout area. For this motion analysis, the present invention introduces a simple frame difference method using the following equation (4).

Figure 112013082602141-pat00015
Figure 112013082602141-pat00015

여기서,

Figure 112013082602141-pat00016
는 프레임 비율(frame rate)에 의해 결정되는 프레임 간격(frame interval)이다.here,
Figure 112013082602141-pat00016
Is the frame interval determined by the frame rate.

프레임 차이 이미지(frame difference image), 즉 특정 시간

Figure 112013082602141-pat00017
에서의 프레임 이미지에서
Figure 112013082602141-pat00018
에서의 프레임 이미지를 뺀 이미지를 얻은 후, 이 프레임 차이 이미지는 도 3에 도시된 바와 같이 N x M 서브 블록에 의해 분할된다. 그 다음, 각 서브 블록 내 개개의 픽셀(x,y 좌표상의 픽셀)에 대하여 프레임 차이 이미지의 밝기 D(x, y)를 Dth보다 크면 해당 밝기값(d), Dth보다 작으면 0으로 처리하여 산출하고, 각 서브 블록 내 개개의 픽셀의
Figure 112013082602141-pat00019
의 평균값을 구하여, 그 평균값을 각 서브 블록의 밝기값 S(m,n)으로 한다.A frame difference image, i.e., a specific time
Figure 112013082602141-pat00017
In the frame image at
Figure 112013082602141-pat00018
The frame difference image is divided by NxM subblocks as shown in FIG. Then, if the brightness D (x, y) of the frame difference image is greater than Dth for each pixel (x, y coordinate) in each sub-block, the brightness value d is set to 0 And each pixel in each sub-block is calculated
Figure 112013082602141-pat00019
, And the average value is set as the brightness value S (m, n) of each sub-block.

프레임 레벨에서의 상호작용 이벤트인 프레임 레벨 상호작용 이벤트(TE)는 다음 수학식 5를 이용하여 서브 블록 밝기값인 S(m, n)과 임계치(

Figure 112013082602141-pat00020
)에 의해 결정된다.The frame level interaction event TE, which is an interaction event at the frame level, is calculated using the sub-block brightness value S (m, n) and the threshold value
Figure 112013082602141-pat00020
).

Figure 112013082602141-pat00021
Figure 112013082602141-pat00021

그러나, 이미지 왜곡 및 노이즈는 프레임 레벨 상호작용 감지에 있어서 잘못된 결정을 일으킬 수 있다. 일시적인 이벤트 감지 에러를 줄이기 위하여, 본 발명은 일시적 분석 방법(temporal analysis method)을 사용하는 에러 보상 방법을 도입하였다. 각 프레임 레벨 감지 결과는 K개 구간동안 저장된다. 그 다음, 최종 이벤트 감지 결과(final event detection result; FE)는 감지 이벤트(

Figure 112013082602141-pat00022
)와 감지되지 않은 이벤트(
Figure 112013082602141-pat00023
)의 비율과 임계치(
Figure 112013082602141-pat00024
)에 의해 다음 수학식 6을 사용하여 결정된다.However, image distortion and noise can make erroneous decisions in frame level interaction detection. In order to reduce transient event detection errors, the present invention introduces an error compensation method using a temporal analysis method. Each frame level detection result is stored for K periods. Then, the final event detection result (FE)
Figure 112013082602141-pat00022
) And undetected events (
Figure 112013082602141-pat00023
) And the threshold value (
Figure 112013082602141-pat00024
) Using the following equation (6).

Figure 112013082602141-pat00025
Figure 112013082602141-pat00025

즉, 위 수학식 6은, 영상에서 순간적인 영상 왜곡(빛의 변화, 그림자 등으로 생기는 영상 왜곡)으로 인하여 이벤트가 발생할 우려가 있는데, 이를 극복하기 위해서는 단순히 한 번의 이벤트 검출로 검출 여부를 판단하는 것이 아니고, 사용자가 설정된 시간 동안 이벤트 검출 여부를 지켜보고, 설정 시간 동안 이벤트 검출 발생 결과와 이벤트 미 검출 결과의 비율을 확인함으로써 순간적인 영상 왜곡으로 인한 이벤트 검출을 막기 위해 필요한 것이다.
That is, in the above Equation (6), an event may occur due to instantaneous image distortion (change of light, image distortion caused by shadow, etc.) in the image. To overcome this, And it is necessary to observe whether or not the event is detected during the set time by the user and to confirm the ratio of the event detection result and the event non-detection result during the set time, thereby preventing the event detection due to the instantaneous image distortion.

3.3. 금전 등록기 개방 이벤트 감지3.3. Cash register open event detection

도 4에 도시된 바와 같이, 종업원이 종업원 영역 내에 있는 경우, 본 발명의 시스템은 패턴 매칭 분석에 기반하여 CROE를 감지하기 위하여 사용자 정의 금전 등록기 영역에서 금전 등록기의 개방 상태를 체크한다. 금전 등록기 개방 상태를 체크하기 위하여, 본 발명은 간단히 템플릿 매칭 방법[14]을 도입한다. 입력 이미지에 대해서, 유사도 맵은 다음 수학식 7에 의하여 생성된다.As shown in FIG. 4, if the employee is within the employee area, the system of the present invention checks the open status of the cash register in the user defined cash register area to detect the CROE based on the pattern matching analysis. To check the cash register open status, the present invention simply introduces a template matching method [14]. For an input image, a similarity map is generated by the following Equation (7).

Figure 112013082602141-pat00026
Figure 112013082602141-pat00026

그 다음, 금전 등록기 개방 상태는 각 프레임에 대한 유사도 맵에서, 임계치를 초과하는 로컬 최대 수치(local maximum point)를 검색하는 것에 의해 결정된다. 최종 감지 결과는 에러 보상 알고리즘인 위 수학식 6에 의해서 결정된다.
The cash register open state is then determined by searching for a local maximum point that exceeds the threshold in the similarity map for each frame. The final detection result is determined by Equation (6), which is an error compensation algorithm.

4. 실험 결과4. Experimental results

Xeron Intelligent surveillance system-software development kit(XeronISS-SDK)를 사용하여, XeronISS Client 라는 매장 감시 어플리케이션으로서 결제 이벤트 요약 시스템을 구현해보았다. 도 5에 도시된 바와 같이, XeronISS-SDK는 감시 시스템을 손쉽게 개발하기 위하여 C++ 라이브러리 기반 파라미터 환경설정, 단말기 관리부, 영상 포맷부, 데이터 관리부, 이미지 프로세서, VA, VCA 및 알람/이벤트 관리 모듈을 지원한다. 또한, XeronISS Client는 16개 채널 모니터링, VA, VCA, 스마트 검색, 이벤트 통계 분석, 영상 녹화 및 요약 및 능동형 자동 추적 기능을 가지고 있다.Using the Xeron Intelligent surveillance system-software development kit (XeronISS-SDK), we implemented a payment event summary system as a store monitoring application called XeronISS Client. As shown in FIG. 5, the XeronISS-SDK supports a C ++ library-based parameter setting, a terminal management unit, an image format unit, a data management unit, an image processor, a VA, a VCA and an alarm / event management module in order to easily develop a surveillance system do. XeronISS Client also has 16 channel monitoring, VA, VCA, smart search, event statistical analysis, video recording and summary and active auto tracking.

도 6은 본 발명에 따른 시스템의 모든 프로세스에 대한 실험 결과를 보여준다. 이동 객체가 화면에 나타나면, 본 발명의 시스템은 이 이동 객체를 감지하고 추적한다. 그 다음, 도 6(a)에 도시된 바와 같이, 추적 객체 영역을 사용하여 고객 및 종업원 존재 이벤트가 결정된다. 최종적으로, 본 발명의 시스템은 도 6(b)에 도시된 바와 같이, 움직임 및 패턴 매칭 분석을 이용하여 CCIE 및 CROE를 감지한다.Figure 6 shows the experimental results for all processes of the system according to the invention. When the moving object appears on the screen, the system of the present invention detects and tracks the moving object. Then, as shown in Fig. 6 (a), the customer and employee presence events are determined using the tracking object area. Finally, the system of the present invention senses CCIE and CROE using motion and pattern matching analysis, as shown in Figure 6 (b).

도 7에 도시된 바와 같이, 본 발명의 시스템은 사용자 정의 기간 동안의 이벤트 이력을 리스트로 정리하여 보여줄 수 있고 검색하는 것도 가능하다. 그 다음, 사용자는 이 이벤트 이력 리스트를 클릭하는 것에 의해 요약 영상 및 이미지의 스냅샷을 볼 수 있다.As shown in FIG. 7, the system of the present invention can arrange a list of event histories during a user-defined period and display the history. The user can then view a summary image and a snapshot of the image by clicking on the event history list.

도 8은 본 발명의 움직임 기반 금전등록기 개방 상태 감지를 나타내는 화면이고, 도 9는 본 발명의 카드 결제 이벤트 검출예를 나타내는 화면이다.
FIG. 8 is a screen showing the motion-based cash register open state detection of the present invention, and FIG. 9 is a screen showing an example of card settlement event detection of the present invention.

이하, 본 발명의 동작 및 작용에 대하여 도 10을 참조하여 상세히 설명한다.Hereinafter, the operation and operation of the present invention will be described in detail with reference to FIG.

도 10은 본 발명의 일실시예에 따른 실시간 결제 이벤트 요약 방법의 순서도이다.10 is a flowchart of a method of summarizing real-time settlement events according to an embodiment of the present invention.

먼저, 영상 관리부(110)가, 매장의 카운터를 향해 촬영하여 생성된 카운터 영상을 카메라(200)로부터 수신하여 영상 분석부(120)로 송신한다(단계 S110).First, the image management unit 110 receives the counter image generated by photographing toward the counter of the store from the camera 200, and transmits the counter image to the image analysis unit 120 (step S110).

그 다음, 영상 분석부(120)가, 영상 관리부(110)로부터 수신한 카운터 영상에서, 이동객체를 배경영상으로부터 분리하여 추출하고, 추출된 이동객체를 추적 처리한다(단계 S120).Then, the image analysis unit 120 separates the moving object from the background image and traces the extracted moving object in the counter image received from the image management unit 110 (step S120).

그 다음, 영상 내용 분석부(140)가, 영상 분석부(120)에서 추적 처리된 이동객체가 이벤트 관리부(130)에 의해 분할된 고객 영역 또는 종업원 영역 내에 존재하는지 체크하고, 상기 이동객체가 고객 영역 및 종업원 영역 내에 모두 존재하는 경우, 계산대 영역의 영상에서 움직임이 있는지 검출하고, 계산대 영역의 영상에서 움직임이 검출되면 해당 카운터 영상의 프레임은 고객-종업원 상호작용 이벤트가 발생한 것으로 기록한다(단계 S130).Then, the video content analysis unit 140 checks whether the moving object traced in the video analysis unit 120 exists in the customer area or the employee area divided by the event management unit 130, Area and the employee area, it is detected whether there is motion in the image of the counter zone. When motion is detected in the image of the counter zone, the frame of the corresponding counter image is recorded as the occurrence of the customer-employee interaction event (step S130 ).

그 다음, 데이터 관리부(150)가, 상기 영상 내용 분석부(140)에서 고객-종업원 상호작용 이벤트가 발생된 프레임을 데이터베이스(300)에 저장한다(단계 S140).Then, the data management unit 150 stores the frame in which the customer-employee interaction event is generated in the video content analysis unit 140 in the database 300 (step S140).

그 다음, 데이터 관리부(150)가, 데이터베이스(300)에 저장된 카운터 영상에 관한 이벤트 식별자를 이용하여, 고객 존재 이벤트, 종업원 존재 이벤트, 고객-종업원 상호작용 이벤트, 금전등록기 개방 이벤트 및 카드 결제 이벤트들이 각 이벤트 종류별로 검색 및 분류 가능하도록 생성된 이벤트 이력 리스트를 사용자 단말기(400)에 제공하여 주고, 사용자 단말기(400)로부터 특정 이벤트가 선택되면 해당 이벤트에 해당하는 카운터 영상을 사용자 단말기(400)에 제공한다(단계 S150).
The data management unit 150 then uses the event identifier for the counter image stored in the database 300 to determine whether the customer presence event, the employee presence event, the customer-employee interaction event, the cash register open event, When a specific event is selected from the user terminal 400, the event history list generated so as to be searched and classified for each event type is provided to the user terminal 400, and a counter image corresponding to the selected event is transmitted to the user terminal 400 (Step S150).

여기서, 단계 S130은, 영상 내용 분석부(140)가, 이벤트 관리부(130)에 의해 분할된 금전등록기의 영상을 금전등록기가 개방된 상태인 기준 템플릿 영상과 비교하여, 그 유사도가 기 설정된 기준치 이상인 경우, 해당 카운터 영상의 프레임은 금전등록기 개방 이벤트가 발생한 것으로 기록할 수 있다.Here, in step S130, the video content analyzer 140 compares the video of the cash register divided by the event manager 130 with the reference template video in the open state of the cash register, and if the similarity is not less than a predetermined reference value , The frame of the corresponding counter image can be recorded as the occurrence of the cash register open event.

또는, 단계 S130은, 영상 내용 분석부(140)가, 이벤트 관리부(130)에 의해 분할된 금전등록기의 영상에서, 기 설정된 움직임 방향 및 움직임 거리를 만족시키는 특징점들을 추출하고, 이 추출된 특징점들의 개수 및 평균 움직임 거리를 산출한 후, 특징점들의 개수가 기 설정된 개수 이상이고, 상기 평균 움직임 거리가 기 설정된 움직임 거리 이상이면, 해당 카운터 영상의 프레임은 금전등록기 개방 이벤트가 발생한 것으로 기록할 수도 있다.Alternatively, in step S130, the image content analysis unit 140 extracts feature points that satisfy predetermined motion direction and motion distance from the image of the cash register divided by the event management unit 130, and extracts the extracted feature points If the number of the feature points is equal to or greater than a predetermined number after calculating the number and the average motion distance and the average motion distance is equal to or greater than the predetermined motion distance, the frame of the corresponding counter image may be recorded as a cash register open event.

또한, 단계 S130은, 영상 내용 분석부(140)가, 이벤트 관리부(130)에 의해 분할된 카드영수증 영역의 영상을 카드 영수증이 미출력 상태인 기준 템플릿 영상과 비교하여, 그 유사도가 기 설정된 기준치 이하인 경우, 해당 카운터 영상의 프레임은 카드 결제 이벤트가 발생한 것으로 기록한다.
In step S130, the image content analysis unit 140 compares the image of the card receipt area divided by the event management unit 130 with the reference template image in which the card receipt is in a low power state, , The frame of the corresponding counter image is recorded as the occurrence of the card settlement event.

또한, 단계 S130은, 다음과 같은 단계 S132 및 단계 S134를 포함한다.Step S130 includes the following steps S132 and S134.

먼저, 단계 S132는, 계산대 영역의 영상에서 움직임을 검출하는 경우, 특정 프레임의 계산대 영역 영상에서 이전 프레임의 계산대 영역 영상을 뺀 프레임 차이 이미지를 다수 개의 서브 블록으로 분할하고, 각 서브 블록 내 개개의 픽셀에 대한 프레임 차이 이미지 밝기는, 그 밝기값이 일정 수치보다 크면 해당 밝기값, 상기 일정 수치보다 작으면 0으로 처리하여 산출하고, 각 서브 블록 내 개개의 픽셀의 프레임 차이 이미지 밝기의 평균값을 각 서브 블록의 밝기값으로 하고, 모든 서브 블록들의 각 밝기값의 평균값이 제1 임계치 이상인 경우, 상기 특정 프레임은 움직임이 있는 것으로 검출한다.First, in step S132, a frame difference image obtained by subtracting the counting region image of the previous frame from an image of the counting region of a specific frame is divided into a plurality of subblocks, The frame difference image brightness for the pixel is calculated by processing the corresponding brightness value when the brightness value is larger than a certain value, or to 0 when the brightness value is smaller than the predetermined value. The average value of the frame difference image brightness of each pixel in each sub- Block, and when the average value of each brightness value of all the sub-blocks is equal to or larger than the first threshold value, the specific frame is detected as having motion.

그 다음 단계인 S134는, 단계 S134에서 움직임이 있는 것으로 검출된 특정 프레임에 대해서, 그 특정 프레임 이전의 K개 프레임 구간에서의 움직임이 감지된 프레임 개수를 움직임이 감지되지 않은 프레임 개수로 나눈 값이 제2 임계치 이상인 경우, 최종적으로 상기 특정 프레임은 움직임이 있는 프레임으로 검출하고, 제2 임계치 이하인 경우 상기 특정 프레임은 움직임이 없는 프레임으로 검출한다.
In the next step S134, a value obtained by dividing the number of detected frames in the K frame periods before the specific frame by the number of frames in which no motion is detected is calculated for a specific frame detected as having motion in step S134 If the difference is equal to or greater than the second threshold value, the specific frame is detected as a frame with motion, and if the specific frame is below the second threshold value, the specific frame is detected as a frame without motion.

본 발명은 상술한 바람직한 실시예에 한정되지 아니하며 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면 누구든지 용이하게 변형 실시 가능한 것은 물론이고, 이와 같은 변경은 청구항의 청구범위 기재범위 내에 있게 된다.
It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the appended claims. Such modifications are within the scope of the claims.

참고문헌 목록Bibliography

[1] Y. Tian, L. Brown, A. Hampapur, M. Lu, "IBM Smart Surveillance System (S3): Event Based Video Surveillance System with an Open and Extensible Framework," Machine Vision and Applications, vol. 19, Sep. 2008.[1] Y. Tian, L. Brown , A. Hampapur, M. Lu, "IBM Smart Surveillance System (S3): Event Based Video Surveillance System with an Open and Extensible Framework," Machine Vision and Applications , vol. 19, Sep. 2008.

[2] A.W. Senior, "Video analytics for retail," in AVSS, pp.423-428, 2007.[2] AW Senior, "Video analytics for retail," in AVSS , pp. 423-428, 2007.

[3] H. Trinh, Q. Fan, J. Pan, P. Gabbur, S. Miyazawa, and S.Pankanti, "Detecting Human Activities in Retail Surveillance Using Hierarchical Finite State Machine," in ICASSP, pp.1337-1340, 2011.[3] H. Trinh, Q. Fan , J. Pan, P. Gabbur, S. Miyazawa, and S.Pankanti, "Detecting Human Activities in Retail Surveillance Using Hierarchical Finite State Machine," in ICASSP , pp. 1337-1340, 2011.

[4] H. Trinh, Q. Fan, P. Gabbur, and S. Pankanti, "Hand Tracking Binary Quadratic Programming and Its Application to Retail Activity Recognition," in CVPR, pp. 1902-1909, 2012.[4] H. Trinh, Q. Fan, P. Gabbur, and S. Pankanti, "Hand Tracking Binary Quadratic Programming and Its Application to Retail Activity Recognition," in CVPR , pp. 1902-1909, 2012.

[5] http://www.xeron-healthcare.com/[5] http://www.xeron-healthcare.com/

[6] Y. Tian, A. Senior, and M. Lu, "Robust and Efficient Foreground Analysis in Complex Surveillance Video," Machine Vision and Application, vol. 23, no.7, pp. 967-983, Sep. 2012.[6] Y. Tian, A. Senior, and M. Lu, "Robust and Efficient Foreground Analysis in Complex Surveillance Video," Machine Vision and Application , vol. 23, no. 7, pp. 967-983, Sep. 2012.

[7] T. Bouwmans, F. El Baf, and B. Vachon, "Background Modeling using Mixture of Gaussians for Foreground Detection -A Survey," Recent Patents on Computer Science, vol. 1, no.3 pp.21-237, 2008.[7] T. Bouwmans, F. El Baf, and B. Vachon, "Background Modeling using Mixture of Gaussians for Foreground Detection-A Survey," Recent Patents on Computer Science , vol. 1, no.3 pp.21-237, 2008.

[8] C. Stauffer, and W.E.L. Grimson, "Adaptive background mixture models for real-time tracking," in CVPR, 1999.[8] C. Stauffer, and WEL Grimson, "Adaptive background mixture models for real-time tracking," in CVPR , 1999.

[9] Z. Zivkovic, and F. Heijden, "Efficient adaptive density estimation per image pixel for the task of background substraction," Pattern Recognition Letter, vol. 27, pp. 773-780,2006.[9] Z. Zivkovic, and F. Heijden, "Efficient adaptive density estimation per image pixel for the task of background substraction," Pattern Recognition Letter , vol. 27, pp. 773-780, 2006.

[10] F. Porikli, and J. Thornton, "Shadow flow: a recursive method to learn moving cast shadows" in ICCV, 2005.[10] F. Porikli, and J. Thornton, "Shadow flow: a recursive method to learn moving cast shadows" in ICCV , 2005.

[11] S. Nadmi and B. Bhanu, "Physical models for moving shadow and object detection in video," IEEE Trans . Pattern Analysis and Machine Intelligence, vol.26, no.8, pp.1079-1087, 2004.[11] S. Nadmi and B. Bhanu, "Physical models for moving shadow and object detection in video," IEEE Trans . Pattern Analysis and Machine Intelligence , vol. 26, no. 8, pp. 1079-1087, 2004.

[12] Q. Pan, J. Li, and S. Z. Li, "Real-time multiple objects tracking with occlusion handling in dynamic scenes," in CVPR, pp.970-975, 2005.[12] Q. Pan, J. Li , and SZ Li, "Real-time multiple objects tracking with occlusion handling in dynamic scenes," in CVPR , pp. 970-975, 2005.

[13] S. Johnsen, and A. Tews, "Real-Time Object Tracking and Classification Using a Static Camera," in People and Detection workshop of ICRA , 2009. [13] S. Johnsen, and A. Tews, "Real-Time Object Tracking and Classification Using a Static Camera," in People and Detection workshop of ICRA , 2009.

[14] F. Jurie, and M. Dhome, "Real Time Robust Template Matching," in BMCV, pp. 123-132, 2002.
[14] F. Jurie, and M. Dhome, "Real Time Robust Template Matching," in BMCV , pp. 123-132, 2002.

100: 실시간 결제 이벤트 요약 시스템 110: 영상 관리부
112: 카메라 관리부 114: 영상 포맷부
120: 영상 분석부 130: 이벤트 관리부
140: 영상 내용 분석부 142: 계산대 움직임 검출부
144: 계산대 움직임 에러 보상부 150: 데이터 관리부
200: 카메라 300: 데이터베이스
400: 사용자 단말기
100: real-time settlement event summary system 110:
112: camera management unit 114: image format unit
120: Image analysis unit 130: Event management unit
140: video content analysis unit 142:
144: counter movement error compensating unit 150:
200: camera 300: database
400: User terminal

Claims (17)

매장의 카운터를 향해 촬영하여 생성된 카운터 영상을 카메라로부터 수신하여 영상 분석부로 송신하는 영상 관리부;
영상 관리부로부터 수신한 카운터 영상에서, 이동객체를 배경영상으로부터 분리하여 추출하고, 추출된 이동객체를 추적 처리하는 영상 분석부;
카운터 영상을, 사용자에 의해 미리 설정된 고객 영역, 종업원 영역 및 계산대 영역으로 분할하여 관리하는 이벤트 관리부;
영상 분석부에서 추적 처리된 이동객체가 이벤트 관리부에 의해 분할된 고객 영역 또는 종업원 영역 내에 존재하는지 체크하고, 상기 이동객체가 고객 영역 및 종업원 영역 내에 모두 존재하는 경우, 계산대 영역의 영상에서 움직임이 있는지 검출하고, 계산대 영역의 영상에서 움직임이 검출되면 해당 카운터 영상의 프레임은 고객-종업원 상호작용 이벤트가 발생한 것으로 기록하는 영상 내용 분석부; 및
상기 영상 내용 분석부에서 고객-종업원 상호작용 이벤트가 발생된 프레임을 데이터베이스에 저장하는 데이터 관리부; 를 포함하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 시스템.
A video management unit for receiving a counter image generated by shooting toward a counter of a store from a camera and transmitting the counter image to an image analysis unit;
An image analyzer for separating and extracting the moving object from the background image in the counter image received from the image managing unit and tracking the extracted moving object;
An event management unit that divides and manages the counter image into a customer area, an employee area, and a counter area preset by a user;
The moving image tracked by the image analyzing unit is checked whether the moving object exists in the customer area or the employee area divided by the event management unit and if the moving object exists in both the customer area and the employee area, And when a motion is detected in the image of the counter region, the frame of the corresponding counter image is recorded as the occurrence of a customer-employee interaction event; And
A data management unit for storing, in a database, a frame in which the customer-employee interaction event is generated in the image content analysis unit; Real - time settlement event summarization system using surveillance camera images.
제1항에 있어서, 상기 영상 관리부는,
카메라로부터 카운터 영상을 수신하는 카메라 관리부; 및
카메라 관리부가 수신한 카운터 영상을 RGB 이미지 데이터로 변환하여 영상 분석부로 송신하는 영상 포맷부; 를 포함하는 것을 특징으로 하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 시스템.
The image processing apparatus according to claim 1,
A camera management unit for receiving a counter image from a camera; And
An image format unit for converting the counter image received by the camera management unit into RGB image data and transmitting the RGB image data to the image analysis unit; Wherein the real-time settlement event summarization system uses the surveillance camera image.
제1항에 있어서,
상기 이벤트 관리부는, 카운터 영상 중 사용자에 의해 미리 설정된 금전등록기 영역에 해당하는 영상을 분할하여 관리하며,
상기 영상 내용 분석부는, 이벤트 관리부에 의해 분할된 금전등록기의 영상을 금전등록기가 개방된 상태인 기준 템플릿 영상과 비교하여, 그 유사도가 기 설정된 기준치 이상인 경우, 해당 카운터 영상의 프레임은 금전등록기 개방 이벤트가 발생한 것으로 기록하는 것을 특징으로 하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 시스템.
The method according to claim 1,
Wherein the event management unit divides and manages an image corresponding to a cash register area preset by a user among counter images,
The image content analyzing unit compares the image of the cash register divided by the event management unit with the reference template image of the open state of the cash register, and if the similarity is equal to or greater than a preset reference value, Is recorded as the occurrence of the real-time settlement event.
제1항에 있어서,
상기 이벤트 관리부는, 카운터 영상 중 사용자에 의해 미리 설정된 금전등록기 영역에 해당하는 영상을 분할하여 관리하며,
상기 영상 내용 분석부는, 이벤트 관리부에 의해 분할된 금전등록기의 영상에서, 기 설정된 움직임 방향 및 움직임 거리를 만족시키는 특징점들을 추출하고, 이 추출된 특징점들의 개수 및 평균 움직임 거리를 산출한 후, 특징점들의 개수가 기 설정된 개수 이상이고, 상기 평균 움직임 거리가 기 설정된 움직임 거리 이상이면, 해당 카운터 영상의 프레임은 금전등록기 개방 이벤트가 발생한 것으로 기록하는 것을 특징으로 하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 시스템.
The method according to claim 1,
Wherein the event management unit divides and manages an image corresponding to a cash register area preset by a user among counter images,
The image content analyzing unit extracts feature points that satisfy predetermined motion direction and motion distance from the image of the cash register divided by the event management unit, calculates the number of the extracted feature points and the average motion distance, When the number of frames is equal to or greater than a predetermined number and the average motion distance is equal to or greater than a preset motion distance, the frame of the corresponding counter image is recorded as a cash register open event.
제1항에 있어서,
상기 이벤트 관리부는, 카운터 영상 중 사용자에 의해 미리 설정된 카드영수증 영역에 해당하는 영상을 분할하여 관리하며,
상기 영상 내용 분석부는, 이벤트 관리부에 의해 분할된 카드영수증 영역의 영상을 카드 영수증이 미출력 상태인 기준 템플릿 영상과 비교하여, 그 유사도가 기 설정된 기준치 이하인 경우, 해당 카운터 영상의 프레임은 카드 결제 이벤트가 발생한 것으로 기록하는 것을 특징으로 하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 시스템.
The method according to claim 1,
The event management unit divides and manages an image corresponding to a card receipt area preset by a user among counter images,
The image content analyzing unit compares the image of the card receipt area divided by the event management unit with a reference template image in which the card receipt is in a low output state and if the similarity is not more than a preset reference value, And the real-time settlement event summary system using the surveillance camera image.
제1항에 있어서, 상기 영상 내용 분석부는,
계산대 영역의 영상에서 움직임을 검출하는 경우, 특정 프레임의 계산대 영역 영상에서 이전 프레임의 계산대 영역 영상을 뺀 프레임 차이 이미지를 다수 개의 서브 블록으로 분할하고, 각 서브 블록 내 개개의 픽셀에 대한 프레임 차이 이미지 밝기(즉, 프레임 차이 이미지 중 해당 픽셀의 밝기)는, 그 밝기값이 일정 수치보다 크면 해당 밝기값, 상기 일정 수치보다 작으면 0으로 처리하여 변경하고, 각 서브 블록 내 개개의 픽셀에 대한 변경된 프레임 차이 이미지 밝기의 평균값을 각 서브 블록의 밝기값으로 하고, 모든 서브 블록들의 각 밝기값의 평균값이 제1 임계치 이상인 경우, 상기 특정 프레임은 움직임이 있는 것으로 검출하는 계산대 움직임 검출부;를 포함하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 시스템.
The image processing apparatus according to claim 1,
A frame difference image obtained by subtracting a counting region image of a previous frame from an image of a counter region of a specific frame is divided into a plurality of sub-blocks, and a frame difference image The brightness (i.e., the brightness of the corresponding pixel in the frame difference image) is changed by processing the corresponding brightness value when the brightness value is larger than a certain value, or 0 when the brightness value is smaller than the predetermined value, And a counter movement detecting unit for detecting that the specific frame has motion when the average value of brightness of the frame difference image is a brightness value of each sub-block and the average value of each brightness value of all the sub-blocks is equal to or greater than a first threshold value Real - time settlement event summary system using camera images.
제6항에 있어서, 상기 영상 내용 분석부는,
상기 계산대 움직임 검출부에서 움직임이 있는 것으로 검출된 특정 프레임에 대해서, 그 특정 프레임 이전의 K개 프레임 구간에서의 움직임이 감지된 프레임 개수를 움직임이 감지되지 않은 프레임 개수로 나눈 값이 제2 임계치 이상인 경우, 최종적으로 상기 특정 프레임은 움직임이 있는 프레임으로 검출하고, 제2 임계치 이하인 경우 상기 특정 프레임은 움직임이 없는 프레임으로 검출하는 계산대 움직임 에러 보상부;를 더 포함하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 시스템.
The image processing apparatus according to claim 6,
If the value obtained by dividing the number of frames detected as the motion in the K frame periods before the specific frame by the number of frames in which no motion is detected is greater than or equal to the second threshold value for a specific frame detected as motion in the cash- And a calculation unit motion error compensator for detecting the specific frame as a motion frame and finally detecting the specific frame as a motionless frame if the specific frame is below a second threshold value. system.
제3항 또는 제4항에 있어서,
상기 이벤트 관리부는, 카운터 영상 중 사용자에 의해 미리 설정된 카드영수증 영역에 해당하는 영상을 분할하여 관리하며,
상기 영상 내용 분석부는, 이벤트 관리부에 의해 분할된 카드영수증 영역의 영상을 카드 영수증이 미출력 상태인 기준 템플릿 영상과 비교하여, 그 유사도가 기 설정된 기준치 이하인 경우, 해당 카운터 영상의 프레임은 카드 결제 이벤트가 발생한 것으로 기록하고,
상기 데이터 관리부는,
영상 분석부에서 이동 객체가 고객 영역 내에 존재하는 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 고객 존재 이벤트 식별자를 표기하여 데이터베이스에 저장하고,
영상 분석부에서 이동 객체가 종업원 영역 내에 존재하는 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 종업원 존재 이벤트 식별자를 표기하여 데이터베이스에 저장하고,
영상 분석부에서 고객-종업원 상호작용 이벤트가 발생한 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 고객-종업원 상호작용 이벤트 식별자를 표기하여 데이터베이스에 저장하고,
영상 분석부에서 금전등록기 개방 이벤트가 발생한 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 금전등록기 개방 이벤트 식별자를 표기하여 데이터베이스에 저장하고,
영상 분석부에서 카드 결제 이벤트가 발생한 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 카드 결제 이벤트 식별자를 표기하여 데이터베이스에 저장하는 것을 특징으로 하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 시스템.
The method according to claim 3 or 4,
The event management unit divides and manages an image corresponding to a card receipt area preset by a user among counter images,
The image content analyzing unit compares the image of the card receipt area divided by the event management unit with a reference template image in which the card receipt is in a low output state and if the similarity is not more than a preset reference value, Recorded,
The data management unit,
If it is determined that the moving object exists in the customer area in the image analysis unit, the customer presence event identifier is displayed in the frame of the corresponding counter image and is stored in the database,
If it is determined that the moving object exists in the employee area in the image analysis unit, the employee presence event identifier is written in the frame of the corresponding counter image and is stored in the database,
If it is determined that a customer-employee interaction event has occurred in the image analysis unit, the customer-employee interaction event identifier is displayed in the frame of the counter image and stored in the database,
If it is determined that the cash register open event has occurred in the image analysis unit, the cash register open event identifier is written in the frame of the counter image and stored in the database,
Wherein the card settlement event identifier is displayed in a frame of the counter image and stored in the database when the image analyzing unit determines that a card settlement event has occurred.
제8항에 있어서, 상기 데이터 관리부는,
데이터베이스에 저장된 카운터 영상에 관한 이벤트 식별자를 이용하여, 고객 존재 이벤트, 종업원 존재 이벤트, 고객-종업원 상호작용 이벤트, 금전등록기 개방 이벤트 및 카드 결제 이벤트들이 각 이벤트 종류별로 검색 및 분류 가능하도록 생성된 이벤트 이력 리스트를 사용자 단말기에 제공하여 주고, 사용자 단말기로부터 특정 이벤트가 선택되면 해당 이벤트에 해당하는 카운터 영상을 사용자 단말기에 제공하는 것을 특징으로 하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 시스템.
9. The data processing apparatus according to claim 8,
An event history generated so that the customer presence event, the employee presence event, the customer-employee interaction event, the cash register open event, and the card settlement events can be searched and classified for each event type, using the event identifier related to the counter image stored in the database Providing a list to the user terminal, and when a specific event is selected from the user terminal, providing a counter image corresponding to the selected event to the user terminal.
(a) 영상 관리부가, 매장의 카운터를 향해 촬영하여 생성된 카운터 영상을 카메라로부터 수신하여 영상 분석부로 송신하는 단계;
(b) 영상 분석부가, 영상 관리부로부터 수신한 카운터 영상에서, 이동객체를 배경영상으로부터 분리하여 추출하고, 추출된 이동객체를 추적 처리하는 단계;
(c) 영상 내용 분석부가, 영상 분석부에서 추적 처리된 이동객체가 이벤트 관리부에 의해 분할된 고객 영역 또는 종업원 영역 내에 존재하는지 체크하고, 상기 이동객체가 고객 영역 및 종업원 영역 내에 모두 존재하는 경우, 계산대 영역의 영상에서 움직임이 있는지 검출하고, 계산대 영역의 영상에서 움직임이 검출되면 해당 카운터 영상의 프레임은 고객-종업원 상호작용 이벤트가 발생한 것으로 기록하는 단계; 및
(d) 데이터 관리부가, 상기 영상 내용 분석부에서 고객-종업원 상호작용 이벤트가 발생된 프레임을 데이터베이스에 저장하는 단계; 를 포함하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 방법.
(a) receiving, from a camera, a counter image generated by capturing an image of a store toward a counter of a store, and transmitting the received counter image to a video analyzer;
(b) separating and extracting the moving object from the background image in the counter image received from the image managing unit, and tracing the extracted moving object;
(c) The image content analyzing unit checks whether a moving object tracked by the image analyzing unit exists in a customer area or an employee area divided by the event management unit. If the moving object exists in both the customer area and the employee area, Detecting whether there is movement in the image of the counter region, and recording a frame of the counter image as a customer-employee interaction event when a motion is detected in the image of the counter region; And
(d) storing, in the database, a frame in which the data management unit generates the customer-employee interaction event in the video content analysis unit; A method for summarizing real time settlement events using surveillance camera images.
제10항에 있어서, 상기 (c) 단계는,
영상 내용 분석부가, 이벤트 관리부에 의해 분할된 금전등록기의 영상을 금전등록기가 개방된 상태인 기준 템플릿 영상과 비교하여, 그 유사도가 기 설정된 기준치 이상인 경우, 해당 카운터 영상의 프레임은 금전등록기 개방 이벤트가 발생한 것으로 기록하는 것을 특징으로 하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 방법.
The method of claim 10, wherein the step (c)
The image content analyzing unit compares the image of the cash register divided by the event management unit with the reference template image in which the cash register is opened and if the similarity is equal to or greater than a preset reference value, Wherein the real-time settlement event summarization method records real-time settlement event summaries using surveillance camera images.
제10항에 있어서, 상기 (c) 단계는,
영상 내용 분석부가, 이벤트 관리부에 의해 분할된 금전등록기의 영상에서, 기 설정된 움직임 방향 및 움직임 거리를 만족시키는 특징점들을 추출하고, 이 추출된 특징점들의 개수 및 평균 움직임 거리를 산출한 후, 특징점들의 개수가 기 설정된 개수 이상이고, 상기 평균 움직임 거리가 기 설정된 움직임 거리 이상이면, 해당 카운터 영상의 프레임은 금전등록기 개방 이벤트가 발생한 것으로 기록하는 것을 특징으로 하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 방법.
The method of claim 10, wherein the step (c)
The image content analyzing unit extracts the feature points satisfying the predetermined movement direction and the motion distance from the image of the cash register divided by the event management unit, calculates the number of the extracted feature points and the average motion distance, When the average motion distance is equal to or greater than a predetermined number and the average motion distance is equal to or greater than a preset motion distance, the frame of the corresponding counter image is recorded as a cash register open event.
제10항에 있어서, 상기 (c) 단계는,
영상 내용 분석부가, 이벤트 관리부에 의해 분할된 카드영수증 영역의 영상을 카드 영수증이 미출력 상태인 기준 템플릿 영상과 비교하여, 그 유사도가 기 설정된 기준치 이하인 경우, 해당 카운터 영상의 프레임은 카드 결제 이벤트가 발생한 것으로 기록하는 것을 특징으로 하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 방법.
The method of claim 10, wherein the step (c)
The image content analyzing unit compares the image of the card receipt area divided by the event management unit with the reference template image in which the card receipt is not in the output state and if the similarity is equal to or less than a preset reference value, And recording the real time settlement event using the surveillance camera image.
제10항에 있어서, 상기 (c) 단계는,
(c1) 계산대 영역의 영상에서 움직임을 검출하는 경우, 특정 프레임의 계산대 영역 영상에서 이전 프레임의 계산대 영역 영상을 뺀 프레임 차이 이미지를 다수 개의 서브 블록으로 분할하고, 각 서브 블록 내 개개의 픽셀에 대한 프레임 차이 이미지 밝기(즉, 프레임 차이 이미지 중 해당 픽셀의 밝기)는, 그 밝기값이 일정 수치보다 크면 해당 밝기값, 상기 일정 수치보다 작으면 0으로 처리하여 변경하고, 각 서브 블록 내 개개의 픽셀에 대한 변경된 프레임 차이 이미지 밝기의 평균값을 각 서브 블록의 밝기값으로 하고, 모든 서브 블록들의 각 밝기값의 평균값이 제1 임계치 이상인 경우, 상기 특정 프레임은 움직임이 있는 것으로 검출하는 단계;를 포함하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 방법.
The method of claim 10, wherein the step (c)
(c1) dividing the frame difference image obtained by subtracting the counting region image of the previous frame from the counting region image of the specific frame, into a plurality of subblocks, The brightness of the frame difference image (i.e., the brightness of the corresponding pixel in the frame difference image) is changed by processing the corresponding brightness value if the brightness value is larger than a certain value, or 0 when the brightness value is smaller than the predetermined value, And determining that the specific frame has motion if the average value of the brightness values of all the subblocks is equal to or greater than the first threshold value Real - time settlement event summary method using surveillance camera images.
제14항에 있어서, 상기 (c) 단계는,
(c2) 상기 (c1) 단계에서 움직임이 있는 것으로 검출된 특정 프레임에 대해서, 그 특정 프레임 이전의 K개 프레임 구간에서의 움직임이 감지된 프레임 개수를 움직임이 감지되지 않은 프레임 개수로 나눈 값이 제2 임계치 이상인 경우, 최종적으로 상기 특정 프레임은 움직임이 있는 프레임으로 검출하고, 제2 임계치 이하인 경우 상기 특정 프레임은 움직임이 없는 프레임으로 검출하는 단계;를 포함하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 방법.
15. The method of claim 14, wherein step (c)
(c2) a value obtained by dividing the number of detected frames in K frames before the specific frame by the number of frames in which no motion is detected, for a specific frame detected as having motion in the step (c1) Detecting a specific frame as a frame in which motion is finally determined and detecting the specific frame as a motionless frame if the detected frame is below a second threshold; .
제11항 또는 제12항에 있어서,
상기 (c) 단계는,
영상 내용 분석부가, 이벤트 관리부에 의해 분할된 카드영수증 영역의 영상을 카드 영수증이 미출력 상태인 기준 템플릿 영상과 비교하여, 그 유사도가 기 설정된 기준치 이하인 경우, 해당 카운터 영상의 프레임은 카드 결제 이벤트가 발생한 것으로 기록하고,
상기 (d) 단계는,
데이터 관리부가, 영상 분석부에서 이동 객체가 고객 영역 내에 존재하는 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 고객 존재 이벤트 식별자를 표기하여 데이터베이스에 저장하고, 영상 분석부에서 이동 객체가 종업원 영역 내에 존재하는 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 종업원 존재 이벤트 식별자를 표기하여 데이터베이스에 저장하고, 영상 분석부에서 고객-종업원 상호작용 이벤트가 발생한 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 고객-종업원 상호작용 이벤트 식별자를 표기하여 데이터베이스에 저장하고, 영상 분석부에서 금전등록기 개방 이벤트가 발생한 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 금전등록기 개방 이벤트 식별자를 표기하여 데이터베이스에 저장하고, 영상 분석부에서 카드 결제 이벤트가 발생한 것으로 판단되는 경우, 해당 카운터 영상의 프레임에 카드 결제 이벤트 식별자를 표기하여 데이터베이스에 저장하는 것을 특징으로 하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 방법.
13. The method according to claim 11 or 12,
The step (c)
The image content analyzing unit compares the image of the card receipt area divided by the event management unit with the reference template image in which the card receipt is not in the output state and if the similarity is equal to or less than a preset reference value, ≪ / RTI >
The step (d)
If the data management unit determines that the moving object exists in the customer area, the data management unit stores the customer presence event identifier in the frame of the corresponding counter image and stores the same in the database, and if the moving object exists in the employee area An employee presence event identifier is displayed in a frame of the corresponding counter image and stored in the database, and when it is determined that a customer-employee interaction event has occurred in the image analysis unit, the customer- If the cash register open event is judged to have occurred in the image analysis unit, the cash register open event identifier is written in the frame of the counter image and stored in the database, If it is determined that the de billing event occurs, how to mark the card payment event identifier to a frame of the image counter SUMMARY real time billing event using a surveillance camera image, characterized in that for storing in the database.
제16항에 있어서,
(e) 상기 데이터 관리부가, 데이터베이스에 저장된 카운터 영상에 관한 이벤트 식별자를 이용하여, 고객 존재 이벤트, 종업원 존재 이벤트, 고객-종업원 상호작용 이벤트, 금전등록기 개방 이벤트 및 카드 결제 이벤트들이 각 이벤트 종류별로 검색 및 분류 가능하도록 생성된 이벤트 이력 리스트를 사용자 단말기에 제공하여 주고, 사용자 단말기로부터 특정 이벤트가 선택되면 해당 이벤트에 해당하는 카운터 영상을 사용자 단말기에 제공하는 단계; 를 더 포함하는 감시카메라 영상을 이용한 실시간 결제 이벤트 요약 방법.
17. The method of claim 16,
(e) The data management unit searches for a customer presence event, an employee presence event, a customer-employee interaction event, a cash register open event, and a card settlement event by each event type using an event identifier related to the counter image stored in the database Providing an event history list generated so as to be classifiable to a user terminal and providing a counter image corresponding to the selected event to a user terminal when a specific event is selected from the user terminal; The method comprising the steps of:
KR1020130108347A 2013-09-10 2013-09-10 System for a real-time cashing event summarization in surveillance images and the method thereof KR101513180B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130108347A KR101513180B1 (en) 2013-09-10 2013-09-10 System for a real-time cashing event summarization in surveillance images and the method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130108347A KR101513180B1 (en) 2013-09-10 2013-09-10 System for a real-time cashing event summarization in surveillance images and the method thereof

Publications (2)

Publication Number Publication Date
KR20150029324A KR20150029324A (en) 2015-03-18
KR101513180B1 true KR101513180B1 (en) 2015-04-17

Family

ID=53023841

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130108347A KR101513180B1 (en) 2013-09-10 2013-09-10 System for a real-time cashing event summarization in surveillance images and the method thereof

Country Status (1)

Country Link
KR (1) KR101513180B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170137350A (en) * 2016-06-03 2017-12-13 (주)싸이언테크 Apparatus and method for studying pattern of moving objects using adversarial deep generative model

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9967446B2 (en) 2015-09-09 2018-05-08 Itx-M2M Co., Ltd. Personalized shopping mall system using virtual camera
KR102191050B1 (en) * 2015-09-09 2020-12-14 주식회사 아이티엑스에이아이 Personalized shopping mall system using virtual camera
KR102499626B1 (en) * 2016-05-31 2023-02-14 한국전자통신연구원 Apparatus for interactive event recognition

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009267491A (en) 2008-04-22 2009-11-12 Tietech Co Ltd Monitoring system and event recording method
KR101285128B1 (en) 2013-05-08 2013-07-19 (주)리얼허브 Intelligent search robot for processing of image

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009267491A (en) 2008-04-22 2009-11-12 Tietech Co Ltd Monitoring system and event recording method
KR101285128B1 (en) 2013-05-08 2013-07-19 (주)리얼허브 Intelligent search robot for processing of image

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170137350A (en) * 2016-06-03 2017-12-13 (주)싸이언테크 Apparatus and method for studying pattern of moving objects using adversarial deep generative model
KR101925907B1 (en) 2016-06-03 2019-02-26 (주)싸이언테크 Apparatus and method for studying pattern of moving objects using adversarial deep generative model

Also Published As

Publication number Publication date
KR20150029324A (en) 2015-03-18

Similar Documents

Publication Publication Date Title
Cucchiara et al. Probabilistic posture classification for human-behavior analysis
US8761517B2 (en) Human activity determination from video
CN102831439B (en) Gesture tracking method and system
CN106164959B (en) Behavioral event measurement system and related method
EP2923304A1 (en) Method and system for counting people using depth sensor
Vezzani et al. Probabilistic people tracking with appearance models and occlusion classification: The ad-hoc system
KR20080021804A (en) Target detection and tracking from overhead video streams
Zin et al. Unattended object intelligent analyzer for consumer video surveillance
GB2408881A (en) Monitoring an environment to produce graphical output data representing events of interest
Chen et al. Anomaly detection in crowded scenes using motion energy model
CN113766330A (en) Method and device for generating recommendation information based on video
Gnouma et al. Abnormal events’ detection in crowded scenes
Woo et al. Environmentally robust motion detection for video surveillance
Simon et al. Visual event recognition using decision trees
KR101513180B1 (en) System for a real-time cashing event summarization in surveillance images and the method thereof
CN114708537A (en) Multi-view-angle-based system and method for analyzing abnormal behaviors of complex places
Nodehi et al. Multi-metric re-identification for online multi-person tracking
CN116419059A (en) Automatic monitoring method, device, equipment and medium based on behavior label
CN111798356A (en) Rail transit passenger flow abnormal pattern recognition method based on big data
Şaykol et al. Keyframe labeling technique for surveillance event classification
CN118097769A (en) Centrifugal pump operation intelligent detection method based on cloud end architecture
Shi et al. Saliency-based abnormal event detection in crowded scenes
CN111985331A (en) Detection method and device for preventing secret of business from being stolen
Wang et al. A classification method based on streak flow for abnormal crowd behaviors
Zhang et al. A Multiple Instance Learning and Relevance Feedback Framework for Retrieving Abnormal Incidents in Surveillance Videos.

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
FPAY Annual fee payment

Payment date: 20190410

Year of fee payment: 5