KR20220125716A - Event detection methods, devices, electronic devices, storage media and program products - Google Patents

Event detection methods, devices, electronic devices, storage media and program products Download PDF

Info

Publication number
KR20220125716A
KR20220125716A KR1020227018557A KR20227018557A KR20220125716A KR 20220125716 A KR20220125716 A KR 20220125716A KR 1020227018557 A KR1020227018557 A KR 1020227018557A KR 20227018557 A KR20227018557 A KR 20227018557A KR 20220125716 A KR20220125716 A KR 20220125716A
Authority
KR
South Korea
Prior art keywords
target object
event detection
event
pose
reliability
Prior art date
Application number
KR1020227018557A
Other languages
Korean (ko)
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 상하이 센스타임 인텔리전트 테크놀로지 컴퍼니 리미티드
Publication of KR20220125716A publication Critical patent/KR20220125716A/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
    • 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/44Event detection
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B66HOISTING; LIFTING; HAULING
    • B66BELEVATORS; ESCALATORS OR MOVING WALKWAYS
    • B66B23/00Component parts of escalators or moving walkways
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • 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/49Segmenting video sequences, i.e. computational techniques such as parsing or cutting the sequence, low-level clustering or determining units such as shots or scenes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/103Static body considered as a whole, e.g. static pedestrian or occupant recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition
    • G06V40/23Recognition of whole body movements, e.g. for sport training
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • Psychiatry (AREA)
  • Social Psychology (AREA)
  • Computing Systems (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Image Analysis (AREA)
  • Debugging And Monitoring (AREA)
  • Color Printing (AREA)

Abstract

본 발명은 이벤트 검출 방법, 장치, 전자 기기, 저장 매체 및 프로그램 제품에 관한 것으로서, 상기 이벤트 검출 방법은, 에스컬레이터의 비디오 스트림을 획득하는 단계; 상기 비디오 스트림에 대해 인체 검출을 수행하여, 상기 비디오 스트림에서의 타깃 대상이 위치하는 제1 영역을 결정하는 단계; 상기 제1 영역과 대응되는 제1 영역 이미지에 대해 포즈 인식을 수행하여, 상기 타깃 대상의 포즈 인식 결과를 얻는 단계 - 상기 포즈 인식 결과에는 상기 타깃 대상의 포즈가 이상 포즈인 신뢰도가 포함됨 - ; 및 상기 타깃 대상의 포즈 인식 결과에 따라, 상기 타깃 대상의 이벤트 검출 결과를 결정하는 단계를 포함한다.The present invention relates to an event detection method, apparatus, electronic device, storage medium and program product, the event detection method comprising: acquiring a video stream of an escalator; determining a first region in the video stream where a target object is located by performing human body detection on the video stream; performing pose recognition on a first area image corresponding to the first area to obtain a pose recognition result of the target object, wherein the pose recognition result includes reliability that the target pose is an abnormal pose; and determining an event detection result of the target target according to the pose recognition result of the target target.

Description

이벤트 검출 방법, 장치, 전자 기기, 저장 매체 및 프로그램 제품Event detection methods, devices, electronic devices, storage media and program products

관련 출원의 상호 참조Cross-referencing of related applications

본 출원은 2021년 3월 3일에 제출된 중국 출원 번호가 202110236981.X이고, 출원인이 상해 센스타임 스마트 테크놀로지 컴퍼니 리미티드이며, 발명의 명칭이 "이벤트 검출 방법 및 장치, 전자 기기 및 저장 매체"인 출원의 우선권을 주장하는 바, 상기 출원의 전부 내용은 인용을 통해 본 출원에 결합된다.This application has a Chinese application number 202110236981.X filed on March 3, 2021, the applicant is Shanghai SenseTime Smart Technology Company Limited, and the title of the invention is "Event Detection Method and Apparatus, Electronic Device and Storage Medium" The priority of the application is claimed, and the entire contents of the application are incorporated herein by reference.

본 발명은 컴퓨터 시각 기술 분야에 관한 것으로서, 특히 이벤트 검출 방법, 장치, 전자 기기, 저장 매체 및 프로그램 제품에 관한 것이다.The present invention relates to the field of computer vision technology, and more particularly to an event detection method, apparatus, electronic device, storage medium and program product.

경제의 발전 및 인프라 건설의 지속적인 개선에 따라, 에스컬레이터가 백화점, 오피스텔, 대중교통 등 시나리오에서의 적용도 점점 광범위해지고 있다. 에스컬레이터가 보행자한테 편의를 제공하는 동시에, 보행자는 에스컬레이터에서 예를 들어 넘어짐, 역행, 쪼그려 앉음 등과 같은 이상 동작을 함으로써 유발될 수 있는 이외 사고도 점점 관심을 불러일으킨다. 만약 에스컬레이터에서 이상 동작이 발생된 것을 제때에 검출하고, 경고하여 에스컬레이터의 작동을 제때에 정지시키지 못하면, 에스컬레이터에서의 보행자의 생명 재산 안전에 심각한 피해를 줄 수 있다.With the development of the economy and the continuous improvement of infrastructure construction, the application of escalators in scenarios such as department stores, officetels, and public transportation is also getting wider. While escalators provide convenience to pedestrians, pedestrians are increasingly interested in other accidents that may be caused by abnormal movements on the escalator such as, for example, falling, backing, squatting, and the like. If an abnormal operation in the escalator is not detected and warned in time to stop the operation of the escalator in time, it may seriously damage the life and property safety of pedestrians on the escalator.

본 발명은 이벤트 검출 방법, 장치, 전자 기기, 저장 매체 및 프로그램 제품을 제공한다.The present invention provides an event detection method, apparatus, electronic device, storage medium and program product.

본 발명의 일 측면에 따라서, 이벤트 검출 방법을 제공하고, 상기 이벤트 검출 방법은, 에스컬레이터의 비디오 스트림을 획득하는 단계; 상기 비디오 스트림에 대해 인체 검출을 수행하여, 상기 비디오 스트림에서의 타깃 대상이 위치하는 제1 영역을 결정하는 단계; 상기 제1 영역과 대응되는 제1 영역 이미지에 대해 포즈 인식을 수행하여, 상기 타깃 대상의 포즈 인식 결과를 얻는 단계 - 상기 포즈 인식 결과에는 상기 타깃 대상의 포즈가 이상 포즈인 신뢰도가 포함됨 - ; 및 상기 타깃 대상의 포즈 인식 결과에 따라, 상기 타깃 대상의 이벤트 검출 결과를 결정하는 단계를 포함한다.According to one aspect of the present invention, there is provided an event detection method, the event detection method comprising: acquiring a video stream of an escalator; determining a first region in the video stream where a target object is located by performing human body detection on the video stream; performing pose recognition on a first area image corresponding to the first area to obtain a pose recognition result of the target object, wherein the pose recognition result includes reliability that the target pose is an abnormal pose; and determining an event detection result of the target target according to the pose recognition result of the target target.

가능한 구현 형태에서, 상기 타깃 대상의 포즈 인식 결과에 따라, 상기 타깃 대상의 이벤트 검출 결과를 결정하는 단계는, 상기 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값보다 크거나 같은 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 발생으로 결정하는 단계를 포함한다.In a possible implementation form, the determining of the event detection result of the target object according to the pose recognition result of the target object includes: when the reliability of the target object at a current time is greater than or equal to a reliability threshold, the target object and determining that the event detection result is an abnormal event occurrence.

이런 형태를 통해, 타깃 대상이 이상 포즈일 때 이상 이벤트가 발생된 것을 직접 결정하여, 이벤트 검출의 실시간성을 향상시킬 수 있음으로써, 제때에 경고하여, 안전 사고 발생의 위험을 낮출 수 있다.Through this form, it is possible to directly determine that an abnormal event has occurred when the target object is in an abnormal pose, thereby improving the real-time of event detection, thereby providing timely warning and reducing the risk of safety accidents.

가능한 구현 형태에서, 상기 타깃 대상의 포즈 인식 결과에 따라, 상기 타깃 대상의 이벤트 검출 결과를 결정하는 단계는, 상기 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값보다 크거나 같고, 신뢰도가 상기 신뢰도 임계값보다 크거나 같은 제1 지속 기간이 활성화 시간보다 크거나 같은 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 발생으로 결정하는 단계를 포함한다.In a possible implementation form, the determining of the event detection result of the target object according to the pose recognition result of the target object includes: a reliability of the target object at a current time is greater than or equal to a reliability threshold value, and the reliability is equal to a reliability threshold value and determining that the event detection result of the target object is an abnormal event when the first duration greater than or equal to the threshold is greater than or equal to the activation time.

이런 형태를 통해, 타깃 대상이 이상 포즈이고 일정한 기간 동안 지속되는 경우, 이상 이벤트가 발생된 것을 결정함으로써, 단일 프레임 검출일 때 발생될 수 있는 오검출을 줄여서, 이벤트 검출의 정확성을 향상시킬 수 있다.Through this form, when the target object is in an abnormal pose and persists for a certain period of time, it is determined that an abnormal event has occurred, thereby reducing false detections that may occur during single-frame detection, thereby improving the accuracy of event detection. .

가능한 구현 형태에서, 상기 이벤트 검출 방법은, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트가 발생된 것인 경우, 제1 경고 정보를 송신하는 단계를 더 포함한다.In a possible implementation form, the event detection method further includes transmitting first warning information when the event detection result of the target object is that an abnormal event has occurred.

이런 형태를 통해, 이상 이벤트의 적시 경고를 구현하여, 안전사고 발생의 위험을 낮출 수 있다.Through this form, timely warning of abnormal events can be implemented, thereby reducing the risk of safety accidents.

가능한 구현 형태에서, 상기 이벤트 검출 방법은, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트가 발생된 것인 경우, 상기 타깃 대상의 검출 상태를 검출된 상태로 변경하는 단계; 상기 타깃 대상의 검출 상태는 검출된 상태이고, 상기 타깃 대상이 현재 시각에서의 신뢰도는 신뢰도 임계값보다 크거나 같으며, 신뢰도가 상기 신뢰도 임계값보다 크거나 같은 제2 지속 기간이 냉각 시간보다 큰 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 지속으로 결정하는 단계; 및 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 지속인 경우, 제2 경고 정보를 송신하는 단계를 더 포함한다.In a possible implementation form, the event detection method may include: changing a detection state of the target object to a detected state when the event detection result of the target object is that an abnormal event has occurred; The detection state of the target object is a detected state, the reliability of the target object at the current time is greater than or equal to a reliability threshold, and a second duration in which the reliability is greater than or equal to the reliability threshold is greater than the cooling time. in this case, determining that the event detection result of the target object is an abnormal event continuation; and transmitting second warning information when the event detection result of the target object is an abnormal event continuation.

이런 형태를 통해, 타깃 대상은 이상 포즈이고 냉각 시간에 도달한 경우, 이상 이벤트 지속으로 결정하여, 냉각 시간 간격으로 반복 경고함으로써, 에스컬레이터에 의해 작동되는 모니터링 기기 또는 에스컬레이터 작동을 책임지는 관련 인원한테 반복적으로 알려서, 관련 인원이 경고 정보를 관찰하지 못한 경우가 발생되는 것을 줄임으로써, 안전사고 발생의 위험을 낮출 수 있다.Through this form, if the target object is in an abnormal pose and the cooling time is reached, it is determined as an abnormal event continuation, repeatedly warning at the cooling time interval, repeatedly to the monitoring device operated by the escalator or the relevant personnel responsible for the operation of the escalator. By notifying this, it is possible to reduce the risk of safety accidents by reducing the occurrence of cases in which the relevant personnel fail to observe the warning information.

가능한 구현 형태에서, 상기 이벤트 검출 방법은, 상기 타깃 대상의 검출 상태가 상기 검출된 상태이고, 상기 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값보다 작으며, 신뢰도가 상기 신뢰도 임계값보다 작은 제3 지속 기간이 비활성화 시간보다 큰 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 종료로 결정하는 단계를 더 포함한다.In a possible implementation form, the event detection method includes: a first detection state of the target object is the detected state, a reliability of the target object at a current time is less than a reliability threshold, and a reliability of the target object is less than the reliability threshold. The method further includes determining that the event detection result of the target object is the end of the abnormal event when the 3 duration is greater than the inactivation time.

이런 형태를 통해, 타깃 대상은 이상 포즈가 아니고 비활성화 시간에 도달한 경우, 이상 이벤트 종료로 결정함으로써, 이벤트 검출의 전체 처리 흐름을 완료할 수 있다.Through this form, when the target object is not in an abnormal pose and the inactivation time is reached, it is determined as an abnormal event end, thereby completing the entire processing flow of event detection.

가능한 구현 형태에서, 상기 제1 영역과 대응되는 제1 영역 이미지를 결정하는 단계는, 기설정된 확장 계수에 따라, 상기 제1 영역에 대해 확장을 수행하여, 제2 영역을 얻는 단계; 및 상기 비디오 스트림의 비디오 프레임에서 상기 제2 영역의 이미지를 잘라내어, 상기 제1 영역 이미지를 얻는 단계를 포함한다.In a possible implementation form, the determining of the first region image corresponding to the first region may include: performing expansion on the first region according to a preset expansion coefficient to obtain a second region; and cropping the image of the second region from the video frame of the video stream to obtain the image of the first region.

이런 형태를 통해, 포즈 인식 네트워크의 분류기 성능을 향상시키고, 후속 포즈 인식의 정확도를 향상시킬 수 있다.Through this form, the classifier performance of the pose recognition network can be improved, and the accuracy of subsequent pose recognition can be improved.

가능한 구현 형태에서, 상기 제1 영역과 대응되는 제1 영역 이미지에 대해 포즈 인식을 수행하는 단계는, 포즈 인식 네트워크를 통해 상기 제1 영역과 대응되는 제1 영역 이미지에 대해 포즈 인식을 수행하는 단계를 포함하고; 상기 이벤트 검출 방법은, 기설정된 훈련 집합에 따라 훈련하여 상기 포즈 인식 네트워크를 얻는 단계 - 상기 훈련 집합에서 샘플 이미지에 의해 태깅된 대상 포즈에는 이상 포즈, 정상 포즈 및 다른 포즈가 포함되며, 상기 다른 포즈에는 정상 포즈 및 이상 포즈를 제외한 포즈가 포함됨 - 를 더 포함한다.In a possible implementation form, the performing pose recognition on the first region image corresponding to the first region includes: performing pose recognition on the first region image corresponding to the first region through a pose recognition network comprising; The event detection method includes: training according to a preset training set to obtain the pose recognition network; in the training set, target poses tagged by sample images include abnormal poses, normal poses, and other poses, and the other poses include: includes poses excluding normal poses and abnormal poses.

이런 형태를 통해, 포즈 인식의 로버스트를 향상시키고, 포즈 인식의 정확도를 향상시킬 수 있다.Through this form, it is possible to improve the robustness of the pose recognition and improve the accuracy of the pose recognition.

가능한 구현 형태에서, 상기 이상 이벤트는 쪼그려 앉음 이벤트를 포함한다.In a possible implementation form, the abnormal event comprises a squat event.

본 발명의 일 측면에 따라서, 이벤트 검출 장치를 제공하고, 상기 이벤트 검출 장치는, 에스컬레이터의 비디오 스트림을 획득하도록 구성되는 비디오 스트림 획득 부분; 상기 비디오 스트림에 대해 인체 검출을 수행하여, 상기 비디오 스트림에서의 타깃 대상이 위치하는 제1 영역을 결정하도록 구성되는 영역 결정 부분; 상기 제1 영역과 대응되는 제1 영역 이미지에 대해 포즈 인식을 수행하여, 상기 타깃 대상의 포즈 인식 결과를 얻도록 구성되는 포즈 인식 부분 - 상기 포즈 인식 결과에는 상기 타깃 대상의 포즈가 이상 포즈인 신뢰도가 포함됨 - ; 및 상기 타깃 대상의 포즈 인식 결과에 따라, 상기 타깃 대상의 이벤트 검출 결과를 결정하도록 구성되는 이벤트 검출 부분을 포함한다.According to one aspect of the present invention, there is provided an event detecting apparatus, the event detecting apparatus comprising: a video stream obtaining part, configured to obtain a video stream of an escalator; a region determining portion configured to perform human body detection on the video stream to determine a first region in the video stream where a target object is located; A pose recognition part configured to obtain a pose recognition result of the target object by performing pose recognition on a first area image corresponding to the first area - Reliability that the pose of the target object is an abnormal pose in the pose recognition result contains - ; and an event detection part, configured to determine an event detection result of the target object according to the pose recognition result of the target object.

가능한 구현 형태에서, 상기 이벤트 검출 부분은 또한, 상기 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값보다 크거나 같은 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 발생으로 결정하도록 구성된다.In a possible implementation form, the event detection part is further configured to determine that the event detection result of the target object is an abnormal event occurrence, when the reliability of the target object at the current time is greater than or equal to a reliability threshold value.

가능한 구현 형태에서, 상기 이벤트 검출 부분은 또한, 상기 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값보다 크거나 같고, 신뢰도가 상기 신뢰도 임계값보다 크거나 같은 제1 지속 기간이 활성화 시간보다 크거나 같은 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 발생으로 결정하도록 구성된다.In a possible implementation form, the event detection part is further configured that the target object has a confidence at a current time greater than or equal to a confidence threshold, and a first duration in which the confidence is greater than or equal to the confidence threshold is greater than an activation time, or In the same case, the event detection result of the target object is configured to determine that an abnormal event occurs.

가능한 구현 형태에서, 상기 이벤트 검출 장치는, 상기 타깃 대상의 이벤트 검출 결과가 이상 이벤트가 발생된 것인 경우, 제1 경고 정보를 송신하도록 구성되는 제1 경고 부분을 더 포함한다.In a possible implementation form, the event detection device further includes a first warning part configured to transmit first warning information when the event detection result of the target object is that an abnormal event has occurred.

가능한 구현 형태에서, 상기 이벤트 검출 장치는, 상기 타깃 대상의 이벤트 검출 결과가 이상 이벤트가 발생된 것인 경우, 상기 타깃 대상의 검출 상태를 검출된 상태로 변경하도록 구성되는 상태 변경 부분을 더 포함하고, 상기 이벤트 검출 부분은 또한, 상기 타깃 대상이 현재 시각에서의 신뢰도는 신뢰도 임계값보다 크거나 같으며, 신뢰도가 상기 신뢰도 임계값보다 크거나 같은 제2 지속 기간이 냉각 시간보다 큰 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 지속으로 결정하도록 구성되고; 상기 이벤트 검출 장치는, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 지속인 경우, 제2 경고 정보를 송신하도록 구성되는 제1 경고 부분을 더 포함한다.In a possible implementation form, the event detection device further includes a state change part configured to change the detection state of the target object to the detected state when the event detection result of the target object is that an abnormal event has occurred, , the event detection part is further configured to include, when the reliability of the target object at the current time is greater than or equal to a reliability threshold, and a second duration in which the reliability is greater than or equal to the reliability threshold is greater than a cooling time, the target the event detection result of the subject is configured to determine that the abnormal event persists; The event detection apparatus further includes a first warning part configured to transmit second warning information when the event detection result of the target object is an abnormal event continuation.

가능한 구현 형태에서, 상기 이벤트 검출 부분은 또한, 상기 타깃 대상의 검출 상태가 상기 검출된 상태이고, 상기 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값보다 작으며, 신뢰도가 상기 신뢰도 임계값보다 작은 제3 지속 기간이 비활성화 시간보다 큰 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 종료로 결정하도록 구성된다.In a possible implementation form, the event detection part further comprises: the detection state of the target object is the detected state, the reliability of the target object at a current time is less than a reliability threshold, and the reliability is less than the reliability threshold. and when the third duration is greater than the inactivation time, the event detection result of the target object is configured to determine that the abnormal event ends.

가능한 구현 형태에서, 상기 이벤트 검출 장치는, 기설정된 확장 계수에 따라, 상기 제1 영역에 대해 확장을 수행하여, 제2 영역을 얻도록 구성되는 확장 부분; 및 상기 비디오 스트림의 비디오 프레임에서 상기 제2 영역의 이미지를 잘라내어, 상기 제1 영역 이미지를 얻도록 구성되는 크롭 부분을 더 포함한다.In a possible implementation form, the event detection apparatus may include: an expansion part configured to perform expansion on the first area according to a preset expansion coefficient to obtain a second area; and a cropping portion, configured to crop the image of the second region from the video frame of the video stream to obtain the image of the first region.

가능한 구현 형태에서, 상기 포즈 인식 부분은 또한, 포즈 인식 네트워크를 통해 상기 제1 영역과 대응되는 제1 영역 이미지에 대해 포즈 인식을 수행하도록 구성되고; 상기 이벤트 검출 장치는, 기설정된 훈련 집합에 따라 훈련하여 상기 포즈 인식 네트워크를 얻도록 구성되는 훈련 부분 - 상기 훈련 집합에서 샘플 이미지에 의해 태깅된 대상 포즈에는 이상 포즈, 정상 포즈 및 다른 포즈가 포함되며, 상기 다른 포즈에는 정상 포즈 및 이상 포즈를 제외한 포즈가 포함됨 - 을 더 포함한다.In a possible implementation form, the pose recognition part is further configured to perform pose recognition on a first area image corresponding to the first area through a pose recognition network; wherein the event detection device includes a training part, configured to obtain the pose recognition network by training according to a preset training set, wherein the target pose tagged by the sample image in the training set includes an abnormal pose, a normal pose and another pose; , the other poses include poses other than normal poses and abnormal poses.

가능한 구현 형태에서, 상기 이상 이벤트는 쪼그려 앉음 이벤트를 포함한다.In a possible implementation form, the abnormal event comprises a squat event.

본 발명의 일 측면에 따라서, 전자 기기를 제공하고, 상기 전자 기기는, 프로세서; 및 프로세서가 실행 가능한 명령어를 저장하도록 구성된 메모리를 포함하며; 여기서, 상기 프로세서는 상기 메모리에 저장된 명령어를 호출하여, 상기 이벤트 검출 방법을 실행하도록 구성된다.According to one aspect of the present invention, there is provided an electronic device, the electronic device comprising: a processor; and a memory configured to store instructions executable by the processor; Here, the processor is configured to execute the event detection method by calling the instruction stored in the memory.

본 발명의 일 측면에 따라, 컴퓨터 프로그램 명령어가 저장된 컴퓨터 판독 가능 저장 매체를 제공하고, 상기 컴퓨터 프로그램 명령어가 프로세서에 의해 수행될 때 상기 이벤트 검출 방법을 구현한다.According to an aspect of the present invention, there is provided a computer-readable storage medium storing computer program instructions, and when the computer program instructions are executed by a processor, the event detection method is implemented.

본 발명의 일 측면에 따라서, 컴퓨터 판독 가능 코드를 포함하는 컴퓨터 프로그램 제품을 제공하고, 컴퓨터 판독 가능 코드가 기기에서 작동되는 경우, 기기에서의 프로세서는 상기 이벤트 검출 방법을 구현하기 위한 명령어를 실행한다.According to one aspect of the present invention, there is provided a computer program product comprising computer readable code, wherein when the computer readable code is operated in a device, a processor in the device executes instructions for implementing the event detection method .

본 발명의 실시예에 따라, 비디오 스트림에서 대상이 위치하는 영역을 검출하고; 상기 영역의 이미지에 대해 인식을 수행함으로써 대상의 포즈를 결정할 수 있으며; 대상의 포즈에 따라 이벤트 검출 결과를 결정하여, 이벤트 검출의 정확도를 향상시킴으로써, 이외 사고 발생 확률을 낮추고, 인력 검출의 비용을 줄일 수 있다.According to an embodiment of the present invention, detecting an area in a video stream where an object is located; determine the pose of the subject by performing recognition on the image of the region; By determining the event detection result according to the pose of the target, and improving the accuracy of event detection, it is possible to lower the probability of other accidents and reduce the cost of manpower detection.

이해해야 할 것은, 이상의 일반적인 설명 및 아래의 세부적인 설명은 다만 예시적 및 해석적인 것일 뿐이고, 본 발명을 한정하려는 것은 아니다. 아래 참조 도면이 예시적 실시예에 대한 상세한 설명에 따라, 본 발명의 다른 특징 및 측면은 명확해진다.It should be understood that the above general description and the detailed description below are merely exemplary and interpretative, and are not intended to limit the present invention. Other features and aspects of the present invention become apparent when the following reference drawings are detailed descriptions of exemplary embodiments.

본 발명의 실시예의 기술 방안을 더욱 명확하게 설명하기 위해, 아래에 실시예에서 사용하게 될 도면에 대해 간단히 설명하고, 여기서 도면은 명세서에 통합되어 본 명세서의 일부를 구성하며, 이러한 도면은 본 발명에 부합되는 실시예를 도시하고, 명세서와 함께 본 발명의 기술 방안을 설명하기 위한 것이다. 이해해야 할 것은, 아래의 도면은 다만 본 발명의 일부 실시예를 도시하였을 뿐이기에, 범위에 대한 한정으로 간주되어서는 안되며, 본 분야의 통상적 기술자는, 창조성 노동을 부여하지 않는 전제하에서도, 이러한 도면에 따라 다른 관련된 도면을 획득할 수 있다.
도 1은 본 발명의 실시예에 따라 도시된 이벤트 검출 방법의 흐름도이다.
도 2a는 본 발명의 실시예에 따라 도시된 타깃 대상의 검출 상태 변화의 예시도이다.
도 2b는 본 발명의 실시예에서 제공하는 이벤트 검출 방법의 흐름 프레임 예시도이다.
도 3은 본 발명의 실시예에 따라 도시된 이벤트 검출 장치의 블록도이다.
도 4는 본 발명의 실시예에 따라 도시된 전자 기기의 블록도이다.
도 5는 본 발명의 실시예에 따라 도시된 다른 전자 기기의 블록도이다.
In order to more clearly explain the technical solutions of the embodiments of the present invention, the drawings to be used in the embodiments will be briefly described below, wherein the drawings are incorporated in and constitute a part of the specification, and these drawings represent the present invention. It shows an embodiment conforming to the above, and is intended to explain the technical solution of the present invention together with the specification. It should be understood that the drawings below only show some embodiments of the present invention and should not be regarded as limiting in scope, and those of ordinary skill in the art would appreciate these drawings, even under the premise that creative labor is not imparted. It is possible to obtain other related drawings according to
1 is a flowchart of an event detection method shown according to an embodiment of the present invention.
2A is an exemplary diagram illustrating a change in a detection state of a target object according to an embodiment of the present invention.
2B is an exemplary flow frame diagram of an event detection method provided in an embodiment of the present invention.
3 is a block diagram of an event detection apparatus according to an embodiment of the present invention.
4 is a block diagram of an electronic device according to an embodiment of the present invention.
5 is a block diagram of another electronic device shown according to an embodiment of the present invention.

아래에 도면을 참조하여 본 발명의 다양한 예시적 실시예, 특징 및 측면을 상세하게 설명한다. 도면에서 동일한 도면 표시는 기능이 동일하거나 유사한 구성 요소를 나타낸다. 비록 실시예의 다양한 측면이 도면에서 도시되었지만, 특별히 지적하지 않는 한, 비례대로 제도될 필요는 없다.Various exemplary embodiments, features and aspects of the present invention will be described in detail below with reference to the drawings. In the drawings, the same reference numerals indicate components having the same or similar functions. Although various aspects of the embodiments are illustrated in the drawings, they need not be drawn to scale unless specifically indicated.

여기서 전문적으로 사용되는 "예시적"이란 단어는 "예, 실시예 또는 설명적인 것으로 사용됨"을 의미한다. 여기서 "예시적"으로 설명된 임의의 실시예는 다른 실시예보다 더 우수하거나 좋은 것으로 해석될 필요는 없다.As used herein, the word “exemplary” means “used as an example, embodiment, or descriptive”. Any embodiment described herein as “exemplary” is not necessarily to be construed as superior or superior to another embodiment.

본 명세서에서 용어 "및/또는"은 다만 연관 대상의 연관 관계를 설명하는 것이고, 세 가지 관계가 존재할 수 있음을 나타내며, 예를 들어, A 및/또는 B는, A가 단독적으로 존재, A 및 B가 동시에 존재, B가 단독적으로 존재하는 세 가지 상황을 나타낼 수 있다. 또한, 본문에서 용어 "적어도 하나"는 복수에서의 어느 하나 또는 복수에서의 적어도 두 개 중의 어느 하나의 조합을 나타내고, 예를 들어, A, B 및 C 중 적어도 하나를 포함하는 것은, A, B, C로 구성된 집합에서 선택된 어느 하나 또는 복수 개의 요소를 포함하는 것을 나타낼 수 있다.As used herein, the term "and/or" merely describes the association of the associated object, and indicates that three relationships may exist, for example, A and/or B, where A exists alone, A and There are three situations in which B exists simultaneously and B exists alone. In addition, the term "at least one" in the text indicates any one in the plural or the combination of any one of at least two in the plural, for example, including at least one of A, B and C is, A, B , C may indicate including any one or a plurality of elements selected from the set.

또한, 본 발명을 더욱 잘 설명하기 위해, 아래의 구체적 실시 형태에서 수많은 구체적 세부 사항을 제공한다. 본 분야의 기술자는 일부 구체적 세부 사항이 없더라도, 본 발명은 마찬가지로 실시될 수 있음을 이해해야 한다. 일부 실제의 예에 있어서, 본 발명의 요지가 부각되도록 본 분야의 기술자들이 익숙한 방법, 수단, 구성 요소 및 회로에 대해서는 상세한 설명을 하지 않는다.Furthermore, in order to better illustrate the present invention, numerous specific details are provided in the specific embodiments that follow. A person skilled in the art should understand that the present invention may be practiced without some specific details. In some practical instances, detailed descriptions of methods, means, components, and circuits that are familiar to those skilled in the art are not described in order to highlight the subject matter of the present invention.

본 발명의 실시예의 이벤트 검출 방법에 따라, 백화점, 오피스텔, 대중교통 등 시나리오에 적용될 수 있고, 딥 러닝의 방법에 기반하여, 시나리오에서 에스컬레이터가 위치하는 영역의 비디오 스트림에 대해 처리 및 분석을 수행함으로써, 대상(예를 들어 보행자)에 발생되는 이상 이벤트 (예를 들어 넘어짐, 역행, 쪼그려 앉음 등)를 실시간 모니터링하며, 에스컬레이터에서 이상 이벤트가 발생된 영역을 포지셔닝하고 적시에 경고하여, 에스컬레이터의 작동을 정지함으로써, 안전 사고 발생의 위험을 낮출 수 있다.According to the event detection method of the embodiment of the present invention, it can be applied to scenarios such as department stores, officetels, public transportation, etc., and based on the method of deep learning, by performing processing and analysis on the video stream of the area where the escalator is located in the scenario , real-time monitoring of abnormal events (e.g., falling, backing, squatting, etc.) occurring on objects (e.g. pedestrians) By stopping, the risk of safety accidents can be lowered.

도 1은 본 발명의 실시예에 따라 도시된 이벤트 검출 방법의 흐름도이고, 도 1에 도시된 바와 같이, 상기 이벤트 검출 방법은 하기 단계를 포함한다.1 is a flowchart of an event detection method illustrated in accordance with an embodiment of the present invention, and as illustrated in FIG. 1 , the event detection method includes the following steps.

단계 S11에 있어서, 에스컬레이터의 비디오 스트림을 획득한다.In step S11, the video stream of the escalator is obtained.

단계 S12에 있어서, 상기 비디오 스트림에 대해 인체 검출을 수행하여, 상기 비디오 스트림에서의 타깃 대상이 위치하는 제1 영역을 결정한다.In step S12, human body detection is performed on the video stream to determine a first area in which a target object is located in the video stream.

단계 S13에 있어서, 상기 제1 영역과 대응되는 제1 영역 이미지에 대해 포즈 인식을 수행하여, 상기 타깃 대상의 포즈 인식 결과를 얻고, 상기 포즈 인식 결과에는 상기 타깃 대상의 포즈가 이상 포즈인 신뢰도가 포함된다.In step S13, pose recognition is performed on the image of the first area corresponding to the first area to obtain a pose recognition result of the target object, and the pose recognition result has a reliability that the pose of the target object is an abnormal pose. Included.

단계 S14에 있어서, 상기 타깃 대상의 포즈 인식 결과에 따라, 상기 타깃 대상의 이벤트 검출 결과를 결정한다.In step S14, an event detection result of the target object is determined according to the pose recognition result of the target object.

가능한 구현 형태에서, 상기 이벤트 검출 방법은 단말 기기 또는 서버 등 전자 기기에 의해 실행될 수 있고, 단말 기기는 핸드폰(Mobile Phone), 태블릿 컴퓨터(Pad), 무선 송수신 기능을 구비한 컴퓨터, 팜탑 컴퓨터, 데스크탑, 개인용 정보 단말기, 휴대용 미디어 플레이어, 스마트 스피커, 내비게이션 장치, 스마트 워치, 스마트 안경, 스마트 목걸이 등 웨어러블 기기, 만보기, 디지털 TV, 가상현실(VirtualReality, VR) 단말 기기, 증강 현실(Augmented Reality, AR) 단말 기기, 산업 제어(Industrial Control)에서의 무선 단말, 자율 주행(Self Driving)에서의 무선 단말, 원격 수술(Remote Medical Surgery)에서의 무선 단말, 스마트그리드(Smart Grid)에서의 무선 단말, 운송 안전(Transportation Safety)에서의 무선 단말, 스마트시티(Smart City)에서의 무선 단말, 스마트홈(Smart Home)에서의 무선 단말, 차량 인터넷 시스템에서의 차량, 차량 탑재 기기, 차량 탑재 모듈 중 하나일 수 있으며, 상기 이벤트 검출 방법은 프로세서가 메모리에 저장된 컴퓨터 판독 가능 명령어를 호출하는 형태를 통해 구현될 수 있다. 또는, 서버를 통해 상기 이벤트 검출 방법을 실행할 수 있다.In a possible implementation form, the event detection method may be executed by an electronic device such as a terminal device or a server, and the terminal device is a mobile phone, a tablet computer (Pad), a computer having a wireless transmission/reception function, a palmtop computer, and a desktop computer. , personal information terminal, portable media player, smart speaker, navigation device, smart watch, smart glasses, smart necklace, wearable device, pedometer, digital TV, virtual reality (VR) terminal device, augmented reality (AR) Terminal device, wireless terminal in Industrial Control, wireless terminal in Self Driving, wireless terminal in Remote Medical Surgery, wireless terminal in Smart Grid, transportation safety It may be one of a wireless terminal in (Transportation Safety), a wireless terminal in a smart city, a wireless terminal in a smart home, a vehicle in a vehicle Internet system, a vehicle-mounted device, and a vehicle-mounted module. , the event detection method may be implemented through a form in which a processor calls a computer readable instruction stored in a memory. Alternatively, the event detection method may be executed through the server.

예를 들어, 검출될 에스컬레이터가 위치하는 위치에 예를 들어 에스컬레이터를 향한 카메라와 같은 적어도 하나의 이미지 수집 기기를 설치하여, 에스컬레이터의 비디오 스트림을 수집하고, 비디오 스트림 화면에서 에스컬레이터에 탑승한 대상(예를 들어 보행자)에 대해 검출을 수행할 수 있다. 본 발명은 이미지 수집 장치의 설치 위치, 비디오 스트림의 수집 형태 및 비디오 스트림에 대응되는 구체적 영역에 대해 모두 한정하지 않는다.For example, at the location where the escalator to be detected is located, for example, by installing at least one image acquisition device such as a camera facing the escalator, the video stream of the escalator is collected, and the object riding on the escalator (e.g., For example, pedestrians) can be detected. The present invention is not limited to the installation location of the image acquisition device, the collection type of the video stream, and the specific area corresponding to the video stream.

가능한 구현 형태에서, 단계 S11에 있어서, 에스컬레이터의 비디오 스트림을 획득하고, 예를 들어 이미지 수집 기기에 의해 업로드된 비디오 스트림을 수신하며; 수집된 비디오 스트림에 대해 디코딩을 수행하여, 디코딩된 비디오 스트림(이미지 스트림으로 지칭될 수도 있음)을 얻을 수 있다.In a possible implementation form, in step S11, a video stream of the escalator is obtained, for example, a video stream uploaded by an image collecting device is received; Decoding may be performed on the collected video stream to obtain a decoded video stream (which may also be referred to as an image stream).

가능한 구현 형태에서, 단계 S12에 있어서, 디코딩된 비디오 스트림에 대해 인체 검출을 수행하여, 비디오 스트림의 각 비디오 프레임에서의 인체 박스를 결정하고; 각 비디오 프레임에서의 인체 박스에 대해 추적을 수행하여, 동일한 신원에 속하는 보행자(타깃 대상으로 지칭될 수 있음)의 인체 박스를 결정하며, 즉 비디오 스트림에서 타깃 대상이 위치하는 제1 영역을 결정할 수 있다.In a possible implementation form, in step S12, performing human body detection on the decoded video stream to determine a human body box in each video frame of the video stream; Tracking can be performed on the body box in each video frame to determine the body box of a pedestrian (which may be referred to as a target object) belonging to the same identity, i.e. the first area in the video stream where the target object is located. have.

여기서, 인체 검출의 형태는 예를 들어 인체 키포인트 인식, 인체 윤곽 검출 등일 수 있고; 인체 추적의 형태는, 예를 들어 인접한 비디오 프레임에서 인체 박스의 교차 결합 비율에 따라, 동일한 신원에 속하는 대상을 결정하는 것일 수 있다. 본 분야의 기술자는, 관련 기술에서의 어느 한 형태를 사용하여 인체 검출 및 추적을 구현할 수 있는 것을 이해해야 하고, 본 발명은 이에 대해 한정하지 않는다.Here, the form of human body detection may be, for example, human key point recognition, human body contour detection, and the like; The form of body tracking may be to determine objects belonging to the same identity, for example, according to a cross-linking ratio of body boxes in adjacent video frames. Those skilled in the art should understand that human body detection and tracking can be implemented using any one form in the related art, but the present invention is not limited thereto.

가능한 구현 형태에서, 비디오 스트림의 각 비디오 프레임에 대해 인체 검출 및 추적을 수행할 수 있고; 일정한 시간 간격으로 비디오 스트림에 대해 샘플링하여, 샘플링된 비디오 프레임에 대해 인체 검출 및 추적을 수행할 수도 있으며; 비디오 스트림에서의 키 프레임을 획득하여, 키 프레임에 대해 인체 검출 및 추적을 수행할 수도 있다. 본 발명은 이에 대해 한정하지 않는다.In a possible implementation form, it is possible to perform human body detection and tracking for each video frame of the video stream; may sample the video stream at regular time intervals to perform human body detection and tracking on the sampled video frames; It is also possible to obtain a key frame in a video stream, and perform human body detection and tracking on the key frame. The present invention is not limited thereto.

가능한 구현 형태에서, 제1 영역은 인체 박스(관심 영역(Region of Interest, ROI)으로 지칭될 수도 있음)의 좌측 상단(x1, y1) 및 우측 하단 정점 좌표(x2, y2) 및 상기 타깃 대상의 추적 식별자(Identify, ID)로 나타낼 수 있고, 본 발명은 제1 영역의 표시 형태에 대해 한정하지 않는다.In a possible implementation form, the first region is the upper left (x1, y1) and lower right vertex coordinates (x2, y2) of the anatomical box (which may also be referred to as Region of Interest (ROI)) and the coordinates of the target object. It can be represented by a tracking identifier (Identify, ID), and the present invention is not limited to the display form of the first area.

가능한 구현 형태에서, 각 비디오 프레임에서 제1 영역과 대응되는 제1 영역 이미지를 잘라내고, 단계 S13에 있어서, 이미 훈련된 포즈 인식 네트워크를 통해 제1 영역 이미지에 대해 포즈 인식을 수행하여, 타깃 대상의 포즈 인식 결과를 얻을 수 있다. 상기 포즈 인식 네트워크는 예를 들어 컨볼루션 신경 네트워크일 수 있고, 본 발명은 포즈 인식 네트워크의 구체적 네트워크 구조 및 훈련 형태에 대해 모두 한정하지 않는다.In a possible implementation form, a first region image corresponding to the first region is cut out from each video frame, and in step S13, pose recognition is performed on the first region image through an already trained pose recognition network, so that the target object of pose recognition results. The pose recognition network may be, for example, a convolutional neural network, and the present invention does not limit the specific network structure and training form of the pose recognition network.

가능한 구현 형태에서, 후속 처리에서 이상 이벤트 발생 여부를 판단하기 위해 포즈 인식 결과는 타깃 대상의 포즈가 이상 포즈인 신뢰도를 포함한다. 여기서, 포즈 인식 결과는 타깃 대상의 포즈가 정상 포즈인 신뢰도, 정상 포즈 및 이상 포즈를 제외한 다른 포즈인 신뢰도 등을 포함할 수도 있고, 본 발명은 포즈 인식 결과의 구체적 내용에 대해 한정하지 않는다.In a possible implementation form, in order to determine whether or not an abnormal event occurs in a subsequent processing, the pose recognition result includes the confidence that the pose of the target object is an abnormal pose. Here, the pose recognition result may include the reliability that the pose of the target object is a normal pose, the reliability that the pose is other than the normal pose and the abnormal pose, and the like, and the present invention does not limit the specific content of the pose recognition result.

가능한 구현 형태에서, 이상 포즈는 예를 들어 쪼그려 앉음 포즈, 넘어짐 포즈 등일 수 있고; 정상 포즈는 예를 들어 서있는 포즈일 수 있으며; 다른 포즈는 누움, 엎드림 등 포즈 또는 포즈가 인식되지 않는 경우를 포함한다. 본 발명은 다양한 포즈의 구체적 카테고리에 대해 한정하지 않는다.In a possible implementation form, the abnormal pose may be, for example, a squat pose, a fall pose, and the like; The normal pose may be, for example, a standing pose; Other poses include a pose or a case in which a pose is not recognized, such as lying down or lying face down. The present invention is not limited to specific categories of various poses.

가능한 구현 형태에서, 단계 S14에 있어서, 상기 타깃 대상의 포즈 인식 결과에 따라, 상기 타깃 대상의 이벤트 검출 결과를 결정할 수 있다. 이벤트 검출 결과는 이상 이벤트가 발생된 것 또는 이상 이벤트가 발생되지 않은 것을 포함할 수 있고, 예를 들어, 이상 포즈의 신뢰도가 임계값을 초과하거나, 신뢰도가 임계값을 초과하며 일정한 기간 동안 지속될 때, 이벤트 검출 결과는 이상 이벤트 발생으로 결정한다. 여기서, 이상 이벤트는 예를 들어 쪼그려 앉음 이벤트, 넘어짐 이벤트 등과 같은 이상 포즈의 카테고리에 따라 결정될 수 있고, 본 발명은 이에 대해 한정하지 않는다.In a possible implementation form, in step S14, an event detection result of the target object may be determined according to the pose recognition result of the target object. The event detection result may include that an abnormal event has occurred or that an abnormal event has not occurred, for example, when the reliability of the abnormal pose exceeds a threshold value, or the reliability exceeds the threshold value and continues for a certain period of time , the event detection result is determined as the occurrence of an abnormal event. Here, the abnormal event may be determined according to the category of the abnormal pose, such as, for example, a squatting event and a falling event, and the present invention is not limited thereto.

가능한 구현 형태에서, 만약 이벤트 검출 결과는 이상 이벤트 발생이면, 경고 정보를 생성하고 송신할 수 있다. 상기 경고 정보는 관련 인원이 포지셔닝을 수행하기 위해 이상 이벤트의 알림을 포함할 수 있고, 이상 이벤트가 발생된 타깃 대상이 위치하는 영역을 포함할 수도 있다. 본 발명은 이에 대해 한정하지 않는다.In a possible implementation form, if the event detection result is an abnormal event occurrence, alert information may be generated and transmitted. The warning information may include a notification of an abnormal event in order for a related person to perform positioning, and may include a region in which a target object in which the abnormal event is generated is located. The present invention is not limited thereto.

가능한 구현 형태에서, 예를 들어 제어 장치가 에스컬레이터의 작동을 정지할 수 있도록, 경고 정보를 에스컬레이터의 제어 장치에 송신할 수 있고, 관련 인원으로 하여금 에스컬레이터의 작동을 정지하며, 에스컬레이터에 가서 구원할 수 있도록, 경고 정보를 에스컬레이터 작동을 책임지는 관련 인원이 볼 수 있는 기기(예를 들어 단말 기기 및/또는 디스플레이 기기 등)에 송신할 수도 있다. 본 발명은 경고 정보의 내용에 대해 한정하지 않는다.In a possible implementation form, for example, a warning information can be sent to the control device of the escalator, so that the control device can stop the operation of the escalator, and the relevant personnel can stop the operation of the escalator and go to the escalator to save Thus, the warning information may be transmitted to a device (eg, a terminal device and/or a display device, etc.) that can be viewed by the relevant person responsible for operating the escalator. The present invention does not limit the content of the warning information.

본 발명의 실시예에 따라, 비디오 스트림에서 대상이 위치하는 영역을 검출하고; 상기 영역의 이미지에 대해 인식을 수행함으로써 대상의 포즈를 결정할 수 있으며; 대상의 포즈에 따라 이벤트 검출 결과를 결정하여, 이벤트 검출의 정확도를 향상시킴으로써, 이외 사고 발생 확률을 낮추고, 인력 검출의 비용을 줄일 수 있다.According to an embodiment of the present invention, detecting an area in a video stream where an object is located; determine the pose of the subject by performing recognition on the image of the region; By determining the event detection result according to the pose of the target, and improving the accuracy of event detection, it is possible to lower the probability of other accidents and reduce the cost of manpower detection.

아래에 본 발명의 실시예의 이벤트 검출 방법에 대해 설명한다.An event detection method according to an embodiment of the present invention will be described below.

전술한 바와 같이, 카메라를 통해 에스컬레이터가 위치하는 영역의 비디오 스트림을 수집하고, 수집된 비디오 스트림을 로컬의 프런트 서버 또는 클라우드 서버 등 전자 기기에 전송할 수 있다. 전자 기기는 수신된 비디오 스트림에 대해 디코딩을 수행하여, 디코딩된 비디오 스트림을 얻을 수 있다.As described above, a video stream of an area where the escalator is located may be collected through a camera, and the collected video stream may be transmitted to an electronic device such as a local front server or a cloud server. The electronic device may perform decoding on the received video stream to obtain a decoded video stream.

단계 S12에 있어서, 검출 네트워크를 통해, 디코딩된 비디오 스트림에 대해 인체 검출 및 추적을 수행하여, 비디오 스트림의 각 비디오 프레임에서의 인체 박스를 검출하고, 동일한 신원에 속하는 보행자의 인체 박스를 추적하여, 비디오 스트림에서 타깃 대상이 위치하는 제1 영역을 얻을 수 있다. 상기 검출 네트워크는 컨볼루션 신경 네트워크일 수 있고, 본 발명은 검출 네트워크의 네트워크 구조에 대해 한정하지 않는다.In step S12, through the detection network, performing human body detection and tracking on the decoded video stream to detect the human body box in each video frame of the video stream, and track the human body box of a pedestrian belonging to the same identity; A first region in which the target object is located in the video stream may be obtained. The detection network may be a convolutional neural network, and the present invention does not limit the network structure of the detection network.

제1 영역을 얻은 다음, 제1 영역과 대응되는 제1 영역 이미지를 획득할 수 있다. 비디오 스트림의 비디오 프레임에서 제1 영역의 이미지를 직접 잘라낼 수 있고, 제1 영역에 대해 확장 처리를 수행할 수도 있다.After obtaining the first area, an image of the first area corresponding to the first area may be obtained. The image of the first region may be directly cut out from the video frame of the video stream, and extension processing may be performed on the first region.

가능한 구현 형태에서, 본 발명의 실시예의 이벤트 검출 방법에 따라, 상기 제1 영역과 대응되는 제1 영역 이미지를 결정하는 단계는,In a possible implementation form, according to the event detection method of an embodiment of the present invention, the step of determining a first region image corresponding to the first region includes:

기설정된 확장 계수에 따라, 상기 제1 영역에 대해 확장을 수행하여, 제2 영역을 얻는 단계 - 제2 영역은 확장된 제1 영역임 - ; 및performing expansion on the first area according to a preset extension coefficient to obtain a second area, the second area being the extended first area; and

상기 비디오 스트림의 비디오 프레임에서 상기 제2 영역의 이미지를 잘라내어, 상기 제1 영역 이미지를 얻는 단계를 포함한다.and cropping the image of the second region from the video frame of the video stream to obtain the image of the first region.

전술한 바와 같이, 제1 영역은 인체 박스의 좌측 상단(x1, y1) 및 우측 하단 정점 좌표(x2, y2) 및 상기 타깃 대상의 추적 ID로 나타낼 수 있다. 확장 계수를 미리 설정하여, 확장 계수에 따라 제1 영역에 대해 확장을 수행할 수 있다. 확장된 제2 영역의 좌측 상단 및 우측 하단 정점 좌표는 각각 (

Figure pct00001
Figure pct00002
)(
Figure pct00003
Figure pct00004
)라고 설정하면, 공식 (1)은 하기와 같다.As described above, the first region may be represented by the upper left (x1, y1) and lower right vertex coordinates (x2, y2) of the human body box and the tracking ID of the target object. By presetting an extension coefficient, extension may be performed on the first region according to the extension coefficient. The coordinates of the upper-left and lower-right vertices of the extended second region are (
Figure pct00001
Figure pct00002
)(
Figure pct00003
Figure pct00004
), the formula (1) is as follows.

Figure pct00005
Figure pct00005

Figure pct00006
Figure pct00006

Figure pct00007
Figure pct00007

Figure pct00008
Figure pct00008

공식 (1)에서, W 및 H는 각각 비디오 프레임의 이미지 너비 및 높이를 나타내고, e는 확장 계수를 나타낸다. 확장 계수 e의 값은 예를 들어 0.1이고, 본 발명은 확장 계수 e의 구체적 값에 대해 한정하지 않는다.In formula (1), W and H represent the image width and height of the video frame, respectively, and e represents the expansion coefficient. The value of the extension coefficient e is, for example, 0.1, and the present invention does not limit the specific value of the extension coefficient e.

공식 (1)에 따라, 제1 영역이 비디오 프레임의 이미지 범위 내에서 확장하여, 제2 영역을 얻는 것을 구현할 수 있다. 나아가, 후속 처리를 위해 대응되는 비디오 프레임에서 제2 영역의 이미지를 잘라내어, 제1 영역 이미지를 얻을 수 있다.According to formula (1), it is possible to implement that the first region extends within the image range of the video frame to obtain the second region. Furthermore, the image of the second region may be cropped out of the corresponding video frame for subsequent processing, thereby obtaining the image of the first region.

이런 형태를 통해, 포즈 인식 네트워크의 분류기 성능을 향상시키고, 후속 포즈 인식의 정확도를 향상시킬 수 있다.Through this form, the classifier performance of the pose recognition network can be improved, and the accuracy of subsequent pose recognition can be improved.

가능한 구현 형태에서, 단계 S13에서 포즈 인식 네트워크를 통해 제1 영역 이미지에 대해 포즈 인식을 수행하여, 타깃 대상의 포즈 인식 결과를 얻을 수 있다. 타깃 대상의 포즈가 이상 포즈, 정상 포즈 또는 다른 포즈인 것을 인식하도록 상기 포즈 인식 네트워크는 다중 분류기를 포함할 수 있다. 상기 포즈 인식 네트워크를 배치하기 전에, 상기 포즈 인식 네트워크에 대해 훈련을 수행할 수 있다.In a possible implementation form, pose recognition may be performed on the first area image through the pose recognition network in step S13 to obtain a pose recognition result of the target object. The pose recognition network may include multiple classifiers to recognize that the pose of the target object is an abnormal pose, a normal pose or another pose. Before deploying the pose recognition network, training may be performed on the pose recognition network.

가능한 구현 형태에서, 본 발명의 실시예의 이벤트 검출 방법은,In a possible implementation form, the event detection method of an embodiment of the present invention comprises:

기설정된 훈련 집합에 따라 훈련하여 상기 포즈 인식 네트워크를 얻는 단계 - 상기 훈련 집합에서 샘플 이미지에 의해 태깅된 대상 포즈에는 이상 포즈, 정상 포즈 및 다른 포즈가 포함되며, 상기 다른 포즈에는 정상 포즈 및 이상 포즈를 제외한 포즈가 포함됨 - 를 더 포함할 수 있다.training according to a preset training set to obtain the pose recognition network, wherein the target poses tagged by the sample image in the training set include abnormal poses, normal poses and other poses, and the other poses include normal poses and abnormal poses. Pose other than − may be included.

예를 들어, 포즈 인식 네트워크의 분류기의 로버스트를 향상시키기 위해, 오픈 세트 훈련의 형태를 사용할 수 있다. 즉, 샘플 이미지에 의해 태깅된 대상 포즈는 이상 포즈 및 정상 포즈 외에, 다른 포즈도 포함한다. 예를 들어, 이상 포즈 및 정상 포즈는 각각 쪼그려 앉음 포즈 및 서있는 포즈인 경우, 다른 포즈는 누움, 엎드림 등 포즈를 포함할 수 있고, 예를 들어 반신이 완전히 가려짐, 너무 흐릿함 등과 같은 포즈가 판단되지 않는 경우를 포함할 수도 있으며; 검출 박스가 여러 사람을 커버하고 주요 인물이 판단되지 않는 등 상황을 포함할 수도 있다. 본 발명은 다른 포즈에 포함되는 포즈 타입 및 포즈가 없는 구체적 상황에 대해 모두 한정하지 않는다.For example, to improve the robustness of the classifier of a pose recognition network, a form of open set training can be used. That is, the target pose tagged by the sample image includes other poses in addition to the abnormal pose and the normal pose. For example, if the abnormal pose and the normal pose are a squatting pose and a standing pose, respectively, the other poses may include a lying down pose, a prone pose, etc., for example, a pose such as a half body completely covered, too blurry, etc. is judged It may include cases where it is not; It may also include situations where the detection box covers several people, the main person is not judged, etc. The present invention is not limited to both pose types included in other poses and specific situations in which there is no pose.

훈련 과정에 있어서, 훈련 집합에서의 샘플 이미지를, 훈련될 포즈 인식 네트워크에 각각 입력하여 처리함으로써, 샘플 인식 결과를 얻고; 샘플 인식 결과와 샘플 이미지 사이의 차이에 따라, 훈련될 포즈 인식 네트워크의 네트워크 손실을 결정하며; 네트워크 손실에 따라 훈련될 포즈 인식 네트워크의 파라미터를 역방향으로 조정하고; 여러 번 반복하여, 네트워크가 수렴되는 경우, 훈련된 포즈 인식 네트워크를 얻을 수 있다.In the training process, sample images in the training set are respectively input and processed into a pose recognition network to be trained to obtain a sample recognition result; determine a network loss of the pose recognition network to be trained according to the difference between the sample recognition result and the sample image; reversely adjust the parameters of the pose recognition network to be trained according to the network loss; After several iterations, if the network converges, a trained pose recognition network can be obtained.

이런 형태를 통해, 포즈 인식의 로버스트를 향상시키고, 포즈 인식의 정확도를 향상시킬 수 있다.Through this form, it is possible to improve the robustness of the pose recognition and improve the accuracy of the pose recognition.

가능한 구현 형태에서, 포즈 인식 결과는 타깃 대상의 포즈가 이상 포즈인 신뢰도 s를 포함할 수 있다. 단계 S14에 있어서, 타깃 대상의 포즈 인식 결과에 따라 이벤트 검출을 수행하여, 상기 타깃 대상의 이벤트 검출 결과를 결정할 수 있다.In a possible implementation form, the pose recognition result may include a confidence s that the pose of the target object is an abnormal pose. In step S14, event detection may be performed according to the result of the pose recognition of the target object to determine the event detection result of the target object.

가능한 구현 형태에서, 각 추적 ID(즉 타깃 대상)에 상태 기계를 유지 보수하고, 각 비디오 프레임의 포즈 인식 결과에 따라 상기 상태 기계의 상태를 업데이트하여, 이벤트 검출을 구현할 수 있다.In a possible implementation form, event detection can be implemented by maintaining a state machine at each tracking ID (ie target object), and updating the state of the state machine according to the result of pause recognition of each video frame.

도 2a는 본 발명의 실시예에 따라 도시된 타깃 대상의 검출 상태 변화의 예시도이다. 도 2a에 도시된 바와 같이, 타깃 대상의 검출 상태는 아이들 상태(IDLE)(21), 검출 중 상태(DETECTING)(22) 및 검출된 상태(DETECTED)(23)를 포함할 수 있다. 검출 과정에 있어서, 도 2a에서의 각 조건에 따라 검출 상태를 변경하고, 일정한 조건을 만족하는 경우, 대응되는 이벤트 검출 결과를 출력할 수 있다.2A is an exemplary diagram illustrating a change in a detection state of a target object according to an embodiment of the present invention. As shown in FIG. 2A , the detection state of the target object may include an idle state (IDLE) 21 , a state under detection (DETECTING) 22 , and a detected state (DETECTED) 23 . In the detection process, a detection state may be changed according to each condition in FIG. 2A , and when a predetermined condition is satisfied, a corresponding event detection result may be output.

도 2a에 있어서, 활성화 시간(Activate seconds, AC), 냉각 시간(Cooldown seconds, CD), 비활성화 시간(Deactivate seconds, DA) 및 신뢰도 임계값 T는 모두 기설정된 파라미터이고; 검출 시간(Detected Time, DT), 미검출 시간(Undetected Time, UT), 트리거 시간(Trigger Time, TT)은 타임 스탬프이며, 활성화 시간, 비활성화 시간 및 냉각 시간에 도달했는지 여부를 판단하기 위한 것이고, 이러한 타임 스탬프는 처리 과정에서 동적으로 업데이트되며; now는 현재 비디오 프레임의 타임 스탬프(즉 현재 시각)를 나타내고; SET는 타임 스탬프의 업데이트를 나타내며, OUT는 이벤트의 출력 결과를 나타낸다.In Figure 2a, activation time (Activate seconds, AC), cooling time (Cooldown seconds, CD), deactivate time (Deactivate seconds, DA) and the reliability threshold value T are all preset parameters; Detected Time (DT), Undetected Time (UT), and Trigger Time (TT) are time stamps, for determining whether activation time, deactivation time and cooling time have been reached; These timestamps are dynamically updated during processing; now indicates the timestamp of the current video frame (ie the current time); SET indicates the update of the timestamp, and OUT indicates the output result of the event.

여기서, 활성화 시간(AC) 및 비활성화 시간(DA)의 값은 예를 들어 0~3s이고, 냉각 시간의 값은 예를 들어 1~10s이며, 신뢰도 임계값 T의 값은 예를 들어 0.5이고, 본 발명은 이에 대해 한정하지 않는다.Here, the values of the activation time (AC) and the inactivation time (DA) are, for example, 0 to 3 s, the value of the cooling time is, for example, 1 to 10 s, and the value of the reliability threshold T is, for example, 0.5, The present invention is not limited thereto.

가능한 구현 형태에서, 단계 S14는, 상기 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값보다 크거나 같은 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 발생으로 결정하는 단계를 포함할 수 있다.In a possible implementation form, step S14 may include determining that the event detection result of the target object is an abnormal event when the reliability of the target object at the current time is greater than or equal to a reliability threshold value.

예를 들어, 만약 현재 시각의 비디오 프레임에는 ROI(즉 제1 영역)이 없거나, 타깃 대상은 이상 포즈인 신뢰도 s가 신뢰도 임계값 T보다 작으면, 즉 조건 211(ROI가 없거나 s<T)을 만족하면, 타깃 대상의 검출 상태는 아이들 상태(21)에 있다.For example, if there is no ROI (i.e., the first region) in the video frame of the current time, or if the confidence s that the target object is an abnormal pose is less than the confidence threshold T, i.e., condition 211 (no ROI or s<T) is met. If satisfied, the detection state of the target object is in the idle state 21 .

가능한 구현 형태에서, 타깃 대상이 아이들 상태(21)에 있고, 활성화 시간(AC)이 설정되지 않았거나 활성화 시간(AC)이 0으로 설정된 경우, 만약 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값 T보다 크거나 같으면, 즉 조건 212(s>=T이고 AC=0)를 만족하면, 출력 결과는 START이며, 즉 타깃 대상의 이벤트 검출 결과는 이상 이벤트 발생으로 결정한다.In a possible implementation form, if the target object is in the idle state 21 and the activation time AC is not set or the activation time AC is set to zero, if the target object's confidence at the current time is the confidence threshold If it is greater than or equal to T, that is, if condition 212 (s>=T and AC=0) is satisfied, the output result is START, that is, the event detection result of the target object is determined as abnormal event occurrence.

상기 경우에 있어서, 타깃 대상의 검출 상태를 검출된 상태(23)로 변경하여, 상태 업데이트를 구현하고; 트리거 시간(TT) 및 미검출 시간(UT)을 모두 현재 시각(now)으로 업데이트하여, 후속 판단을 위해 트리거 시간(TT) 및 미검출 시간(UT) 계산을 시작할 수 있다.in the above case, change the detected state of the target object to the detected state 23, to implement state update; By updating both the trigger time TT and the non-detection time UT to the current time now, it is possible to start calculating the trigger time TT and the non-detection time UT for subsequent determination.

이런 형태를 통해, 타깃 대상이 이상 포즈일 때 이상 이벤트가 발생된 것을 직접 결정하여, 이벤트 검출의 실시간성을 향상시킬 수 있음으로써, 제때에 경고하여, 안전 사고 발생의 위험을 낮출 수 있다.Through this form, it is possible to directly determine that an abnormal event has occurred when the target object is in an abnormal pose, thereby improving the real-time of event detection, thereby providing timely warning and reducing the risk of safety accidents.

가능한 구현 형태에서, 단계 S14는,In a possible implementation form, step S14 comprises:

상기 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값보다 크거나 같고, 신뢰도가 상기 신뢰도 임계값보다 크거나 같은 제1 지속 기간이 활성화 시간보다 크거나 같은 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 발생으로 결정하는 단계를 포함할 수 있다. 활성화 시간은 활성화 기간으로 이해할 수 있다.When the reliability of the target object at the current time is greater than or equal to the reliability threshold, and the first duration in which the reliability is greater than or equal to the reliability threshold is greater than or equal to the activation time, the event detection result of the target object is abnormal It may include determining that the event occurs. The activation time can be understood as the activation period.

도 2a에 도시된 바와 같이, 타깃 대상이 아이들 상태(21)에 있고, 활성화 시간(AC)이 0보다 큰 경우, 만약 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값 T보다 크거나 같으면, 즉 조건 213(s>=T이고 AC>0)을 만족하면, 결과를 출력하지 않으며, 즉 이벤트 검출 결과는 이상 이벤트가 발생되지 않은 것이다. 상기 경우에 있어서, 타깃 대상의 검출 상태를 검출 중 상태(22)로 변경하고, 검출 시간(DT)을 현재 시각(now)으로 업데이트할 수 있다.As shown in FIG. 2A , when the target object is in the idle state 21 and the activation time AC is greater than 0, if the target object has a reliability at the current time greater than or equal to the reliability threshold T, that is, If condition 213 (s>=T and AC>0) is satisfied, no result is output, that is, the event detection result indicates that no abnormal event has occurred. In this case, the detection state of the target object may be changed to the detection state 22 , and the detection time DT may be updated to the current time now.

가능한 구현 형태에서, 타깃 대상이 검출 중 상태(22)에 있는 경우, 만약 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값 T보다 작거나, 현재 시각의 비디오 프레임에 ROI가 없으면, 즉 조건 221(ROI가 없거나 s<T)를 만족하면, 결과를 출력하지 않으며, 즉 이벤트 검출 결과는 이상 이벤트가 발생되지 않은 것이다. 상기 경우에 있어서, 검출 상태는 아이들 상태(21)로 변경된다.In a possible implementation form, if the target object is in the detecting state 22, if the target object has a confidence at the current time less than the confidence threshold T, or if there is no ROI in the video frame at the current time, i.e. condition 221 ( If there is no ROI or s<T) is satisfied, no result is output, that is, the event detection result is that no abnormal event has occurred. In this case, the detection state is changed to the idle state 21 .

가능한 구현 형태에서, 타깃 대상이 검출 중 상태(22)에 있는 경우, 만약 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값 T보다 크거나 같고, 신뢰도가 신뢰도 임계값 T보다 크거나 같은 제1 지속 기간(now-DT)이 활성화 시간(AC)보다 작으면, 즉 조건 222(s>=T이고 now-DT<AC)를 만족하면, 결과를 출력하지 않으며, 즉 이벤트 검출 결과는 이상 이벤트가 발생되지 않은 것이다. 상기 경우에 있어서, 검출 상태를 검출 중 상태(22)로 유지한다.In a possible implementation form, if the target object is in the detecting state 22 , if the target object has a confidence at the current time greater than or equal to a confidence threshold T, and a confidence level greater than or equal to a confidence threshold T, a first duration If the period (now-DT) is less than the activation time (AC), that is, if the condition 222 (s>=T and now-DT<AC) is satisfied, no result is output, that is, the event detection result is an abnormal event. it has not been In this case, the detection state is maintained in the detecting state 22 .

가능한 구현 형태에서, 타깃 대상의 검출 상태가 검출 중 상태(22)인 경우, 만약 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값 T보다 크거나 같고, 신뢰도가 신뢰도 임계값 T보다 크거나 같은 제1 지속 기간(now-DT)이 활성화 시간(AC)보다 크거나 같으면, 즉 조건 223(s>=T이고 now-DT>= AC)을 만족하면, 출력 결과는 START이며, 즉 타깃 대상의 이벤트 검출 결과는 이상 이벤트 발생으로 결정한다.In a possible implementation form, if the detection state of the target object is the detecting state 22, if the target object has a reliability greater than or equal to the reliability threshold T at the current time, and the reliability is greater than or equal to the reliability threshold T 1 If the duration (now-DT) is greater than or equal to the activation time (AC), i.e., condition 223 (s>=T and now-DT>= AC), the output result is START, i.e. the event of the target The detection result is determined as the occurrence of an abnormal event.

상기 경우에 있어서, 타깃 대상의 검출 상태를 검출된 상태(23)로 변경하여, 상태 업데이트를 구현하고; 후속 판단을 위해 트리거 시간(TT) 및 미검출 시간(UT)을 모두 현재 시각(now)으로 업데이트할 수 있다.in the above case, change the detected state of the target object to the detected state 23, to implement state update; For subsequent determination, both the trigger time TT and the non-detection time UT may be updated to the current time (now).

이런 형태를 통해, 타깃 대상이 이상 포즈이고 일정한 기간 동안 지속되는 경우, 이상 이벤트가 발생된 것을 결정함으로써, 단일 프레임 검출일 때 발생될 수 있는 오검출을 줄여서, 이벤트 검출의 정확성을 향상시킬 수 있다.Through this form, when the target object is in an abnormal pose and persists for a certain period of time, it is determined that an abnormal event has occurred, thereby reducing false detections that may occur during single-frame detection, thereby improving the accuracy of event detection. .

가능한 구현 형태에서, 본 발명의 실시예에 따른 이벤트 검출 방법은, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트가 발생된 것인 경우, 제1 경고 정보를 송신하는 단계를 더 포함한다.In a possible implementation form, the event detection method according to an embodiment of the present invention further includes the step of transmitting first warning information when an abnormal event has occurred as a result of detecting the event of the target object.

다시 말하면, 만약 출력 결과는 START이면, 즉 타깃 대상의 이벤트 검출 결과는 이상 이벤트 발생이면, 상응한 경고 정보(제1 경고 정보로 지칭됨)를 송신할 수 있다. 상기 제1 경고 정보는 관련 인원이 포지셔닝을 수행하기 위해 이상 이벤트 발생의 알림을 포함할 수 있고, 이상 이벤트가 발생된 타깃 대상이 위치하는 영역을 포함할 수도 있다. 본 발명은 이에 대해 한정하지 않는다.In other words, if the output result is START, that is, if the event detection result of the target object is an abnormal event occurrence, corresponding warning information (referred to as first warning information) may be transmitted. The first warning information may include a notification of occurrence of an abnormal event in order for a related person to perform positioning, and may include a region in which a target object in which the abnormal event has occurred is located. The present invention is not limited thereto.

가능한 구현 형태에서, 예를 들어 제어 장치가 에스컬레이터의 작동을 정지할 수 있도록, 제1 경고 정보를 에스컬레이터의 제어 장치에 송신할 수 있고, 관련 인원으로 하여금 에스컬레이터의 작동을 정지하며, 에스컬레이터에 가서 구원할 수 있도록, 제1 경고 정보를 에스컬레이터 작동을 책임지는 관련 인원이 볼 수 있는 기기(예를 들어 단말 기기 및/또는 디스플레이 기기 등)에 송신할 수도 있다. 본 발명은 제1 경고 정보의 내용에 대해 한정하지 않는다.In a possible implementation form, the first warning information may be sent to the control device of the escalator, for example, so that the control device can stop the operation of the escalator, and cause the relevant personnel to stop the operation of the escalator, go to the escalator and rescue In order to do this, the first warning information may be transmitted to a device (eg, a terminal device and/or a display device, etc.) that can be viewed by the relevant person responsible for operating the escalator. The present invention does not limit the content of the first warning information.

이런 형태를 통해, 이상 이벤트의 적시 경고를 구현하여, 안전사고 발생의 위험을 낮출 수 있다.Through this form, timely warning of abnormal events can be implemented, thereby reducing the risk of safety accidents.

가능한 구현 형태에서, 본 발명의 실시예에 따른 이벤트 검출 방법은,In a possible implementation form, an event detection method according to an embodiment of the present invention comprises:

상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트가 발생된 것인 경우, 상기 타깃 대상의 검출 상태를 검출된 상태로 변경하는 단계를 더 포함한다.The method further includes changing the detection state of the target object to a detected state when the event detection result of the target object indicates that an abnormal event has occurred.

전술한 바와 같이, 만약 조건 223(s>=T이고 now-DT>= AC)을 만족하면, 출력 결과는 START이며, 즉 타깃 대상의 이벤트 검출 결과는 이상 이벤트 발생으로 결정한다. 상기 경우에 있어서, 후속 처리에서 검출을 계속 수행하기 위해 타깃 대상의 검출 상태를 검출된 상태(23)로 변경한다. As described above, if condition 223 (s>=T and now-DT>= AC) is satisfied, the output result is START, that is, the event detection result of the target object is determined as abnormal event occurrence. In this case, the detection state of the target object is changed to the detected state 23 in order to continue the detection in the subsequent processing.

가능한 구현 형태에서, 이벤트 검출 방법은,In a possible implementation form, the event detection method comprises:

상기 타깃 대상의 검출 상태는 검출된 상태이고, 상기 타깃 대상이 현재 시각에서의 신뢰도는 신뢰도 임계값보다 크거나 같으며, 신뢰도가 상기 신뢰도 임계값보다 크거나 같은 제2 지속 기간이 냉각 시간보다 큰 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 지속으로 결정하는 단계; 및 The detection state of the target object is a detected state, the reliability of the target object at the current time is greater than or equal to a reliability threshold, and a second duration in which the reliability is greater than or equal to the reliability threshold is greater than the cooling time. in this case, determining that the event detection result of the target object is an abnormal event continuation; and

상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 지속인 경우, 제2 경고 정보를 송신하는 단계를 더 포함한다. 냉각 시간은 냉각 기간으로 이해할 수 있다.The method further includes transmitting second warning information when the event detection result of the target object is an abnormal event continuation. The cooling time can be understood as the cooling period.

예를 들어, 타깃 대상의 검출 상태가 검출된 상태(23)인 경우, 만약 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값 T보다 크거나 같고, 신뢰도가 신뢰도 임계값 T보다 크거나 같은 제1 지속 기간(now-TT)이 냉각 시간(CD)보다 작거나 같으면, 이전 출력 후의 냉각 시간 내에 있는 것으로 간주될 수 있으며, 결과를 출력하지 않는다.For example, when the detection state of the target object is the detected state 23, if the target object has a reliability greater than or equal to the reliability threshold value T at the current time, and the reliability is greater than or equal to the reliability threshold value T, the first If the duration now-TT is less than or equal to the cooling time CD, it may be considered to be within the cooling time after the previous output, and no result is output.

가능한 구현 형태에서, 만약 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값 T보다 크거나 같고, 신뢰도가 신뢰도 임계값 T보다 크거나 같은 제2 지속 기간(now-TT)이 냉각 시간(CD)보다 크면, 즉 조건 231(s>=T; 만약 now-TT>Cd)을 만족하면, 출력 결과는 ONGING이며, 즉 타깃 대상의 이벤트 검출 결과는 이상 이벤트 지속으로 결정한다.In a possible implementation form, if the target object has a confidence at the current time greater than or equal to the confidence threshold T, and a second duration (now-TT) for which the confidence is greater than or equal to the confidence threshold T, is greater than the cooling time CD. If it is large, that is, if condition 231 (s>=T; if now-TT>Cd) is satisfied, the output result is ONGING, that is, the event detection result of the target object is determined as abnormal event continuation.

가능한 구현 형태에서, 미검출 시간 계산을 다시 시작하기 위해 만약 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값 T보다 크거나 같으면, 미검출 시간(UT)을 현재 시각(now)으로 업데이트하고, 즉 미검출 시간(UT)의 타임 스탬프를 재설정할 수 있다. 냉각 시간 계산을 다시 시작하기 위해 만약 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값 T보다 크거나 같고, 신뢰도가 신뢰도 임계값 T보다 크거나 같은 제2 지속 기간(now-TT)이 냉각 시간(CD)보다 크면, 냉각 시간(CD)을 현재 시각(now)으로 업데이트하고, 즉 냉각 시간(CD)의 타임 스탬프를 재설정할 수 있다.In a possible implementation form, if the target object's confidence at the current time is greater than or equal to the confidence threshold T to restart the dead time calculation, update the dead time (UT) to the current time (now), i.e. The time stamp of the undetected time (UT) can be reset. To restart the cooling time calculation, if the target object has a confidence at the current time greater than or equal to the confidence threshold T, and a second duration (now-TT) for which the confidence is greater than or equal to the confidence threshold T, the cooling time ( CD), the cooling time CD may be updated to the current time now, that is, the time stamp of the cooling time CD may be reset.

가능한 구현 형태에서, 타깃 대상의 이벤트 검출 결과는 이상 이벤트 지속인 경우, 상응한 경고 정보(제2 경고 정보로 지칭됨)를 생성 및 송신할 수 있다. 상기 제2 경고 정보는 관련 인원이 포지셔닝을 수행하기 위해 이상 이벤트 지속의 알림을 포함할 수 있고, 이상 이벤트가 지속된 타깃 대상이 위치하는 영역을 포함할 수도 있다. 본 발명은 이에 대해 한정하지 않는다.In a possible implementation form, when the event detection result of the target object is an abnormal event continuation, corresponding warning information (referred to as second warning information) may be generated and transmitted. The second warning information may include a notification of the continuation of the abnormal event in order for the relevant person to perform positioning, and may include a region in which the target object in which the abnormal event continues is located. The present invention is not limited thereto.

이런 형태를 통해, 타깃 대상은 이상 포즈이고 냉각 시간에 도달한 경우, 이상 이벤트 지속으로 결정하여, 냉각 시간 간격으로 반복 경고함으로써, 에스컬레이터에 의해 작동되는 모니터링 기기 또는 에스컬레이터 작동을 책임지는 관련 인원한테 반복적으로 알려서, 관련 인원이 경고 정보를 관찰하지 못한 경우가 발생되는 것을 줄임으로써, 안전사고 발생의 위험을 낮출 수 있다.Through this form, if the target object is in an abnormal pose and the cooling time is reached, it is determined as an abnormal event continuation, repeatedly warning at the cooling time interval, repeatedly to the monitoring device operated by the escalator or the relevant personnel responsible for the operation of the escalator. By notifying this, it is possible to reduce the risk of safety accidents by reducing the occurrence of cases in which the relevant personnel fail to observe the warning information.

가능한 구현 형태에서, 상기 이벤트 검출 방법은,In a possible implementation form, the event detection method comprises:

상기 타깃 대상의 검출 상태가 상기 검출된 상태이고, 상기 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값보다 작으며, 신뢰도가 상기 신뢰도 임계값보다 작은 제3 지속 기간이 비활성화 시간보다 큰 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 종료로 결정하는 단계를 더 포함한다. 비활성화 시간은 비활성화 기간으로 이해할 수 있다.When the detection state of the target object is the detected state, the reliability of the target object at the current time is less than a reliability threshold value, and a third duration period in which the reliability is less than the reliability threshold value is greater than the inactivation time, the The method further includes determining that the event detection result of the target object is the end of the abnormal event. The inactivation time may be understood as the inactivation period.

예를 들어, 타깃 대상의 검출 상태가 검출된 상태(23)인 경우, 만약 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값 T보다 작거나 ROI가 없고, 신뢰도가 신뢰도 임계값보다 작은 제3 지속 기간(now-UT)이 비활성화 시간(DA)보다 작거나 같으면, 즉 조건 232((ROI가 없거나 s<T)이고 now-UT<=DA)를 만족하면, 이전 출력 후의 비활성화 시간(DA) 내에 있는 것으로 간주될 수 있으며, 결과를 출력하지 않는다.For example, if the detection state of the target object is the detected state 23, if the target object has a reliability at the current time less than the reliability threshold value T, or there is no ROI, and a third continuous If the period (now-UT) is less than or equal to the inactivation time (DA), i.e., if condition 232 ((no ROI or s<T) and now-UT<=DA) is satisfied, then within the inactivation time (DA) after the previous output It can be considered to exist, and no result is output.

가능한 구현 형태에서, 타깃 대상의 검출 상태가 검출된 상태(23)인 경우, 만약 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값 T보다 작거나 ROI가 없고, 신뢰도가 신뢰도 임계값보다 작은 제3 지속 기간(now-UT)이 비활성화 시간(DA)보다 크면, 즉 조건 233((ROI가 없거나 s<T)이고 now-UT>DA)를 만족하면, 출력 결과는 END이며, 즉 타깃 대상의 이벤트 검출 결과는 이상 이벤트 종료로 결정한다.In a possible implementation form, if the detection state of the target object is the detected state 23 , if the target object has a confidence at the current time less than the confidence threshold T or no ROI, and a third third whose confidence is less than the confidence threshold If the duration (now-UT) is greater than the inactivation time (DA), i.e., if condition 233 ((no ROI or s<T) and now-UT>DA) is satisfied, then the output result is END, i.e. the event of the target target The detection result is determined as the end of the abnormal event.

가능한 구현 형태에서, 이벤트 검출 결과는 이상 이벤트 종료인 경우, 에스컬레이터에 의해 작동되는 모니터링 기기 또는 에스컬레이터 작동을 책임지는 관련 인원한테 알리기 위해 이벤트 종료 정보를 생성 및 송신할 수 있고; 이벤트 종료 정보를 생성하지 않을 수도 있다. 본 발명은 이에 대해 한정하지 않는다.In a possible implementation form, when the event detection result is an abnormal event termination, event termination information may be generated and transmitted to notify a monitoring device operated by the escalator or a related person responsible for escalator operation; Event termination information may not be generated. The present invention is not limited thereto.

가능한 구현 형태에서, 타깃 대상의 이벤트 검출 결과는 이상 이벤트 종료일 때, 타깃 대상의 검출 상태를 아이들 상태(21)로 변경하여, 상태 업데이트를 구현하고; 후속적으로 다시 판단하기 위해 미검출 시간(UT)의 타임 스탬프를 없음(nil)으로 업데이트할 수 있다.In a possible implementation form, when the event detection result of the target object is the end of the abnormal event, change the detection state of the target object to the idle state 21 to implement a status update; In order to subsequently determine again, the time stamp of the undetected time UT may be updated to nil.

가능한 구현 형태에서, 만약 타깃 대상의 검출 상태가 아이들 상태(21)에 있고, 상기 타깃 대상의 ROI가 없는 것이 일정한 기간이 되면, 상기 타깃 대상의 상태 기계를 릴리즈하거나, 상기 상태 기계를 다른 타깃 대상에 적용할 수 있다. 본 발명은 이에 대해 한정하지 않는다.In a possible implementation form, if the detection state of the target object is in the idle state 21 and there is no ROI of the target object for a period of time, the state machine of the target object is released, or the state machine is set to another target object. can be applied to The present invention is not limited thereto.

이런 형태를 통해, 타깃 대상은 이상 포즈가 아니고 비활성화 시간에 도달한 경우, 이상 이벤트 종료로 결정함으로써, 이벤트 검출의 전체 처리 흐름을 완료할 수 있다Through this form, when the target object is not in an abnormal pose and the inactivation time is reached, it is determined as an abnormal event end, thereby completing the entire processing flow of event detection.

도 2b는 본 발명의 실시예에서 제공하는 이벤트 검출 방법의 흐름 프레임 예시도이고, 도 2b에 도시된 바와 같이, 상기 흐름 프레임은 보행자 검출 및 추적 모듈, 걷기와 달리기 역행 인식 모듈, 쪼그려 앉음 인식 모듈을 포함한다.Figure 2b is an exemplary flow frame diagram of the event detection method provided in an embodiment of the present invention, as shown in Figure 2b, the flow frame is a pedestrian detection and tracking module, walking and running retrograde recognition module, squatting recognition module includes

입력 비디오 스트림은 디코딩을 통해, 보행자 검출 및 추적 모듈에 입력하여, 각 보행자의 제1 영역 (각 보행자 검출 박스 좌측 상단 및 우측 하단 정점 좌표(

Figure pct00009
),(
Figure pct00010
), 및 보행자에 대응되는 추적 ID로 나타냄)을 얻고, 보행자 검출 박스는 직사각형 프레임일 수 있다. 여기서, 보행자 검출은 통상적으로 심층 신경 네트워크에 의해 구현되고, 보행자 추적 알고리즘은 딥러닝에 기반하는 알고리즘, IoU 매칭에 기반하는 알고리즘 등을 포함하며, 본 발명의 실시예는 어떤 검출 및 추적 알고리즘을 사용하는지 한정하지 않는다.The input video stream is decoded and input to the pedestrian detection and tracking module, where each pedestrian's first area (the upper left and lower right vertex coordinates of each pedestrian detection box)
Figure pct00009
),(
Figure pct00010
), and a tracking ID corresponding to the pedestrian) is obtained, and the pedestrian detection box may be a rectangular frame. Here, pedestrian detection is typically implemented by a deep neural network, and the pedestrian tracking algorithm includes an algorithm based on deep learning, an algorithm based on IoU matching, etc., and the embodiment of the present invention uses any detection and tracking algorithm do not limit what

이미 훈련된 포즈 인식 네트워크를 통해 제1 영역에 대응되는 제1 영역 이미지에 대해 포즈 인식을 수행하여, 상기 타깃 대상의 포즈 인식 결과를 얻고, 즉 상기 포즈 인식 네트워크를 통해 포즈 인식 결과를 출력할 수 있다. 예를 들어, 포즈 인식 네트워크는 쪼그려 앉음 인식 모듈로서, 쪼그려 앉음 인식 모듈을 통해 쪼그려 앉음 이벤트를 출력할 수 있다.By performing pose recognition on the image of the first area corresponding to the first area through the already trained pose recognition network, the pose recognition result of the target object can be obtained, that is, the pose recognition result can be output through the pose recognition network. have. For example, the pose recognition network is a squat recognition module, and may output a squat event through the squat recognition module.

본 발명의 실시예에서의 걷기와 달리기 역행 인식 모듈은 비디오 스트림을 사용하여 보행자 이동 속도를 분석하고, 에스컬레이터 속도와 비교하여, 예를 들어 걷기와 달리기, 역행 이벤트 출력과 같은 보행자가 걷기와 달리기 또는 역행의 행위가 존재하는지 여부를 판단할 수 있다.The walking and running retrograde recognition module in the embodiment of the present invention analyzes the pedestrian movement speed using the video stream, and compares it with the escalator speed, for example, walking and running, or the pedestrian walking and running, such as a retrograde event output. It is possible to determine whether a retrograde action exists.

본 발명의 실시예의 이벤트 검출 방법에 따라, 에스컬레이터가 위치하는 영역의 비디오 스트림에 대해 검출 및 추적을 수행하여, 동일한 대상의 인체 영역을 결정하고; 상기 영역의 이미지에 대해 포즈 인식을 수행하여 대상의 포즈를 결정하며; 대상의 포즈에 따라 이벤트 검출을 수행하여, 쪼그려 앉음 이벤트 발생 여부를 판단하고; 마지막으로 쪼그려 앉음 이벤트로 판별된 영역 및 대응되는 인체 박스를 리턴하여, 경고를 수행할 수 있음으로써, 이벤트 검출의 정확도를 향상시키고, 안전사고 발생의 위험을 낮출 수 있다.According to the event detection method of the embodiment of the present invention, detection and tracking are performed on the video stream of the area where the escalator is located to determine the human body area of the same object; performing pose recognition on the image of the region to determine a pose of the object; performing event detection according to the subject's pose to determine whether a squatting event has occurred; Finally, by returning an area determined as a squatting event and a corresponding human body box, a warning can be performed, thereby improving the accuracy of event detection and lowering the risk of a safety accident.

본 발명의 실시예의 이벤트 검출 방법에 따라, 다른 센서(예를 들어 적외선 센서 등)가 없이 단안 카메라만 사용하여, 이벤트 검출을 구현할 수 있어서, 이벤트 검출의 효율을 향상시켰다.According to the event detection method of the embodiment of the present invention, event detection can be implemented by using only a monocular camera without other sensors (eg, an infrared sensor, etc.), thereby improving the efficiency of event detection.

본 발명의 실시예의 이벤트 검출 방법에 따라, 보안 영역에 적용되고, 자동 에스컬레이터 보행자 위험 행위 검출 경고 관련 제품에 적용될 수 있으며, 예를 들어 대형 백화점 슈퍼마켓, 지하철역, 오피스텔 등 응용 시나리오의 에스컬레이터 셀프서비스 시스템에 배치되어, 에스컬레이터 감속 또는 정지 조치를 취하여, 인력 비용을 줄이기 위해, 에스컬레이터에서 쪼그려 앉는 이벤트 등 위험 행위에 대해 자동 검출 및 경고할 수 있다.According to the event detection method of the embodiment of the present invention, it can be applied to the security area and can be applied to products related to automatic escalator pedestrian dangerous behavior detection warning, for example, to the escalator self-service system of application scenarios such as large department stores, supermarkets, subway stations, and officetels. Deployed, it can take escalator deceleration or stop action to automatically detect and warn of hazardous behavior, such as event of squatting on escalator, to reduce manpower cost.

본 발명에서 언급한 상기 각 방법 실시예는, 원리와 논리를 위반하지 않는 한, 모두 서로 상호적으로 결합되어 결합된 실시예를 형성할 수 있다는 것을 이해할 수 있고, 편폭의 제한으로, 본 발명에서 더 이상 반복하여 설명하지 않는다. 본 분야의 기술자는 구체적인 실시 형태의 상기 방법에 있어서, 각 단계의 구체적인 실행 순서는 그 기능 및 가능한 내적 논리에 의해 결정되는 것을 이해할 수 있다.It can be understood that each of the method embodiments mentioned in the present invention can be mutually combined with each other to form a combined embodiment, as long as the principles and logic are not violated. No more repeating explanations. A person skilled in the art can understand that in the above method of a specific embodiment, a specific execution order of each step is determined by its function and possible internal logic.

또한, 본 발명은 이벤트 검출 장치, 전자 기기, 컴퓨터 판독 가능 저장 매체, 프로그램을 더 제공하고, 상기 이미지 처리 장치, 전자 기기, 컴퓨터 판독 가능 저장 매체, 프로그램은 모두 본 발명에서 제공하는 어느 한 가지 이벤트 검출 방법을 구현하는데 사용될 수 있으며, 상응한 기술적 방안 및 설명 및 방법 부분을 참조한 상응한 기재는 더 이상 반복하여 설명하지 않는다.In addition, the present invention further provides an event detection device, an electronic device, a computer-readable storage medium, and a program, wherein the image processing device, the electronic device, the computer-readable storage medium, and the program are all one event provided by the present invention It can be used to implement the detection method, and the corresponding description with reference to the corresponding technical solution and description and the method part will not be repeated any longer.

도 3은 본 발명의 실시예에 따라 도시된 이벤트 검출 장치의 블록도이고, 도 3에 도시된 바와 같이, 상기 이벤트 검출 장치는,3 is a block diagram of an event detection device according to an embodiment of the present invention, and as shown in FIG. 3 , the event detection device includes:

에스컬레이터의 비디오 스트림을 획득하도록 구성되는 비디오 스트림 획득 부분(31);a video stream acquiring portion 31, configured to acquire a video stream of the escalator;

상기 비디오 스트림에 대해 인체 검출을 수행하여, 상기 비디오 스트림에서의 타깃 대상이 위치하는 제1 영역을 결정하도록 구성되는 영역 결정 부분(32);a region determining portion (32), configured to perform human body detection on the video stream to determine a first region in the video stream in which a target object is located;

상기 제1 영역과 대응되는 제1 영역 이미지에 대해 포즈 인식을 수행하여, 상기 타깃 대상의 포즈 인식 결과를 얻도록 구성되는 포즈 인식 부분(33) - 상기 포즈 인식 결과에는 상기 타깃 대상의 포즈가 이상 포즈인 신뢰도가 포함됨 - ; 및The pose recognition part 33 is configured to perform pose recognition on a first area image corresponding to the first area to obtain a pose recognition result of the target object. - The pose recognition result shows that the target pose is abnormal. Pose-in confidence included - ; and

상기 타깃 대상의 포즈 인식 결과에 따라, 상기 타깃 대상의 이벤트 검출 결과를 결정하도록 구성되는 이벤트 검출 부분(34)을 포함한다.and an event detection part (34), configured to determine, according to a result of the pose recognition of the target object, an event detection result of the target object.

가능한 구현 형태에서, 상기 이벤트 검출 부분은 또한, 상기 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값보다 크거나 같은 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 발생으로 결정하도록 구성된다.In a possible implementation form, the event detection part is further configured to determine that the event detection result of the target object is an abnormal event occurrence, when the reliability of the target object at the current time is greater than or equal to a reliability threshold value.

가능한 구현 형태에서, 상기 이벤트 검출 부분은 또한, 상기 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값보다 크고, 신뢰도가 상기 신뢰도 임계값보다 크거나 같은 제1 지속 기간이 활성화 시간보다 크거나 같은 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 발생으로 결정하도록 구성된다.In a possible implementation form, the event detection part is further configured to: when the reliability of the target object at the current time is greater than a confidence threshold, and a first duration in which the confidence is greater than or equal to the confidence threshold is greater than or equal to an activation time , a result of detecting an event of the target object is configured to determine that an abnormal event occurs.

가능한 구현 형태에서, 상기 이벤트 검출 장치는, 상기 타깃 대상의 이벤트 검출 결과가 이상 이벤트가 발생된 것인 경우, 제1 경고 정보를 송신하도록 구성되는 제1 경고 부분을 더 포함한다.In a possible implementation form, the event detection device further includes a first warning part configured to transmit first warning information when the event detection result of the target object is that an abnormal event has occurred.

가능한 구현 형태에서, 상기 이벤트 검출 장치는, 상기 타깃 대상의 이벤트 검출 결과가 이상 이벤트가 발생된 것인 경우, 상기 타깃 대상의 검출 상태를 검출된 상태로 변경하도록 구성되는 상태 변경 부분을 더 포함하고, 여기서, 상기 이벤트 검출 부분은 또한, 상기 타깃 대상의 검출 상태는 검출된 상태이고, 상기 타깃 대상이 현재 시각에서의 신뢰도는 신뢰도 임계값보다 크거나 같으며, 신뢰도가 상기 신뢰도 임계값보다 크거나 같은 제2 지속 기간이 냉각 시간보다 큰 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 지속으로 결정하도록 구성되고; 상기 이벤트 검출 장치는, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 지속인 경우, 제2 경고 정보를 송신하도록 구성되는 제1 경고 부분을 더 포함한다.In a possible implementation form, the event detection device further includes a state change part configured to change the detection state of the target object to the detected state when the event detection result of the target object is that an abnormal event has occurred, , wherein the event detection part further includes: the detection state of the target object is a detected state, the reliability of the target object at the current time is greater than or equal to the reliability threshold, the reliability is greater than the reliability threshold, or if the same second duration is greater than the cooling time, the event detection result of the target object is configured to be determined as an abnormal event duration; The event detection apparatus further includes a first warning part configured to transmit second warning information when the event detection result of the target object is an abnormal event continuation.

가능한 구현 형태에서, 상기 이벤트 검출 부분은 또한, 상기 타깃 대상의 검출 상태가 상기 검출된 상태이고, 상기 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값보다 작으며, 신뢰도가 상기 신뢰도 임계값보다 작은 제3 지속 기간이 비활성화 시간보다 큰 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 종료로 결정하도록 구성된다.In a possible implementation form, the event detection part further comprises: the detection state of the target object is the detected state, the reliability of the target object at a current time is less than a reliability threshold, and the reliability is less than the reliability threshold. and when the third duration is greater than the inactivation time, the event detection result of the target object is configured to determine that the abnormal event ends.

가능한 구현 형태에서, 상기 이벤트 검출 장치는, 기설정된 확장 계수에 따라, 상기 제1 영역에 대해 확장을 수행하여, 제2 영역을 얻도록 구성되는 확장 부분; 및 상기 비디오 스트림의 비디오 프레임에서 상기 제2 영역의 이미지를 잘라내어, 상기 제1 영역 이미지를 얻도록 구성되는 크롭 부분을 더 포함한다.In a possible implementation form, the event detection apparatus may include: an expansion part configured to perform expansion on the first area according to a preset expansion coefficient to obtain a second area; and a cropping portion, configured to crop the image of the second region from the video frame of the video stream to obtain the image of the first region.

가능한 구현 형태에서, 상기 포즈 인식 부분은 또한, 포즈 인식 네트워크를 통해 상기 제1 영역과 대응되는 제1 영역 이미지에 대해 포즈 인식을 수행하도록 구성되고; 상기 이벤트 검출 장치는, 기설정된 훈련 집합에 따라 훈련하여 상기 포즈 인식 네트워크를 얻도록 구성되는 훈련 부분 - 상기 훈련 집합에서 샘플 이미지에 의해 태깅된 대상 포즈에는 이상 포즈, 정상 포즈 및 다른 포즈가 포함되며, 상기 다른 포즈에는 정상 포즈 및 이상 포즈를 제외한 포즈가 포함됨 - 을 더 포함한다.In a possible implementation form, the pose recognition part is further configured to perform pose recognition on a first area image corresponding to the first area through a pose recognition network; wherein the event detection device includes a training part, configured to obtain the pose recognition network by training according to a preset training set, wherein the target pose tagged by the sample image in the training set includes an abnormal pose, a normal pose and another pose; , the other poses include poses other than normal poses and abnormal poses.

가능한 구현 형태에서, 상기 이상 이벤트는 쪼그려 앉음 이벤트를 포함한다.In a possible implementation form, the abnormal event comprises a squat event.

일부 실시예에 있어서, 본 발명의 실시예에서 제공하는 장치가 갖고 있는 기능 또는 포함하는 모듈은 전술한 방법 실시예에서 설명한 방법을 수행하는데 사용될 수 있고, 그 구체적인 구현은 전술한 방법 실시예의 설명을 참조할 수 있으며, 간결함을 위해, 여기서 더 이상 반복하여 설명하지 않는다.In some embodiments, a function possessed by an apparatus provided in an embodiment of the present invention or a module included in it may be used to perform the method described in the above-described method embodiment, and the specific implementation thereof follows the description of the above-described method embodiment. reference, and, for the sake of brevity, are not further repeated herein.

본 발명의 실시예는 컴퓨터 프로그램 명령어가 저장된 컴퓨터 판독 가능 저장 매체를 더 제공하고, 상기 컴퓨터 프로그램 명령어가 프로세서에 의해 수행될 때 상기 이벤트 검출 방법을 구현한다. 컴퓨터 판독 가능 저장 매체는 비휘발성 컴퓨터 판독 가능 저장 매체일 수 있다.An embodiment of the present invention further provides a computer-readable storage medium storing computer program instructions, and implements the event detection method when the computer program instructions are executed by a processor. The computer-readable storage medium may be a non-volatile computer-readable storage medium.

본 발명의 실시예는 전자 기기를 더 제공하고, 상기 전자 기기는, 프로세서; 및 프로세서가 실행 가능한 명령어를 저장하기 위한 메모리를 포함하며; 여기서, 상기 프로세서는 상기 메모리에 저장된 명령어를 호출하여, 상기 이벤트 검출 방법을 실행하도록 구성된다.An embodiment of the present invention further provides an electronic device, the electronic device comprising: a processor; and a memory for storing instructions executable by the processor; Here, the processor is configured to execute the event detection method by calling the instruction stored in the memory.

본 발명의 실시예는 컴퓨터 판독 가능 코드를 포함하는 컴퓨터 프로그램 제품을 더 제공하고, 컴퓨터 판독 가능한 코드가 기기에서 작동될 경우, 기기에서의 프로세서는 상기 어느 한 실시예에서 제공하는 이벤트 검출 방법을 구현하기 위한 명령어를 실행한다.An embodiment of the present invention further provides a computer program product comprising a computer readable code, wherein when the computer readable code is run in a device, a processor in the device implements the event detection method provided in any of the above embodiments Execute the command to

본 발명의 실시예는 컴퓨터 판독 가능 명령어를 저장하기 위한 다른 컴퓨터 프로그램 제품을 더 제공하고, 명령어가 실행될 경우 컴퓨터로 하여금 상기 어느 한 실시예에서 제공하는 이벤트 검출 방법의 동작을 실행하도록 한다.An embodiment of the present invention further provides another computer program product for storing computer-readable instructions, and when the instruction is executed, causes the computer to execute the operation of the event detection method provided in the one embodiment above.

전자 기기는 단말, 서버 또는 기타 형태의 기기로 제공될 수 있다. The electronic device may be provided as a terminal, server, or other type of device.

도 4는 본 발명의 실시예에 따라 도시된 전자 기기의 블록도이다. 예를 들어, 전자 기기(800)는 휴대폰, 컴퓨터, 디지털 방송 단말기, 메시지 송수신 기기, 게임 콘솔, 태블릿 기기, 의료 기기, 휘트니스 기기, 개인용 휴대 단말기 등 단말일 수 있다.4 is a block diagram of an electronic device according to an embodiment of the present invention. For example, the electronic device 800 may be a terminal such as a mobile phone, a computer, a digital broadcasting terminal, a message transceiving device, a game console, a tablet device, a medical device, a fitness device, or a personal portable terminal.

도 4를 참조하면, 전자 기기(800)는 처리 컴포넌트(802), 메모리(804), 전원 컴포넌트(806), 멀티미디어 컴포넌트(808), 오디오 컴포넌트(810), 입력/출력(I/O)의 인터페이스(812), 센서 컴포넌트(814) 및 통신 컴포넌트(816) 중 하나 또는 복수 개의 컴포넌트를 포함할 수 있다.Referring to FIG. 4 , the electronic device 800 includes a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , and input/output (I/O) one or more of an interface 812 , a sensor component 814 , and a communication component 816 .

처리 컴포넌트(802)는 보통 디스플레이, 전화 호출, 데이터 통신, 카메라 동작 및 기록 동작과 관련된 동작과 같은 전자 기기(800)의 전체적인 동작을 제어한다. 처리 컴포넌트(802)는 상기 이벤트 검출 방법의 전부 또는 일부 단계를 완료하기 위한 명령어를 수행하는 하나 또는 복수 개의 프로세서(820)를 포함할 수 있다. 또한, 처리 컴포넌트(802)는 처리 컴포넌트(802) 및 다른 컴포넌트 사이의 인터랙션을 용이하게 하기 위해, 하나 또는 복수 개의 모듈을 포함할 수 있다. 예를 들어, 처리 컴포넌트(802)는 멀티미디어 컴포넌트(808) 및 처리 컴포넌트(802) 사이의 용이한 인터랙션을 위해, 멀티미디어 모듈을 포함할 수 있다.The processing component 802 controls the overall operation of the electronic device 800, such as operations usually related to displays, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 executing instructions to complete all or some steps of the event detection method. Further, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module for easy interaction between multimedia component 808 and processing component 802 .

메모리(804)는 전자 기기(800)의 동작을 지원하기 위해, 다양한 유형의 데이터를 저장하도록 구성된다. 이러한 데이터의 예는 전자 기기(800)에서의 동작을 위한 임의의 애플리케이션 프로그램 또는 방법의 명령어, 연락인 데이터, 전화번호부 데이터, 메시지, 이미지, 비디오 등을 포함한다. 메모리(804)는 정적 랜덤 액세스 메모리(SRAM), 전기적 소거 및 프로그램 가능 읽기 전용 메모리(EEPROM), 소거 및 프로그램 가능 읽기 전용 메모리(EPROM), 프로그램 가능 읽기 전용 메모리(PROM), 읽기 전용 메모리(ROM), 자기 메모리, 플래시 메모리, 디스켓 또는 CD와 같은 임의의 타입의 휘발성 또는 비휘발성 저장 기기 또는 이들의 조합에 의해 구현될 수 있다.The memory 804 is configured to store various types of data to support the operation of the electronic device 800 . Examples of such data include instructions, contact data, phone book data, messages, images, videos, and the like of any application program or method for operation on the electronic device 800 . Memory 804 includes static random access memory (SRAM), electrically erasable and programmable read-only memory (EEPROM), erasable and programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM) ), magnetic memory, flash memory, diskette or CD, or any type of volatile or non-volatile storage device, or a combination thereof.

전원 컴포넌트(806)는 전자 기기(800)의 다양한 컴포넌트에 전력을 제공한다. 전원 컴포넌트(806)는 전원 관리 시스템, 하나 또는 복수 개의 전원 및 전자 기기(800)를 위해 전력을 생성, 관리 및 분배하는 것과 관련된 다른 컴포넌트를 포함할 수 있다.Power component 806 provides power to various components of electronic device 800 . Power component 806 may include a power management system, one or more power sources, and other components related to generating, managing, and distributing power for electronic device 800 .

멀티미디어 컴포넌트(808)는 상기 전자 기기(800) 및 사용자 사이에 하나의 출력 인터페이스를 제공하는 스크린을 포함한다. 일부 실시예에 있어서, 스크린은 액정 디스플레이(LCD) 및 터치 패널(TP)을 포함할 수 있다. 만약 스크린이 터치 패널을 포함하면, 스크린은 사용자에 의해 입력된 신호를 수신하도록 터치스크린으로 구현될 수 있다. 터치 패널은 터치, 슬라이드 및 터치 패널에서의 제스처를 감지하도록 하나 또는 복수 개의 터치 센서를 포함한다 상기 터치 센서는 터치 또는 슬라이드 동작의 경계를 감지할 뿐만 아니라, 상기 터치 또는 슬라이드 동작과 관련된 지속 시간 및 압력을 검출할 수도 있다. 일부 실시예에 있어서, 멀티미디어 컴포넌트(808)는 하나의 전방 카메라 및 후방 카메라 중 적어도 하나를 포함한다. 전자 기기(800)가 촬영 모드 또는 비디오 모드와 같은 동작 모드에 있을 경우, 전방 카메라 및 후방 카메라 중 적어도 하나는 외부의 멀티미디어 데이터를 수신할 수 있다. 각 전방 카메라 및 후방 카메라는 고정된 광학 렌즈 시스템이거나 초점 거리 및 광학 줌 기능을 구비할 수 있다.The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive a signal input by a user. The touch panel includes one or a plurality of touch sensors to detect touch, slide, and gestures on the touch panel. The touch sensor not only senses the boundary of a touch or slide action, but also includes a duration associated with the touch or slide action and Pressure can also be detected. In some embodiments, multimedia component 808 includes at least one of one front camera and one rear camera. When the electronic device 800 is in an operation mode such as a photographing mode or a video mode, at least one of the front camera and the rear camera may receive external multimedia data. Each of the front and rear cameras may be a fixed optical lens system or may have focal length and optical zoom capabilities.

오디오 컴포넌트(810)는 오디오 신호 출력 및 신호 입력 중 적어도 하나를 수행하도록 구성된다. 예를 들어, 오디오 컴포넌트(810)는 하나의 마이크로폰(MIC)을 포함하고, 전자 기기(800)가 호출 모드, 기록 모드 및 음성 인식 모드와 같은 작동 모드일 경우, 마이크로폰은 외부 오디오 신호를 수신하도록 구성된다. 수신된 오디오 신호는 추가로 메모리(804)에 저장되거나 통신 컴포넌트(816)를 통해 송신될 수 있다. 일부 실시예에 있어서, 오디오 컴포넌트(810)는 오디오 신호를 출력하기 위한 하나의 스피커를 더 포함한다.The audio component 810 is configured to perform at least one of an audio signal output and a signal input. For example, the audio component 810 includes one microphone (MIC), and when the electronic device 800 is in an operation mode such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. is composed The received audio signal may be further stored in memory 804 or transmitted via communication component 816 . In some embodiments, the audio component 810 further includes one speaker for outputting an audio signal.

입력/출력(I/O) 인터페이스(812)는 처리 컴포넌트(802) 및 주변 인터페이스 모듈 사이에 인터페이스를 제공하고, 상기 주변 인터페이스 모듈은 키보드, 클릭 휠, 버튼 등일 수 있다. 이러한 버튼은 홈 버튼, 음량 버튼, 시작 버튼 및 잠금 버튼을 포함할 수 있지만 이에 한정되지 않는다.An input/output (I/O) interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, click wheel, button, or the like. Such buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.

센서 컴포넌트(814)는 전자 기기(800)에 다양한 측면의 상태 평가를 제공하기 위한 하나 또는 복수 개의 센서를 포함한다. 예를 들어, 센서 컴포넌트(814)는 전자 기기(800)의 온/오프 상태, 컴포넌트의 상대 위치를 검출할 수 있고, 예를 들어, 상기 컴포넌트는 전자 기기(800)의 모니터와 키패드이며, 센서 컴포넌트(814)는 전자 기기(800) 또는 전자 기기(800)에서 하나의 컴포넌트의 위치 변화, 사용자와 전자 기기(800) 접촉의 존재 유무, 전자 기기(800) 방향 또는 가속/감속 및 전자 기기(800)의 온도 변화도 검출할 수 있다. 센서 컴포넌트(814)는 임의의 물리적 접촉이 없을 경우 근처 물체의 존재를 검출하도록 구성된 근접 센서를 포함할 수 있다. 센서 컴포넌트(814)는 상보성 금속 산화막 반도체(CMOS) 또는 전하 결합 장치(CCD) 이미지 센서와 같은 이미징 애플리케이션에 사용하기 위한 광 센서를 더 포함할 수 있다. 일부 실시예에 있어서, 상기 센서 컴포넌트(814)는 가속도 센서, 자이로스코프 센서, 자기 센서, 압력 센서 또는 온도 센서를 더 포함할 수 있다.The sensor component 814 includes one or a plurality of sensors for providing the electronic device 800 with status evaluation of various aspects. For example, the sensor component 814 may detect an on/off state of the electronic device 800 , a relative position of the component, for example, the component is a monitor and a keypad of the electronic device 800 , and a sensor The component 814 is the electronic device 800 or a change in the position of one component in the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the direction or acceleration/deceleration of the electronic device 800, and the electronic device ( 800) can also be detected. The sensor component 814 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor component 814 may further include an optical sensor for use in imaging applications, such as complementary metal oxide semiconductor (CMOS) or charge coupled device (CCD) image sensors. In some embodiments, the sensor component 814 may further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

통신 컴포넌트(816)는 전자 기기(800) 및 다른 기기 사이의 유선 또는 무선 방법의 통신을 용이하게 하도록 구성된다. 전자 기기(800)는 예를 들어 와이파이(WiFi), 2세대 이동 통신 기술(2G) 또는 3세대 이동 통신 기술(3G) 또는 이들의 조합과 같은 통신 표준에 기반하는 무선 네트워크에 액세스할 수 있다. 일 예시적 실시예에 있어서, 통신 컴포넌트(816)는 방송 채널을 통해 외부 방송 관리 시스템으로부터의 방송 신호 또는 방송과 관련된 정보를 수신한다. 일 예시적 실시예에 있어서, 상기 통신 컴포넌트(816)는 근거리 통신을 촉진하도록 근거리 자기장 통신(NFC) 모듈을 더 포함한다. 예를 들어, NFC 모듈은 무선 주파수 식별(RFID) 기술, 적외선 통신 규격(IrDA) 기술, 초광대역(UWB) 기술, 블루투스(BT) 기술 및 다른 기술에 기반하여 구현될 수 있다.The communication component 816 is configured to facilitate communication in a wired or wireless manner between the electronic device 800 and another device. The electronic device 800 may access a wireless network based on a communication standard such as, for example, Wi-Fi, second-generation mobile communication technology (2G), or third-generation mobile communication technology (3G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system through a broadcast channel. In one demonstrative embodiment, the communication component 816 further includes a near field communication (NFC) module to facilitate near field communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared communication standard (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

예시적 실시예에 있어서, 전자 기기(800)는 상기 이벤트 검출 방법을 수행하기 위해, 하나 또는 복수 개의 응용 주문형 집적 회로(ASIC), 디지털 신호 프로세서(DSP), 디지털 신호 처리 기기(DSPD), 프로그램 가능 논리 소자(PLD), 필드 프로그램 가능 게이트 어레이(FPGA), 컨트롤러, 마이크로 컨트롤러, 마이크로 프로세서 또는 다른 전자 소자에 의해 구현될 수 있다.In an exemplary embodiment, the electronic device 800 includes one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), and programs to perform the event detection method. It may be implemented by a capable logic device (PLD), a field programmable gate array (FPGA), a controller, a microcontroller, a microprocessor, or other electronic device.

예시적 실시예에 있어서, 예를 들어 컴퓨터 프로그램 명령어를 포함하는 메모리(804)와 같은 비휘발성 컴퓨터 판독 가능 저장 매체를 더 제공하고, 상기 컴퓨터 프로그램 명령어는 전자 기기(800)의 프로세서(820)에 의해 수행됨으로써 상기 이벤트 검출 방법을 완료하도록 한다.In an exemplary embodiment, there is further provided a non-volatile computer readable storage medium, such as, for example, a memory 804 comprising computer program instructions, the computer program instructions being provided to the processor 820 of the electronic device 800 . to complete the event detection method by being performed by

도 5는 본 발명의 실시예에 따라 도시된 다른 전자 기기의 블록도이다. 예를 들어, 전자 기기(1900)는 서버로 제공될 수 있다. 도 5를 참조하면, 전자 기기(1900)는 처리 컴포넌트(1922)를 포함하고, 추가로 하나 또는 복수 개의 프로세서 및 메모리(1932)를 대표로 하는 메모리 자원을 포함하며, 예를 들어 애플리케이션 프로그램과 같은 처리 컴포넌트(1922)에 의해 수행될 수 있는 명령어를 저장하기 위한 것이다. 메모리(1932)에 저장된 애플리케이션 프로그램은 하나 또는 하나 이상의 각 명령어 세트에 대응되는 모듈을 포함할 수 있다. 또한, 처리 컴포넌트(1922)는 명령어를 수행하여, 상기 이벤트 검출 방법을 수행하도록 구성된다.5 is a block diagram of another electronic device shown according to an embodiment of the present invention. For example, the electronic device 1900 may be provided as a server. Referring to FIG. 5 , an electronic device 1900 includes a processing component 1922 and further includes one or more processors and memory resources representative of a memory 1932 , such as an application program, for example. to store instructions that may be executed by processing component 1922 . The application program stored in the memory 1932 may include one or more modules corresponding to each instruction set. Further, processing component 1922 is configured to execute instructions to perform the event detection method.

전자 기기(1900)는 전자 기기(1900)의 전원 관리를 수행하도록 구성된 전원 컴포넌트(1926), 전자 기기(1900)를 네트워크에 연결하도록 구성된 유선 또는 무선 네트워크 인터페이스(1950) 및 입력 출력(I/O) 인터페이스(1958)를 더 포함할 수 있다. 전자 기기(1900)는, 예를 들어 마이크로소프트 서버 운영 체제(Windows ServerTM), 애플 회사에서 출시한 그래픽 사용자 인터페이스 기반 운영 체제(Mac OS XTM), 다중 사용자 다중 프로세스의 컴퓨터 운영 체제(UnixTM), 자유 및 오픈 소스 코드 Unix 계열 운영 체제(LinuxTM), 오픈 소스 코드 Unix 계열 운영 체제(FreeBSDTM) 또는 유사한 운영 체제와 같은 메모리(1932)에 저장된 운영 체제에 기반하여 동작될 수 있다.The electronic device 1900 includes a power component 1926 configured to perform power management of the electronic device 1900 , a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and input/output (I/O) ) may further include an interface 1958 . The electronic device 1900 is, for example, a Microsoft server operating system (Windows Server™), a graphical user interface based operating system (Mac OS X™) released by Apple Corporation, a multi-user multi-process computer operating system (Unix™), a free and an operating system stored in the memory 1932 such as an open source code Unix-like operating system (Linux™), an open source code Unix-like operating system (FreeBSD™), or a similar operating system.

예시적 실시예에 있어서, 예를 들어 컴퓨터 프로그램 명령어를 포함하는 메모리(1932)와 같은 비휘발성 컴퓨터 판독 가능 저장 매체를 더 제공하고, 상기 컴퓨터 프로그램 명령어는 전자 기기(1900)의 처리 컴포넌트(1922)에 의해 수행됨으로써 상기 이벤트 검출 방법을 완료하도록 한다.In an exemplary embodiment, there is further provided a non-volatile computer readable storage medium, such as, for example, a memory 1932 comprising computer program instructions, the computer program instructions comprising: a processing component 1922 of an electronic device 1900 to complete the event detection method by being performed by

본 발명은 시스템, 방법 및 컴퓨터 프로그램 제품 중 적어도 하나일 수 있다. 컴퓨터 프로그램 제품은 컴퓨터 판독 가능 저장 매체를 포함할 수 있고, 컴퓨터 판독 가능 저장 매체에는 프로세서로 하여금 본 발명의 각 측면을 구현하도록 하기 위한 컴퓨터 판독 가능 프로그램 명령어가 탑재되어 있다. The present invention may be at least one of a system, a method and a computer program product. The computer program product may include a computer-readable storage medium, in which the computer-readable program instructions for causing a processor to implement each aspect of the present invention are loaded.

컴퓨터 판독 가능 저장 매체는 명령어 실행 기기에 의해 사용되는 명령어를 유지 및 저장할 수 있는 유형 기기일 수 있다. 컴퓨터 판독 가능 저장 매체는 예를 들어 전기 저장 기기, 자기 저장 기기, 광 저장 기기, 전자기 저장 기기, 반도체 저장 기기 또는 이들의 임의의 적합한 조합일 수 있(지만 이에 한정되지 않는)다. 컴퓨터 판독 가능 저장 매체의 더욱 구체적인 예(비전면한 리스트)는, 휴대용 컴퓨터 디스크, 하드 디스크, 랜덤 액세스 메모리(RAM), 읽기 전용 메모리(ROM), 소거 및 프로그램 가능 읽기 전용 메모리(EPROM 또는 플래시 메모리), 정적 랜덤 액세스 메모리(SRAM), 휴대용 콤팩트 디스크 읽기 전용 메모리(CD-ROM), 디지털 비디오 디스크(DVD), 메모리 스틱, 플로피 디스크, 명령어가 저장된 펀치 카드 또는 홈 내에 철기된 구조와 같은 기계적으로 인코딩된 기기 및 이들의 임의의 적합한 조합을 포함한다. 여기서 사용되는 컴퓨터 판독 가능 저장 매체는 무선 전자파 또는 다른 자유롭게 전파되는 전자기파, 도파관 또는 다른 전송 매체를 통해 전파되는 전자기파(예를 들어, 광섬유 케이블을 통과하는 펄스), 또는 와이어를 통해 전송되는 전기 신호와 같은 순간적인 신호 자체로 해석되지 않는다.A computer-readable storage medium may be a tangible device capable of holding and storing instructions for use by an instruction execution device. The computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory). ), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital video disk (DVD), memory stick, floppy disk, encoded devices and any suitable combination thereof. As used herein, a computer-readable storage medium includes radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (eg, pulses passing through fiber optic cables), or electrical signals transmitted over wires. It is not interpreted as the same instantaneous signal itself.

여기서 설명한 컴퓨터 판독 가능 프로그램 명령어는 컴퓨터 판독 가능 저장 매체로부터 각 컴퓨팅/처리 기기로 다운로드 될 수 있거나, 또는 인터넷, 근거리 통신망, 광역 통신망 및 무선 네트워크 중 적어도 하나와 같은 네트워크를 통해, 외부 컴퓨터 또는 외부 저장 기기로 다운로드 될 수 있다. 네트워크는 동 전송 케이블, 광섬유 전송, 무선 전송, 라우터, 방화벽, 교환기, 게이트웨이 컴퓨터 및 에지 서버 중 적어도 하나를 포함할 수 있다. 각 컴퓨팅/처리 기기의 네트워크 어댑터 카드 또는 네트워크 인터페이스는 네트워크로부터 컴퓨터 판독 가능 프로그램 명령어를 수신하고, 각 컴퓨팅/처리 기기에서의 컴퓨터 판독 가능 저장 매체에 저장하기 위해, 상기 컴퓨터 판독 가능 프로그램 명령어를 전달한다.The computer readable program instructions described herein may be downloaded from a computer readable storage medium to each computing/processing device, or stored on an external computer or external storage via a network such as at least one of the Internet, a local area network, a wide area network, and a wireless network. It can be downloaded to your device. The network may include at least one of a copper transmission cable, a fiber optic transmission, a wireless transmission, a router, a firewall, a switchboard, a gateway computer, and an edge server. A network adapter card or network interface of each computing/processing device receives computer readable program instructions from a network and transmits the computer readable program instructions for storage in a computer readable storage medium in each computing/processing device .

본 발명의 동작을 실행하기 위한 컴퓨터 프로그램 명령어는 어셈블리 명령어, 명령어 세트 아키텍처(ISA) 명령어, 머신 명령어, 머신 관련 명령어, 마이크로 코드, 펌웨어 명령어, 상태 설정 데이터, 또는 하나 또는 하나 이상의 프로그래밍 언어의 임의의 조합으로 작성된 소스 코드 또는 목적 코드일 수 있고, 상기 프로그래밍 언어는 Smalltalk, C++ 등과 같은 객체 지향 프로그래밍 언어 및 "C" 언어 또는 유사한 프로그래밍 언어와 같은 일반적인 프로그래밍 언어를 포함한다. 컴퓨터 판독 가능 프로그램 명령어는 사용자 컴퓨터에서 완전히 수행되거나, 사용자 컴퓨터에서 부분적으로 수행되거나, 독립적인 소프트웨어 패키지로서 수행되거나, 사용자 컴퓨터에서 일부가 수행되고 원격 컴퓨터에서 일부가 수행되거나, 원격 컴퓨터 또는 서버에서 완전히 수행될 수 있다. 원격 컴퓨터와 관련된 상황에서, 원격 컴퓨터는 근거리 통신망(LAN) 또는 광대역 통신망(WAN)을 포함하는 모든 타입의 네트워크를 통해 사용자 컴퓨터에 연결되거나 외부 컴퓨터에 연결(예를 들어 인터넷 서비스 제공 업체를 사용하여 인터넷을 통해 연결)될 수 있다. 일부 실시예에 있어서, 프로그램 가능 논리 회로, 필드 프로그래머블 게이트 어레이(FPGA) 또는 프로그램 가능 논리 어레이 (PLA)와 같은 전자 회로는 컴퓨터 판독 가능 프로그램 명령어의 상태 정보를 이용하여 개인화될 수 있고, 상기 전자 회로는 컴퓨터 판독 가능 프로그램 명령어를 수행할 수 있음으로써, 본 발명의 다양한 측면을 구현한다.The computer program instructions for carrying out the operations of the present invention may include assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or any of one or more programming languages. It may be source code or object code written in combination, and the programming languages include object-oriented programming languages such as Smalltalk, C++, and the like, and general programming languages such as "C" languages or similar programming languages. The computer readable program instructions may be performed entirely on the user's computer, partially on the user's computer, as a standalone software package, in part on the user's computer and in part on a remote computer, or completely on the remote computer or server. can be performed. In situations involving remote computers, the remote computer is connected to your computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or connected to an external computer (e.g. using an Internet service provider). can be connected via the Internet). In some embodiments, an electronic circuit such as a programmable logic circuit, a field programmable gate array (FPGA) or a programmable logic array (PLA) can be personalized using state information in computer readable program instructions, the electronic circuit may execute computer readable program instructions, thereby implementing various aspects of the present invention.

여기서 본 발명의 실시예에 따른 방법, 장치(시스템) 및 컴퓨터 프로그램 제품의 흐름도 및 블록도 중 적어도 하나를 참조하여 본 발명의 다양한 측면을 설명하였다. 흐름도 및 블록도 중 적어도 하나의 각 블록 및 흐름도 및 블록도 중 적어도 하나의 블록들의 조합은, 컴퓨터 판독 가능 프로그램 명령어에 의해 모두 구현될 수 있음을 이해해야 한다.Here, various aspects of the present invention have been described with reference to at least one of a flowchart and a block diagram of a method, an apparatus (system), and a computer program product according to an embodiment of the present invention. It should be understood that each block of at least one of the flowcharts and block diagrams and combinations of blocks of at least one of the flowcharts and block diagrams may all be implemented by computer readable program instructions.

이러한 컴퓨터 판독 가능 프로그램 명령어는 범용 컴퓨터, 특수 목적 컴퓨터 또는 다른 프로그램 가능 데이터 처리 장치의 프로세서에 제공될 수 있음으로써, 이러한 명령어가 컴퓨터 또는 다른 프로그램 가능 데이터 처리 장치의 프로세서에 의해 수행되도록 하는 기계가 생성되고, 흐름도 및 블록도 중 적어도 하나에서의 하나 또는 복수 개의 블록에 지정된 기능/동작을 구현하는 장치가 생성된다. 이러한 컴퓨터 판독 가능 프로그램 명령어를 컴퓨터 판독 가능 저장 매체에 저장할 수도 있으며, 이러한 명령어는 컴퓨터, 프로그램 가능 데이터 처리 장치 및 다른 기기 중 적어도 하나가 특정한 방법으로 작동될 수 있도록 함으로써, 명령어가 저장되어 있는 컴퓨터 판독 가능 매체는 제조품을 포함하며, 상기 제조품은 흐름도 및 블록도 중 적어도 하나에서의 하나 또는 복수 개의 블록에 지정된 기능/동작을 구현하는 명령어를 포함한다.These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing device, thereby causing the machine to cause such instructions to be executed by the processor of the computer or other programmable data processing device. and an apparatus implementing the functions/operations specified in one or a plurality of blocks in at least one of a flowchart and a block diagram is created. These computer readable program instructions may be stored in a computer readable storage medium, which instructions may cause at least one of a computer, a programmable data processing apparatus, and other devices to be operated in a specific way, thereby causing the computer readable instructions stored thereon. The capable medium includes an article of manufacture comprising instructions for implementing the functions/acts specified in one or a plurality of blocks in at least one of a flowchart and a block diagram.

컴퓨터 판독 가능 프로그램 명령어는 컴퓨터, 다른 프로그램 가능 데이터 처리 장치 또는 다른 기기에 로딩될 수도 있어, 컴퓨터로 구현되는 과정을 생성하기 위해, 일련의 동작 단계가 컴퓨터, 다른 프로그램 가능 데이터 처리 장치 또는 다른 기기에서 수행되도록 함으로써, 컴퓨터, 다른 프로그램 가능 데이터 처리 장치 또는 다른 기기에서 수행되는 명령어는 흐름도 및 블록도 중 적어도 하나에서의 하나 또는 복수 개의 블록에 지정된 기능/동작을 구현한다.The computer readable program instructions may be loaded into a computer, other programmable data processing device, or other device such that a series of operational steps is performed on the computer, other programmable data processing device, or other device to create a computer-implemented process. By causing it to be executed, the instructions executed on the computer, other programmable data processing device, or other device implement the functions/actions specified in one or a plurality of blocks in at least one of the flowcharts and block diagrams.

도면의 흐름도 및 블록도는 본 발명의 복수 개의 실시예에 따른 시스템, 방법 및 컴퓨터 프로그램 제품의 구현 가능한 체계 아키텍처, 기능 및 동작을 도시한다. 이와 관련하여, 흐름도 또는 블록도에서의 각 블록은 모듈, 프로그램 세그먼트 또는 명령어의 일부를 나타낼 수 있고, 상기 모듈, 프로그램 세그먼트 또는 명령어의 일부는 하나 또는 복수 개의 지정된 논리적 기능을 구현하기 위한 실행 가능한 명령어를 포함한다. 일부 대안적인 구현에서, 블록에 표시된 기능은 도면에 표시된 것과 상이한 순서로 발생될 수도 있다. 예를 들어, 연속적으로 도시된 두 개의 블록은 실제로 동시에 수행될 수 있고, 때로는 관련 기능에 따라 역순으로 수행될 수도 있으며, 이는 관련된 기능에 의해 결정된다. 또한 유의해야 할 것은, 블록도 및 흐름도 중 적어도 하나에서의 각 블록 및 블록도 및 흐름도 중 적어도 하나에서의 블록의 조합은, 지정된 기능 또는 동작을 실행하는 전용 하드웨어 기반의 시스템에 의해 구현될 수 있거나, 전용 하드웨어와 컴퓨터 명령어의 조합으로 구현될 수 있다.The flow diagrams and block diagrams in the drawings illustrate implementable system architectures, functions, and operations of systems, methods, and computer program products in accordance with a plurality of embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent a module, program segment, or portion of an instruction, wherein the module, program segment or portion of the instruction is an executable instruction for implementing one or a plurality of specified logical functions. includes In some alternative implementations, the functions indicated in the blocks may occur in a different order than indicated in the figures. For example, two blocks shown in succession may actually be performed simultaneously, and sometimes may be performed in the reverse order according to the related function, which is determined by the related function. It should also be noted that each block in at least one of the block diagrams and flowcharts, and combinations of blocks in at least one of the block diagrams and flowcharts, may be implemented by a dedicated hardware-based system for executing specified functions or operations, or , can be implemented by a combination of dedicated hardware and computer instructions.

상기 컴퓨터 프로그램 제품은 구체적으로 하드웨어, 소프트웨어 또는 이들의 결합의 형태를 통해 구현될 수 있다. 선택 가능한 실시예에 있어서, 상기 컴퓨터 프로그램 제품은 컴퓨터 저장 매체로서 구체적으로 체현되며, 다른 선택 가능한 실시예에 있어서, 컴퓨터 프로그램 제품은 예를 들어 소프트웨어 개발 키트(Software Development Kit, SDK) 등과 같은 소프트웨어 제품으로서 구체적으로 체현된다.The computer program product may be specifically implemented in the form of hardware, software, or a combination thereof. In an optional embodiment, the computer program product is specifically embodied as a computer storage medium, and in another optional embodiment, the computer program product is a software product, for example a Software Development Kit (SDK) or the like. is specifically embodied as

이상 본 발명의 각 실시예를 설명하였고, 상기 설명은 예시적이며, 철저하지 않고, 개시된 각 실시예에 한정되지도 않는다. 설명된 각 실시예의 범위 및 사상을 벗어나지 않는 경우, 많은 수정 및 변경은 본 기술 분야의 통상적인 기술자에게는 자명한 것이다. 본문에서 사용된 용어의 선택은 각 실시예의 원리, 실제 응용 또는 시장에서의 기술에 대한 개선을 가장 잘 해석하거나, 또는 본 기술분야의 다른 통상적인 기술자가 본문에서 개시된 각 실시예를 이해할 수 있는 것을 목적으로 한다.Each embodiment of the present invention has been described above, and the description is illustrative, not exhaustive, and is not limited to each disclosed embodiment. Many modifications and changes will be apparent to those skilled in the art without departing from the scope and spirit of each described embodiment. The choice of terminology used herein best interprets the principle of each embodiment, practical application, or improvement of technology in the market, or that others skilled in the art can understand each embodiment disclosed herein. The purpose.

본 발명의 실시예는 이벤트 검출 방법, 장치, 전자 기기, 저장 매체 및 프로그램 제품을 개시하였고, 여기서, 이벤트 검출 방법은, 에스컬레이터의 비디오 스트림을 획득하는 단계; 상기 비디오 스트림에 대해 인체 검출을 수행하여, 상기 비디오 스트림에서의 타깃 대상이 위치하는 제1 영역을 결정하는 단계; 상기 제1 영역과 대응되는 제1 영역 이미지에 대해 포즈 인식을 수행하여, 상기 타깃 대상의 포즈 인식 결과를 얻는 단계 - 상기 포즈 인식 결과에는 상기 타깃 대상의 포즈가 이상 포즈인 신뢰도가 포함됨 - ; 및 상기 타깃 대상의 포즈 인식 결과에 따라, 상기 타깃 대상의 이벤트 검출 결과를 결정하는 단계를 포함한다. 상기 이벤트 검출 방법을 통해, 이벤트 검출의 정확도를 향상시킴으로써, 이외 사고 발생 확률을 낮추고, 인력 검출의 비용을 줄일 수 있다.An embodiment of the present invention discloses an event detection method, apparatus, electronic device, storage medium and program product, wherein the event detection method includes: acquiring a video stream of an escalator; determining a first region in the video stream where a target object is located by performing human body detection on the video stream; performing pose recognition on a first area image corresponding to the first area to obtain a pose recognition result of the target object, wherein the pose recognition result includes reliability that the target pose is an abnormal pose; and determining an event detection result of the target target according to the pose recognition result of the target target. Through the event detection method, by improving the accuracy of event detection, it is possible to lower the probability of occurrence of other accidents and reduce the cost of manpower detection.

Claims (21)

이벤트 검출 방법으로서,
에스컬레이터의 비디오 스트림을 획득하는 단계;
상기 비디오 스트림에 대해 인체 검출을 수행하여, 상기 비디오 스트림에서의 타깃 대상이 위치하는 제1 영역을 결정하는 단계;
상기 제1 영역과 대응되는 제1 영역 이미지에 대해 포즈 인식을 수행하여, 상기 타깃 대상의 포즈 인식 결과를 얻는 단계 - 상기 포즈 인식 결과에는 상기 타깃 대상의 포즈가 이상 포즈인 신뢰도가 포함됨 - ; 및
상기 타깃 대상의 포즈 인식 결과에 따라, 상기 타깃 대상의 이벤트 검출 결과를 결정하는 단계를 포함하는 것을 특징으로 하는 이벤트 검출 방법.
An event detection method comprising:
acquiring a video stream of the escalator;
determining a first region in the video stream where a target object is located by performing human body detection on the video stream;
performing pose recognition on a first area image corresponding to the first area to obtain a pose recognition result of the target object, wherein the pose recognition result includes reliability that the target pose is an abnormal pose; and
and determining an event detection result of the target object according to the pose recognition result of the target object.
제1항에 있어서,
상기 타깃 대상의 포즈 인식 결과에 따라, 상기 타깃 대상의 이벤트 검출 결과를 결정하는 단계는,
상기 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값보다 크거나 같은 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 발생으로 결정하는 단계를 포함하는 것을 특징으로 하는 이벤트 검출 방법.
According to claim 1,
The step of determining the event detection result of the target object according to the pose recognition result of the target object,
and determining that the event detection result of the target object is an abnormal event when the reliability of the target object at the current time is greater than or equal to a reliability threshold.
제1항에 있어서,
상기 타깃 대상의 포즈 인식 결과에 따라, 상기 타깃 대상의 이벤트 검출 결과를 결정하는 단계는,
상기 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값보다 크거나 같고, 신뢰도가 상기 신뢰도 임계값보다 크거나 같은 제1 지속 기간이 활성화 시간보다 크거나 같은 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 발생으로 결정하는 단계를 포함하는 것을 특징으로 하는 이벤트 검출 방법.
According to claim 1,
The step of determining the event detection result of the target object according to the pose recognition result of the target object,
When the reliability of the target object at the current time is greater than or equal to the reliability threshold, and the first duration in which the reliability is greater than or equal to the reliability threshold is greater than or equal to the activation time, the event detection result of the target object is abnormal An event detection method comprising determining that an event has occurred.
제1항 내지 제3항 중 어느 한 항에 있어서,
상기 이벤트 검출 방법은,
상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트가 발생된 것인 경우, 제1 경고 정보를 송신하는 단계를 더 포함하는 것을 특징으로 하는 이벤트 검출 방법.
4. The method according to any one of claims 1 to 3,
The event detection method is
The method of claim 1, further comprising: transmitting first warning information when an abnormal event has occurred as a result of detecting the event of the target target.
제1항 내지 제4항 중 어느 한 항에 있어서,
상기 이벤트 검출 방법은,
상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트가 발생된 것인 경우, 상기 타깃 대상의 검출 상태를 검출된 상태로 변경하는 단계;
상기 타깃 대상의 검출 상태는 검출된 상태이고, 상기 타깃 대상이 현재 시각에서의 신뢰도는 신뢰도 임계값보다 크거나 같으며, 신뢰도가 상기 신뢰도 임계값보다 크거나 같은 제2 지속 기간이 냉각 시간보다 큰 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 지속으로 결정하는 단계; 및
상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 지속인 경우, 제2 경고 정보를 송신하는 단계를 더 포함하는 것을 특징으로 하는 이벤트 검출 방법.
5. The method according to any one of claims 1 to 4,
The event detection method is
changing the detection state of the target object to a detected state when the event detection result of the target object is that an abnormal event has occurred;
The detection state of the target object is a detected state, the reliability of the target object at the current time is greater than or equal to a reliability threshold, and a second duration in which the reliability is greater than or equal to the reliability threshold is greater than the cooling time. in this case, determining that the event detection result of the target object is an abnormal event continuation; and
The method of claim 1, further comprising: transmitting second warning information when the event detection result of the target object is an abnormal event continuation.
제5항에 있어서,
상기 이벤트 검출 방법은,
상기 타깃 대상의 검출 상태가 상기 검출된 상태이고, 상기 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값보다 작으며, 신뢰도가 상기 신뢰도 임계값보다 작은 제3 지속 기간이 비활성화 시간보다 큰 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 종료로 결정하는 단계를 더 포함하는 것을 특징으로 하는 이벤트 검출 방법.
6. The method of claim 5,
The event detection method is
When the detection state of the target object is the detected state, the reliability of the target object at the current time is less than a reliability threshold value, and a third duration period in which the reliability is less than the reliability threshold value is greater than the inactivation time, the The event detection method according to claim 1, further comprising determining that the event detection result of the target object is the end of the abnormal event.
제1항 내지 제6항 중 어느 한 항에 있어서,
상기 제1 영역과 대응되는 제1 영역 이미지를 결정하는 단계는,
기설정된 확장 계수에 따라, 상기 제1 영역에 대해 확장을 수행하여, 제2 영역을 얻는 단계;
상기 비디오 스트림의 비디오 프레임에서 상기 제2 영역의 이미지를 잘라내어, 상기 제1 영역 이미지를 얻는 단계를 포함하는 것을 특징으로 하는 이벤트 검출 방법.
7. The method according to any one of claims 1 to 6,
The step of determining a first area image corresponding to the first area includes:
performing expansion on the first area according to a preset extension coefficient to obtain a second area;
and cropping the image of the second region from the video frame of the video stream to obtain the image of the first region.
제1항 내지 제7항 중 어느 한 항에 있어서,
상기 제1 영역과 대응되는 제1 영역 이미지에 대해 포즈 인식을 수행하는 단계는, 포즈 인식 네트워크를 통해 상기 제1 영역과 대응되는 제1 영역 이미지에 대해 포즈 인식을 수행하는 단계를 포함하고;
상기 이벤트 검출 방법은, 기설정된 훈련 집합에 따라 훈련하여 상기 포즈 인식 네트워크를 얻는 단계 - 상기 훈련 집합에서 샘플 이미지에 의해 태깅된 대상 포즈에는 이상 포즈, 정상 포즈 및 다른 포즈가 포함되며, 상기 다른 포즈에는 정상 포즈 및 이상 포즈를 제외한 포즈가 포함됨 - 를 더 포함하는 것을 특징으로 하는 이벤트 검출 방법.
8. The method according to any one of claims 1 to 7,
The performing pose recognition on the first area image corresponding to the first area includes performing pose recognition on the first area image corresponding to the first area through a pose recognition network;
The event detection method includes: training according to a preset training set to obtain the pose recognition network; in the training set, target poses tagged by sample images include abnormal poses, normal poses, and other poses, and the other poses include: includes poses other than normal poses and abnormal poses.
제2항 내지 제6항 중 어느 한 항에 있어서,
상기 이상 이벤트는 쪼그려 앉음 이벤트를 포함하는 것을 특징으로 하는 이벤트 검출 방법.
7. The method according to any one of claims 2 to 6,
The abnormal event is an event detection method, characterized in that it comprises a squatting event.
이벤트 검출 장치로서,
에스컬레이터의 비디오 스트림을 획득하도록 구성되는 비디오 스트림 획득 부분;
상기 비디오 스트림에 대해 인체 검출을 수행하여, 상기 비디오 스트림에서의 타깃 대상이 위치하는 제1 영역을 결정하도록 구성되는 영역 결정 부분;
상기 제1 영역과 대응되는 제1 영역 이미지에 대해 포즈 인식을 수행하여, 상기 타깃 대상의 포즈 인식 결과를 얻도록 구성되는 포즈 인식 부분 - 상기 포즈 인식 결과에는 상기 타깃 대상의 포즈가 이상 포즈인 신뢰도가 포함됨 - ; 및
상기 타깃 대상의 포즈 인식 결과에 따라, 상기 타깃 대상의 이벤트 검출 결과를 결정하도록 구성되는 이벤트 검출 부분을 포함하는 것을 특징으로 하는 이벤트 검출 장치.
An event detection device comprising:
a video stream acquiring portion, configured to acquire a video stream of the escalator;
a region determining portion configured to perform human body detection on the video stream to determine a first region in the video stream where a target object is located;
A pose recognition part configured to obtain a pose recognition result of the target object by performing pose recognition on a first area image corresponding to the first area - Reliability that the pose of the target object is an abnormal pose in the pose recognition result contains - ; and
and an event detection part configured to determine an event detection result of the target object according to a pose recognition result of the target object.
제10항에 있어서,
상기 이벤트 검출 부분은 또한, 상기 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값보다 크거나 같은 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 발생으로 결정하도록 구성되는 것을 특징으로 하는 이벤트 검출 장치.
11. The method of claim 10,
The event detection unit is further configured to determine that the event detection result of the target object is an abnormal event occurrence when the reliability of the target object at the current time is greater than or equal to a reliability threshold value.
제10항에 있어서,
상기 이벤트 검출 부분은 또한, 상기 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값보다 크거나 같고, 신뢰도가 상기 신뢰도 임계값보다 크거나 같은 제1 지속 기간이 활성화 시간보다 크거나 같은 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 발생으로 결정하도록 구성되는 것을 특징으로 하는 이벤트 검출 장치.
11. The method of claim 10,
The event detection part is further configured to: when the target object has a reliability at the current time greater than or equal to a reliability threshold, and a first duration in which the reliability is greater than or equal to the reliability threshold is greater than or equal to an activation time, the target object The event detection device, characterized in that the event detection result of the target is configured to determine that an abnormal event occurs.
제10항 내지 제12항 중 어느 한 항에 있어서,
상기 이벤트 검출 장치는, 상기 타깃 대상의 이벤트 검출 결과가 이상 이벤트가 발생된 것인 경우, 제1 경고 정보를 송신하도록 구성되는 제1 경고 부분을 더 포함하는 것을 특징으로 하는 이벤트 검출 장치.
13. The method according to any one of claims 10 to 12,
The event detecting device further comprises a first warning part configured to transmit first warning information when the event detection result of the target is that an abnormal event has occurred.
제10항 내지 제13항 중 어느 한 항에 있어서,
상기 이벤트 검출 장치는, 상기 타깃 대상의 이벤트 검출 결과가 이상 이벤트가 발생된 것인 경우, 상기 타깃 대상의 검출 상태를 검출된 상태로 변경하도록 구성되는 상태 변경 부분을 더 포함하고;
상기 이벤트 검출 부분은 또한, 상기 타깃 대상의 검출 상태는 검출된 상태이고, 상기 타깃 대상이 현재 시각에서의 신뢰도는 신뢰도 임계값보다 크거나 같으며, 신뢰도가 상기 신뢰도 임계값보다 크거나 같은 제2 지속 기간이 냉각 시간보다 큰 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 지속으로 결정하도록 구성되고;
상기 이벤트 검출 장치는, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 지속인 경우, 제2 경고 정보를 송신하도록 구성되는 제1 경고 부분을 더 포함하는 것을 특징으로 하는 이벤트 검출 장치.
14. The method according to any one of claims 10 to 13,
the event detection apparatus further includes a state change part configured to change the detection state of the target object to the detected state when the event detection result of the target object is that an abnormal event has occurred;
The event detection part may further include: a second detection state of the target object is a detected state, the reliability of the target object at the current time is greater than or equal to a reliability threshold, and the reliability is greater than or equal to the reliability threshold. if the duration is greater than the cooling time, the event detection result of the target object is configured to determine an abnormal event duration;
The event detection device further comprises a first warning part configured to transmit second warning information when the event detection result of the target object is an abnormal event continuation.
제14항에 있어서,
상기 이벤트 검출 부분은 또한, 상기 타깃 대상의 검출 상태가 상기 검출된 상태이고, 상기 타깃 대상이 현재 시각에서의 신뢰도가 신뢰도 임계값보다 작으며, 신뢰도가 상기 신뢰도 임계값보다 작은 제3 지속 기간이 비활성화 시간보다 큰 경우, 상기 타깃 대상의 이벤트 검출 결과는 이상 이벤트 종료로 결정하도록 구성되는 것을 특징으로 하는 이벤트 검출 장치.
15. The method of claim 14,
The event detection part may further include a third duration in which the detection state of the target object is the detected state, the target object has a reliability at a current time less than a reliability threshold value, and the reliability is less than the reliability threshold value. If the inactivation time is greater than the inactivation time, the event detection result of the target object is an event detection device, characterized in that configured to determine the end of the abnormal event.
제10항 내지 제15항 중 어느 한 항에 있어서,
상기 이벤트 검출 장치는,
기설정된 확장 계수에 따라, 상기 제1 영역에 대해 확장을 수행하여, 제2 영역을 얻도록 구성되는 확장 부분; 및
상기 비디오 스트림의 비디오 프레임에서 상기 제2 영역의 이미지를 잘라내어, 상기 제1 영역 이미지를 얻도록 구성되는 크롭 부분을 더 포함하는 것을 특징으로 하는 이벤트 검출 장치.
16. The method according to any one of claims 10 to 15,
The event detection device,
an expansion part configured to perform expansion on the first area according to a preset expansion coefficient to obtain a second area; and
and a cropping portion configured to crop the image of the second region from the video frame of the video stream to obtain the image of the first region.
제10항 내지 제16항 중 어느 한 항에 있어서,
상기 포즈 인식 부분은 또한, 포즈 인식 네트워크를 통해 상기 제1 영역과 대응되는 제1 영역 이미지에 대해 포즈 인식을 수행하도록 구성되고;
상기 이벤트 검출 장치는, 기설정된 훈련 집합에 따라 훈련하여 상기 포즈 인식 네트워크를 얻도록 구성되는 훈련 부분 - 상기 훈련 집합에서 샘플 이미지에 의해 태깅된 대상 포즈에는 이상 포즈, 정상 포즈 및 다른 포즈가 포함되며, 상기 다른 포즈에는 정상 포즈 및 이상 포즈를 제외한 포즈가 포함됨 - 을 더 포함하는 것을 특징으로 하는 이벤트 검출 장치.
17. The method according to any one of claims 10 to 16,
the pose recognition part is further configured to perform pose recognition on a first area image corresponding to the first area through a pose recognition network;
wherein the event detection device includes a training part, configured to obtain the pose recognition network by training according to a preset training set, wherein the target pose tagged by the sample image in the training set includes an abnormal pose, a normal pose and another pose; , The other poses include poses other than normal poses and abnormal poses.
제11항 내지 제15항 중 어느 한 항에 있어서,
상기 이상 이벤트는 쪼그려 앉음 이벤트를 포함하는 것을 특징으로 하는 이벤트 검출 장치.
16. The method according to any one of claims 11 to 15,
The abnormal event is an event detection device, characterized in that it includes a squatting event.
전자 기기로서,
프로세서; 및
프로세서가 실행 가능한 명령어를 저장하도록 구성된 메모리를 포함하고;
상기 프로세서는 상기 메모리에 저장된 명령어를 호출하여, 제1항 내지 제9항 중 어느 한 항에 따른 이벤트 검출 방법을 실행하도록 구성된 것을 특징으로 하는 전자 기기.
As an electronic device,
processor; and
the processor includes a memory configured to store executable instructions;
The electronic device, characterized in that the processor is configured to execute the event detection method according to any one of claims 1 to 9 by calling an instruction stored in the memory.
컴퓨터 판독 가능 저장 매체로서,
컴퓨터 프로그램 명령어가 저장되어 있고, 상기 컴퓨터 프로그램 명령어가 프로세서에 의해 실행될 경우 제1항 내지 제9항 중 어느 한 항에 따른 이벤트 검출 방법을 구현하는 것을 특징으로 하는 컴퓨터 판독 가능 저장 매체.
A computer readable storage medium comprising:
A computer readable storage medium having stored thereon computer program instructions, and when the computer program instructions are executed by a processor, the event detection method according to any one of claims 1 to 9 is implemented.
컴퓨터 프로그램 제품으로서,
컴퓨터 판독 가능 코드가 포함되고, 컴퓨터 판독 가능 코드가 기기에서 작동되는 경우, 기기에서의 프로세서는 제1항 내지 제9항 중 어느 한 항에 따른 이벤트 검출 방법을 구현하기 위한 명령어를 실행하는 것을 특징으로 하는 컴퓨터 프로그램 제품.
A computer program product comprising:
Computer readable code is included, characterized in that when the computer readable code is operated in a device, a processor in the device executes instructions for implementing the method of detecting an event according to any one of claims 1 to 9. A computer program product made with
KR1020227018557A 2021-03-03 2021-07-16 Event detection methods, devices, electronic devices, storage media and program products KR20220125716A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN202110236981.X 2021-03-03
CN202110236981.XA CN113011290A (en) 2021-03-03 2021-03-03 Event detection method and device, electronic equipment and storage medium
PCT/CN2021/106863 WO2022183661A1 (en) 2021-03-03 2021-07-16 Event detection method and apparatus, electronic device, storage medium, and program product

Publications (1)

Publication Number Publication Date
KR20220125716A true KR20220125716A (en) 2022-09-14

Family

ID=76404356

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020227018557A KR20220125716A (en) 2021-03-03 2021-07-16 Event detection methods, devices, electronic devices, storage media and program products

Country Status (3)

Country Link
KR (1) KR20220125716A (en)
CN (1) CN113011290A (en)
WO (1) WO2022183661A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116597385A (en) * 2023-06-02 2023-08-15 北京安录国际技术有限公司 Abnormal behavior analysis method and system

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113011290A (en) * 2021-03-03 2021-06-22 上海商汤智能科技有限公司 Event detection method and device, electronic equipment and storage medium
CN113469021A (en) * 2021-06-29 2021-10-01 深圳市商汤科技有限公司 Video processing apparatus, electronic device, and computer-readable storage medium
US20230036402A1 (en) * 2021-07-22 2023-02-02 Microsoft Technology Licensing, Llc Focused Computer Detection Of Objects In Images
CN113743290A (en) * 2021-08-31 2021-12-03 上海商汤临港智能科技有限公司 Method and device for sending information to emergency call center for vehicle
CN113955594B (en) * 2021-10-18 2024-02-27 日立楼宇技术(广州)有限公司 Elevator control method and device, computer equipment and storage medium
CN113963439A (en) * 2021-10-22 2022-01-21 无锡八英里电子科技有限公司 Elevator car door-opening behavior identification method based on machine vision
CN116052275B (en) * 2023-01-28 2023-07-07 北京安录国际技术有限公司 Abnormal behavior detection method and system based on big data
CN116434145B (en) * 2023-04-21 2024-04-16 北京日立电梯工程有限公司 Escalator passenger dangerous behavior analysis and monitoring system based on image recognition
CN116343341B (en) * 2023-05-12 2023-08-15 天津志听医疗科技有限公司 Gesture recognition-based action prediction analysis method and system
CN116503815B (en) * 2023-06-21 2024-01-30 宝德计算机系统股份有限公司 Big data-based computer vision processing system
CN116563949A (en) * 2023-07-05 2023-08-08 四川弘和数智集团有限公司 Behavior recognition method, device, equipment and medium

Family Cites Families (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4753320B2 (en) * 2008-09-09 2011-08-24 東芝エレベータ株式会社 Escalator monitoring system
CN101557506B (en) * 2009-05-19 2011-02-09 浙江工业大学 Intelligent detecting device for violent behavior in elevator car based on computer vision
CN106503632A (en) * 2016-10-10 2017-03-15 南京理工大学 A kind of escalator intelligent and safe monitoring method based on video analysis
CN106611157B (en) * 2016-11-17 2019-11-29 中国石油大学(华东) A kind of more people's gesture recognition methods detected based on light stream positioning and sliding window
JP2021096490A (en) * 2018-03-28 2021-06-24 ソニーグループ株式会社 Information processing device, information processing method, and program
CN110648352B (en) * 2018-06-26 2022-09-30 杭州海康威视数字技术股份有限公司 Abnormal event detection method and device and electronic equipment
CN109460702B (en) * 2018-09-14 2022-02-15 华南理工大学 Passenger abnormal behavior identification method based on human body skeleton sequence
CN109492575A (en) * 2018-11-06 2019-03-19 东北大学 A kind of staircase safety monitoring method based on YOLOv3
CN109919077B (en) * 2019-03-04 2022-09-20 网易(杭州)网络有限公司 Gesture recognition method, device, medium and computing equipment
CN109872297A (en) * 2019-03-15 2019-06-11 北京市商汤科技开发有限公司 Image processing method and device, electronic equipment and storage medium
US11164047B2 (en) * 2019-07-22 2021-11-02 International Business Machines Corporation Object detection optimization
CN110807393A (en) * 2019-10-25 2020-02-18 深圳市商汤科技有限公司 Early warning method and device based on video analysis, electronic equipment and storage medium
CN110728815A (en) * 2019-10-25 2020-01-24 深圳市商汤科技有限公司 Early warning method and device based on video analysis, electronic equipment and storage medium
CN110889382A (en) * 2019-11-29 2020-03-17 深圳市商汤科技有限公司 Virtual image rendering method and device, electronic equipment and storage medium
CN111241913A (en) * 2019-12-19 2020-06-05 北京文安智能技术股份有限公司 Method, device and system for detecting falling of personnel
CN111310665A (en) * 2020-02-18 2020-06-19 深圳市商汤科技有限公司 Violation event detection method and device, electronic equipment and storage medium
CN111680614B (en) * 2020-06-03 2023-04-14 安徽大学 Abnormal behavior detection method based on video monitoring
CN111680651A (en) * 2020-06-12 2020-09-18 武汉星巡智能科技有限公司 Non-contact vital sign detection method, device, storage medium and system
CN111814601A (en) * 2020-06-23 2020-10-23 国网上海市电力公司 Video analysis method combining target detection and human body posture estimation
CN111814646B (en) * 2020-06-30 2024-04-05 深圳平安智慧医健科技有限公司 AI vision-based monitoring method, device, equipment and medium
CN111767888A (en) * 2020-07-08 2020-10-13 北京澎思科技有限公司 Object state detection method, computer device, storage medium, and electronic device
CN111783744A (en) * 2020-07-31 2020-10-16 上海仁童电子科技有限公司 Operation site safety protection detection method and device
CN112069937A (en) * 2020-08-21 2020-12-11 深圳市商汤科技有限公司 Event detection method and device, electronic equipment and storage medium
CN112153343B (en) * 2020-09-25 2022-09-02 北京百度网讯科技有限公司 Elevator safety monitoring method and device, monitoring camera and storage medium
CN113011290A (en) * 2021-03-03 2021-06-22 上海商汤智能科技有限公司 Event detection method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116597385A (en) * 2023-06-02 2023-08-15 北京安录国际技术有限公司 Abnormal behavior analysis method and system
CN116597385B (en) * 2023-06-02 2024-01-23 北京安录国际技术有限公司 Abnormal behavior analysis method and system

Also Published As

Publication number Publication date
WO2022183661A1 (en) 2022-09-09
CN113011290A (en) 2021-06-22

Similar Documents

Publication Publication Date Title
KR20220125716A (en) Event detection methods, devices, electronic devices, storage media and program products
WO2021164644A1 (en) Violation event detection method and apparatus, electronic device, and storage medium
WO2019206273A1 (en) Collision control method and apparatus, and electronic device and storage medium
CN111556294B (en) Safety monitoring method, device, server, terminal and readable storage medium
EP3163498B1 (en) Alarming method and device
JP7295936B2 (en) Motion recognition method, electronic device and storage medium
US10600311B2 (en) Eyeglasses-type wearable terminal, control method thereof, and control program
US9390607B2 (en) Smart device safety mechanism
KR20220058859A (en) Scenario monitoring methods, devices, electronic devices, storage media and programs
US20210192239A1 (en) Method for recognizing indication information of an indicator light, electronic apparatus and storage medium
CN109151719B (en) Secure boot method, apparatus and storage medium
US20210327086A1 (en) Detection method for pedestrian events, electronic device, and storage medium
WO2022134504A9 (en) Image detection method and apparatus, electronic device, and storage medium
KR20160037326A (en) Mobile communication terminal for warning dangerous situation and operation method thereof
JP2014155159A (en) Information processing system, information processing method, and program
JP2013033317A (en) Image processing apparatus, image processing method, and program
CN110728815A (en) Early warning method and device based on video analysis, electronic equipment and storage medium
CN112633184A (en) Alarm method and device, electronic equipment and storage medium
CN110807393A (en) Early warning method and device based on video analysis, electronic equipment and storage medium
Liu et al. Infrasee: An unobtrusive alertness system for pedestrian mobile phone users
WO2022183663A1 (en) Event detection method and apparatus, and electronic device, storage medium and program product
US20220189038A1 (en) Object tracking apparatus, control method, and program
CN104050785A (en) Safety alert method based on virtualized boundary and face recognition technology
CN112464898A (en) Event detection method and device, electronic equipment and storage medium
WO2017099935A1 (en) Motion detection of object