The invention discloses a method for judging inclination of an elevator car through a camera based on opencv and human skeletons. The method comprises the following steps that S1, an operation picture when passengers exist in the elevator car is obtained; s2, selecting a group of parallel lines of the elevator door in the picture, and calculating vanishing points of the parallel lines by utilizing an opencv technology; s3, calculating the center point of the car ground in the picture; s4, a disappearance area is calculated according to the elevator car ground in the picture; s5, a passenger skeleton standing extension line is calculated, and a standing line formed by body skeletons when the passenger stands is used for judgment; s6, whether the extension line falls in the disappearance area or not is judged, and if the extension line falls in the disappearance area, the elevator does not incline; according to the method, the pictures of the elevator car are collected in real time through the elevator camera, the picture perspective relation is analyzed through the opencv technology, and then whether the elevator car inclines or not can be judged.
本发明公开了一种通过摄像头基于opencv和人体骨骼判断电梯轿厢倾斜的方法,包括以下步骤:S1:获取电梯轿厢中存在乘客时的运行画面;S2:选取画面中电梯门的一组平行线,利用opencv技术计算其消失点;S3:计算画面中轿厢地面中心点;S4:根据画面中轿厢地面计算出消失区;S5:计算乘客骨骼站立延长线,并利用乘客站立时身体骨骼形成的站立线进行判断;S6:判断延长线是否落在消失区中,若落在消失区则电梯未发生倾斜;反之,则电梯发生倾斜,本发明通过电梯摄像头实时采集电梯轿厢画面,并利用opencv技术对画面透视关系进行分析,即可判断电梯轿厢是否发生倾斜。
Method for judging inclination of elevator car through camera based on opencv and human skeleton
一种通过摄像头基于opencv和人体骨骼判断电梯轿厢倾斜的方法
2024-06-11
Patent
Electronic Resource
Chinese
IPC: | B66B Aufzüge , ELEVATORS |
Method for judging elevator shaking through camera based on OpenCV optical flow analysis
European Patent Office | 2024
|Camera device for judging elevator floors based on camera
European Patent Office | 2021
|Method for judging stable operation of elevator cable through sound analysis of elevator camera
European Patent Office | 2024
|Method, system and equipment for judging personnel state through elevator camera and medium
European Patent Office | 2024
|Method for judging running speed and falling of elevator based on camera
European Patent Office | 2024
|