WO2018148896A1 - 一种车辆内乘客人数统计方法及装置 - Google Patents

一种车辆内乘客人数统计方法及装置 Download PDF

Info

Publication number
WO2018148896A1
WO2018148896A1 PCT/CN2017/073752 CN2017073752W WO2018148896A1 WO 2018148896 A1 WO2018148896 A1 WO 2018148896A1 CN 2017073752 W CN2017073752 W CN 2017073752W WO 2018148896 A1 WO2018148896 A1 WO 2018148896A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
passengers
light intensity
ambient light
face
Prior art date
Application number
PCT/CN2017/073752
Other languages
English (en)
French (fr)
Inventor
黄凯明
刘文涛
Original Assignee
深圳市锐明技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市锐明技术股份有限公司 filed Critical 深圳市锐明技术股份有限公司
Priority to PCT/CN2017/073752 priority Critical patent/WO2018148896A1/zh
Priority to CN201780000042.7A priority patent/CN107004133A/zh
Publication of WO2018148896A1 publication Critical patent/WO2018148896A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition
    • G06V10/12Details of acquisition arrangements; Constructional details thereof
    • G06V10/14Optical characteristics of the device performing the acquisition or on the illumination arrangements
    • G06V10/141Control of illumination
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • G06V20/53Recognition of crowd images, e.g. recognition of crowd congestion
    • 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/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation

Definitions

  • the present invention relates to the field of vehicle security technologies, and in particular, to a method and device for counting passenger numbers in a vehicle.
  • vehicle intelligent monitoring system With the increasing entry of electronic information technology into the automotive field, a new engineering field, namely the vehicle intelligent monitoring system, the so-called vehicle intelligent monitoring system, is adopted through the use of advanced electronic technology, information technology, and communication. High-tech technologies, such as the traditional vehicle security monitoring and management system, to form a new intelligent vehicle monitoring system that is informative, intelligent and social.
  • vehicle passenger counting system is a typical vehicle intelligent monitoring system that can monitor the number of passengers in the vehicle.
  • the existing method for counting the number of passengers in a vehicle is usually to install a weighing device under the seat cushion, and to determine whether there is a passenger by pressure sensing, but in actual application, it is found that after using a section of the weir, the weighing device is used.
  • the damage rate is high, and the cost of repair and replacement is also high.
  • the present invention provides a method and apparatus for counting the number of passengers in a vehicle to more accurately count the number of passengers in the vehicle.
  • a first aspect of the present invention provides a method for counting the number of passengers in a vehicle, the method comprising: [0007] after receiving statistical information of the number of passengers in the vehicle, starting the imaging device;
  • a second aspect of the present invention provides a vehicle occupant counting device, the device comprising: [0012] an in-vehicle terminal foreground, an imaging device, a processing module, and a face detection module;
  • the front end of the vehicle-mounted terminal is configured to send a start instruction to the camera after receiving the statistical information of the number of passengers in the vehicle;
  • the image capturing device is configured to: after receiving the start command, activate the image capturing device, and detect the current ambient light intensity, when the detected ambient light intensity does not meet the preset first condition,
  • the processing module sends a processing instruction
  • the processing module is configured to process the ambient light intensity after receiving the processing instruction, so that the processed ambient light intensity meets the first condition
  • the image capturing device is further configured to take a photo after the ambient light intensity meets the first condition;
  • the face detecting module is configured to perform face detection on the captured photo, Counting the number of different face images detected, and using the number of different face images as the beneficial effect of the current number of passengers in the vehicle
  • the present invention has the beneficial effects compared with the prior art: the present invention starts the imaging device after receiving the statistical information of the number of passengers in the vehicle; detects the current ambient light intensity by the camera device after the startup, when detecting The ambient light intensity is not in accordance with a preset first condition, and the ambient light intensity is processed by the processing module such that the processed ambient light intensity conforms to the first condition; After the light intensity meets the first condition, the photograph is taken by the image capturing device; the photographed face is subjected to face detection, and the number of different detected face images is counted, and the number of the different face images is taken as The current number of passengers in the vehicle. With the present invention, the number of passengers in the vehicle can be more accurately counted. Moreover, the invention has the advantages of convenient operation, simple implementation, wide adaptability, and strong usability and practicability.
  • FIG. 1 is a schematic flow chart of a method for counting the number of passengers in a vehicle according to a first embodiment of the present invention
  • FIG. 2 is a method for counting the number of passengers in a vehicle according to a second embodiment of the present invention
  • FIG. 3 is a schematic block diagram of a passenger number counting device in a vehicle according to a third embodiment of the present invention
  • FIG. 4 is a schematic diagram of a vehicle-mounted terminal according to a fourth embodiment of the present invention.
  • the term “if” can be interpreted as “when" or “once” or “in response to determining” or “in response to detecting” depending on the context. ". Similarly, the phrase “if determined” or “if a condition or event is described” can be interpreted as meaning “once” It is determined that "or” in response to determining “or” once the [described condition or event] is detected or “in response to detecting the [condition or event described]”.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • FIG. 1 is a schematic flow chart of a method for counting the number of passengers in a vehicle according to Embodiment 1 of the present invention. As shown in the figure, the method may include the following steps:
  • Step S101 After receiving the statistical information of the number of passengers in the vehicle, the imaging device is activated.
  • the passenger number statistics information may be an instruction issued by the driver to start the passenger number statistics, or may be information that starts the passenger number statistics triggered according to the preset time interval.
  • the command issued by the driver to start the passenger number statistics may be sent by the driver by touching a button on the driver's cab or the vehicle terminal, and the information of the number of activated passengers triggered according to the preset time interval may be in the vehicle.
  • the number of passengers is counted according to the predetermined interval, and the number of passengers can be monitored.
  • the passenger number statistics may also be an operation in which the passenger slams the door into the vehicle, that is, after the door is detected to be snoring and closed. It should be noted that the passenger number statistics are not limited to the instructions, actions or information listed above.
  • Step S102 The current ambient light intensity is detected by the image capturing device after the startup, and when the detected ambient light intensity does not meet the preset first condition, the ambient light intensity is processed by the processing module. So that the ambient light intensity after the treatment conforms to the first condition.
  • the camera device detects that the current ambient light intensity can detect the current ambient light intensity through a light sensor that is provided by the camera device itself, and can also be illuminated in advance by the pre-flash of the camera device.
  • the flash photometer in the camera detects the current ambient light intensity based on the effect of this pre-flash.
  • the ambient light intensity is processed by the processing module, and the processing light for processing the ambient light intensity by the processing module may be an auxiliary fill light device Fill the environment with light.
  • the light emitted by the auxiliary light-filling device may be visible light or invisible light.
  • the auxiliary light-filling device can perform different fill-in operations by the detected current ambient light intensity, and finally make the current ambient light intensity conform to the first condition.
  • the preset first condition refers to a value of the ambient light intensity set in advance.
  • Step S103 after the ambient light intensity meets the first condition, photographing by the camera device Film.
  • the camera device takes a photo.
  • the processing module is fixed on the central rear view mirror bracket of the vehicle or attached to the central rear view mirror together with the image pickup device; or may be fixed to the center of the vehicle separately with the image pickup device
  • the rear view mirror holder is attached to or attached to the central rear view mirror. It should be noted that the camera device and the processing module may also be disposed on the roof above the central rearview mirror.
  • the camera device and the processing module are installed in an area in front of the interior of the vehicle, so that the camera can be photographed backwards at the installation position, the panoramic view of the interior of the vehicle is captured, and the front face of the passenger can be photographed as the most suitable installation. position.
  • the embodiment of the present invention can also be used for human head detection.
  • the number of human heads in the detected photos is used as the number of current passengers in the vehicle.
  • the camera device and the processing module can also be disposed in the center of the roof.
  • the area is the most suitable installation location to capture the panoramic view of the car. If it is a combination of a human head and a human face, it is possible to capture a panoramic view of the interior of the vehicle and to clearly photograph the facial features or the human head features as the optimal installation position.
  • Step S104 Perform face detection on the captured photo, count the number of different face images detected, and use the number of different face images as the current number of passengers in the vehicle.
  • the photographed device can fix the panoramic view of the interior of the vehicle due to the fixed position of the image capturing device
  • the photographed photograph can be detected, and the number of different people in the detected photograph is counted as the current passenger.
  • the number of people due to the influence of the sitting position of the passengers in the vehicle, usually detects the passenger's face or head as a passenger.
  • the number of people or faces detected in the photographed photograph can be used as the current number of passengers in the vehicle.
  • the facial features of a person are more easily detected by distinction, the number of different face images is usually detected as the current number of passengers in the vehicle.
  • the face in the photo can be detected in combination with the facial features, the hair color features, and the body regions.
  • the camera device after receiving the statistical information of the number of passengers in the vehicle, the camera device is activated; the current ambient light intensity is detected by the camera device after the startup, and the detected ambient light intensity does not meet the preset.
  • the first condition is: processing the ambient light intensity by the processing module, so that the processed ambient light intensity meets the first condition; after the ambient light intensity meets the first condition,
  • the camera device takes a photo; performs face detection on the photographed image, and statistically detects The number of different face images that arrive, the number of different face images is taken as the current number of passengers in the vehicle. According to the present invention, the number of passengers in the vehicle can be more accurately counted.
  • the in-vehicle security system Since many of the existing vehicles have an in-vehicle security system, the in-vehicle security system has a camera. By adding a face detection module to the existing in-vehicle security system, the number of passengers in the vehicle can be counted without additional dedicated equipment.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1
  • FIG. 2 is a schematic flowchart of a method for counting passenger numbers according to Embodiment 2 of the present invention. The method may include the following steps:
  • Step S201 After receiving the statistical information of the number of passengers in the vehicle, the imaging device is activated.
  • Step S202 The current ambient light intensity is detected by the image capturing device after the startup, and when the detected ambient light intensity does not meet the preset first condition, the ambient light intensity is processed by the processing module. So that the ambient light intensity after the treatment conforms to the first condition.
  • Step S203 After the ambient light intensity meets the first condition, the photo is taken by the camera.
  • the step S201 is the same as the step S101
  • the step S202 is the same as the step 102
  • the step S203 is the same as the step S103.
  • step S101, step S102, and step S103 Narration.
  • Step S204 Perform face detection on the plurality of captured photos, and perform face feature matching on the detected face images to determine whether the detected face images are the same face image.
  • the plurality of camera devices may be installed in different positions in the vehicle, so as to be able to capture the panoramic view in the vehicle in all directions and can be multi-directional.
  • the position where the face is photographed is the optimal installation position.
  • the plurality of camera devices simultaneously take photos, and each camera device is correspondingly installed with a processing module. In this way, it is possible to prevent a situation in which a person's face cannot be detected due to a change in a person's posture or a occlusion caused by a person's posture change in a photograph taken by a single camera.
  • the detection condition that the photographed photograph needs to be satisfied may be set, for example, in the passenger number statistics in the taxi, because the seat is fixed in position, the passenger The sitting position is also fixed, and the position of the face appears in a fixed range.
  • the face or head detection module is relatively simple, the requirements for detecting photos are relatively high, and the photographs are required to be unobstructed, strong in light, and the like.
  • the face detection module installed in the vehicle has better recognition accuracy on the face.
  • Step S205 Count the number of different face images detected, and use the number of different face images as the current number of passengers in the vehicle.
  • a plurality of face images determined to be the same face feature are recorded as one passenger, and other face images not detected with the same face feature are respectively recorded as one passenger, and then accumulated The number of different face images detected can be obtained. Since the face image in the photograph taken is subjected to the past re-processing, and is a face image detected in a photograph taken by a plurality of cameras mounted in different directions inside the vehicle, the detected different face images can be The number is the current number of passengers in the vehicle.
  • step S206 storing the current number of passengers in the vehicle and the photographed photos locally or Upload to the cloud server.
  • the number of passengers in the current vehicle may be wirelessly transmitted to the cloud server, especially in a car or bus operation.
  • the cloud server On the one hand, it is convenient to count the number of passengers in the background.
  • FIG. 3 is a schematic block diagram of a passenger number counting device in a vehicle according to Embodiment 3 of the present invention. For convenience of description, only parts related to the embodiment of the present invention are shown.
  • the in-vehicle passenger number counting device may be a software unit, a hardware unit or a combination of soft and hard units built in a terminal device (for example, an in-vehicle terminal), or may be integrated into the terminal device as a separate pendant.
  • the passenger number counting device in the vehicle includes:
  • the vehicle terminal foreground 31, the camera device 32, the processing module 33, and the face detection module 34;
  • the in-vehicle terminal foreground 31 is configured to send a start instruction to the camera device 32 after receiving the statistical information of the number of passengers in the vehicle;
  • the camera device 32 is configured to: after receiving the start command, activate the camera device 32, and detect the current ambient light intensity, when the detected ambient light intensity does not meet the preset first condition. Sending a processing instruction to the processing module 33;
  • the processing module 33 is configured to process the ambient light intensity after receiving the processing instruction
  • the image capturing device 32 is further configured to take a photo after the ambient light intensity meets the first condition;
  • the face detecting module 34 is configured to perform a face on the photographed photo Detecting, counting the number of different face images detected, and using the number of different face images as the current number of passengers in the vehicle.
  • the modules 34 may be integrated in one terminal device; they may also be separate devices, and the independent devices transmit data to each other by wireless or wired means; one or more of them may be integrated.
  • the imaging device 32 may be a mobile terminal with an imaging function or the like.
  • the camera device 32 and the processing module 33 are respectively fixed on a central rear view mirror bracket in the vehicle or attached to the central rearview mirror or fixed above the central rearview mirror. Top.
  • the face detection module 34 is specifically configured to:
  • the face detection module 34 is further configured to:
  • the device further includes:
  • the wireless transmission module 35 is configured to store the current number of passengers in the vehicle and the photograph taken in the vehicle or upload to the cloud server after obtaining the current number of passengers in the vehicle.
  • the wireless transmission module 35 may exist as an independent device, or may be integrated in the vehicle terminal foreground 31, the camera device 32, or the face detection module 34.
  • each functional module described above may be assigned to different functional modules as needed.
  • the device is completed, that is, the internal structure of the passenger number counting device in the vehicle is divided into different functional modules or devices to complete all or part of the functions described above.
  • Each functional module and device in the embodiment may be integrated into one processing unit, or each unit may exist physically separately, or two or more modules or devices may be integrated into one unit, and the integrated module or device is It can be implemented in the form of hardware or in the form of a software functional unit.
  • FIG. 4 is a schematic block diagram of an in-vehicle terminal according to Embodiment 4 of the present invention.
  • the in-vehicle terminal as shown may include: one or more processors 401 (only one shown in Figure 4); one or more input devices 402 (only one shown in Figure 4), one or more outputs Device 403 (only one is shown in FIG. 4), memory 404, and camera 405.
  • the processor 401, the input device 402, the output device 403, the memory 404, and the camera 405 are connected via a bus 406.
  • the memory 404 is for storing instructions
  • the processor 401 is for executing instructions stored by the memory 404. among them:
  • the processor 401 is configured to start the imaging device 405 after receiving the statistics of the number of passengers in the vehicle through the input device 402.
  • the processor 401 is further configured to detect the current by the camera 405 after the activation.
  • Ambient light intensity when the detected ambient light intensity does not meet the preset first condition, the ambient light intensity is processed by the processing module, so that the processed ambient light intensity conforms to the first
  • the processor 401 is further configured to: take a photo by the camera 405 after the ambient light intensity meets the first condition; and the processor 401 is further configured to perform a face on the captured photo. Detecting, counting the number of different face images detected, and using the number of different face images as the current number of passengers in the vehicle.
  • the camera device 405 and the processing module are respectively fixed on a central rear view mirror bracket in the vehicle or attached to the central rearview mirror or fixed on a roof above the central rearview mirror on.
  • the processor 401 is further configured to perform face detection on the captured multiple photos, and perform face feature matching on the detected face image to determine the detected face image. Whether it is the same face image.
  • the processor 401 is further configured to perform face detection on the captured photo, and if the captured image does not have a face image, trigger the camera 405 to continue to take a photo.
  • the captured image contains the face image or the number of times of shooting reaches a predetermined number of times.
  • the processor 401 is further configured to: after obtaining the current number of passengers in the vehicle, store the current number of passengers in the vehicle and the photograph taken locally or upload through the output device 403. To the cloud server.
  • the memory 404 is configured to store software programs, modules, devices, and data information required in the vehicle-mounted terminal, and the processor 401 executes each of the software programs, modules, and units stored in the memory 404. Functional applications and data processing to accurately count the number of passengers in the vehicle.
  • the processor 401 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor). , DSP), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the input device 402 can include a touchpad, a fingerprint acquisition sensor (for collecting fingerprint information of the user and direction information of the fingerprint), a microphone, a camera, a data collection device, a data receiving device, etc., and the output device 403 can include a display ( LCD, etc.), speaker, data transmitting device, wireless transmission module, etc.
  • the memory 404 can include read only memory and random access memory and provides instructions and data to the processor 401.
  • a portion of memory 404 may also include non-volatile random access memory.
  • the memory 404 can also store information of the device type.
  • the camera device 405 can include components such as a lens module, an image sensor, and a flash.
  • the lens module is used to image the captured subject and map the resulting image to the image sensor.
  • the image sensor is used to receive light from the lens module to achieve sensitization to record image information.
  • the image sensor can be based on a complementary metal oxide semiconductor (Complementary Metal Oxide)
  • CMOS complementary metal-oxide-semiconductor
  • CCD Charge-coupled Device
  • the processor 401, the input device 402, the output device 403, and the memory 404 described in the embodiments of the present invention may be described in the embodiment of the method for counting the number of passengers in the vehicle provided by the embodiment of the present invention.
  • the implementation manner described in Embodiment 3 of the passenger number counting device in the vehicle can also be implemented, and details are not described herein again.
  • the disclosed apparatus and method can be implemented in other ways.
  • the embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be combined. Either can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in electrical, mechanical or other form.
  • the unit described as a separate component may or may not be physically distributed, and the component displayed as a unit may or may not be a physical unit, that is, may be located in one place, or may be distributed to multiple On the network unit. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional module in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the medium includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the methods of the various embodiments of the embodiments of the present invention.
  • the foregoing storage medium includes: a USB flash drive, a removable hard disk, a read-only memory (R0 M, Read-Only Memory), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Image Processing (AREA)

Abstract

一种车辆内乘客人数统计方法及装置,适用于车载安防技术领域,所述方法包括:在接收到车辆内乘客人数统计信息后,启动摄像装置(32,405)(S101);通过启动后的所述摄像装置(32,405)检测当前环境光强度,当检测到的所述环境光强度不符合预设的第一条件时,通过处理模块(33)对所述环境光强度进行处理,以使得处理后的所述环境光强度符合所述第一条件(S102);在所述环境光强度符合所述第一条件后,通过所述摄像装置(32,405)拍摄照片(S103);对拍摄的所述照片进行人脸检测,统计检测到的不同人脸图像的数量,将所述不同人脸图像的数量作为所述车辆内当前的乘客人数(S104)。通过本方法,可以更准确的统计出车辆内乘客人数。而且,本方法操作方便、实现简单,适应面广,具有较强的易用性和实用性。

Description

发明名称:一种车辆内乘客人数统计方法及装置 技术领域
[0001] 本发明属于车载安防技术领域, 尤其涉及一种车辆内乘客人数统计方法及装置 背景技术
[0002] 随着电子信息技术越来越多的进入汽车领域, 逐渐形成一个崭新的工程领域, 即车辆智能监控系统, 所谓的车辆智能监控系统, 就是通过采用先进的电子技 术、 信息技术、 通信技术等高新技术, 对传统的车辆安防监控及管理体制进行 改造, 从而形成一种信息化、 智能化、 社会化的新型现代车辆智能监控系统。 车辆乘客人数统计系统就是一个典型的车辆智能监控系统, 可以随吋监控车辆 内乘客的人数。
[0003] 现有的统计车辆内乘客人数的方法, 通常是在座垫下安装称重设备, 通过压力 感应, 判断是否存在乘客, 但是实际应用中发现, 使用一段吋间后, 称重设备 的损坏率很高, 维修和更换的成本也很高, 当出现乘客上车后未坐在座位上吋 也无法正确统计乘车人数。
[0004] 故, 有必要提出一种新的技术方案, 以解决上述技术问题。
技术问题
[0005] 鉴于此, 本发明提供一种车辆内乘客人数统计方法及装置, 以更准确的统计出 车辆内乘客人数。
问题的解决方案
技术解决方案
[0006] 本发明的第一方面, 提供一种车辆内乘客人数统计的方法, 所述方法包括: [0007] 在接收到车辆内乘客人数统计信息后, 启动摄像装置;
[0008] 通过启动后的所述摄像装置检测当前环境光强度, 当检测到的所述环境光强度 不符合预设的第一条件吋, 通过处理模块对所述环境光强度进行处理, 以使得 处理后的所述环境光强度符合所述第一条件; [0009] 在所述环境光强度符合所述第一条件后, 通过所述摄像装置拍摄照片;
[0010] 对拍摄的所述照片进行人脸检测, 统计检测到的不同人脸图像的数量, 将所述 不同人脸图像的数量作为所述车辆内当前的乘客人数。
[0011] 本发明的第二方面, 提供一种车辆内乘客人数统计装置, 所述装置包括: [0012] 车载终端前台、 摄像装置、 处理模块以及人脸检测模块;
[0013] 所述车载终端前台, 用于在接收到车辆内乘客人数统计信息后, 向摄像装置发 送启动指令;
[0014] 所述摄像装置, 用于在接收到所述启动指令后, 启动摄像装置, 并检测当前环 境光强度, 当检测到的所述环境光强度不符合预设的第一条件吋, 向所述处理 模块发送处理指令;
[0015] 所述处理模块, 用于在接收到所述处理指令后, 对所述环境光强度进行处理, 以使得处理后的所述环境光强度符合所述第一条件;
[0016] 所述摄像装置, 还用于在所述环境光强度符合所述第一条件后拍摄照片; [0017] 所述人脸检测模块, 用于对拍摄的所述照片进行人脸检测, 统计检测到的不同 人脸图像的数量, 将所述不同人脸图像的数量作为所述车辆内当前的乘客人数 发明的有益效果
有益效果
[0018] 本发明与现有技术相比存在的有益效果是: 本发明在接收到车辆内乘客人数统 计信息后, 启动摄像装置; 通过启动后的所述摄像装置检测当前环境光强度, 当检测到的所述环境光强度不符合预设的第一条件吋, 通过处理模块对所述环 境光强度进行处理, 以使得处理后的所述环境光强度符合所述第一条件; 在所 述环境光强度符合所述第一条件后, 通过所述摄像装置拍摄照片; 对拍摄的所 述照片进行人脸检测, 统计检测到的不同人脸图像的数量, 将所述不同人脸图 像的数量作为所述车辆内当前的乘客人数。 通过本发明, 可以更准确的统计出 车辆内乘客人数。 而且, 本发明操作方便、 实现简单, 适应面广, 具有较强的 易用性和实用性。
对附图的简要说明 附图说明
[0019] 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例或现有技术描 述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是 本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性 的前提下, 还可以根据这些附图获得其他的附图。
[0020] 图 1是本发明第一实施例提供的一种车辆内乘客人数统计方法的示意流程图; [0021] 图 2是本发明第二实施例提供的一种车辆内乘客人数统计方法的示意流程图; [0022] 图 3是本发明第三实施例提供的一种车辆内乘客人数统计装置的示意框图; [0023] 图 4是本发明第四实施例提供的一种车载终端的示意框图;
本发明的实施方式
[0024] 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实 施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前 提下所获得的所有其他实施例, 都属于本发明保护的范围。
[0025] 应当理解, 当在本说明书和所附权利要求书中使用吋, 术语"包括"指示所描述 特征、 整体、 步骤、 操作、 元素和 /或组件的存在, 但并不排除一个或多个其它 特征、 整体、 步骤、 操作、 元素、 组件和 /或其集合的存在或添加。
[0026] 还应当理解, 在此本发明说明书中所使用的术语仅仅是出于描述特定实施例的 目的而并不意在限制本发明。 如在本发明说明书和所附权利要求书中所使用的 那样, 除非上下文清楚地指明其它情况, 否则单数形式的"一"、 "一个 "及"该"意 在包括复数形式。
[0027] 还应当进一步理解, 在本发明说明书和所附权利要求书中使用的术语 "和 /或"是 指相关联列出的项中的一个或多个的任何组合以及所有可能组合, 并且包括这 些组合。
[0028] 如在本说明书和所附权利要求书中所使用的那样, 术语"如果"可以依据上下文 被解释为 "当…吋 "或"一旦"或"响应于确定"或"响应于检测到"。 类似地, 短语"如 果确定 "或"如果检测到 [所描述条件或事件]"可以依据上下文被解释为意指"一旦 确定"或"响应于确定"或"一旦检测到 [所描述条件或事件]"或"响应于检测到 [所描 述条件或事件]"。
[0029] 为了说明本发明所述的技术方案, 下面通过具体实施例来进行说明。
[0030] 实施例一:
[0031] 参见图 1, 图 1是本发明实施例一提供的一种车辆内乘客人数统计方法的示意流 程图, 如图所示该方法可以包括以下步骤:
[0032] 步骤 S101, 在接收到车辆内乘客人数统计信息后, 启动摄像装置。
[0033] 在本发明实施例中, 乘客人数统计信息可以是驾驶员发出的启动乘客人数统计 的指令, 也可以是根据预设的吋间间隔触发的启动乘客人数统计的信息。 所述 驾驶员发出的启动乘客人数统计的指令可以是驾驶员通过触摸驾驶室或者车载 终端上的某个按键发出的, 所述根据预设吋间间隔触发的启动乘客人数统计的 信息可以在车辆驾驶过程中按照预定吋间间隔对乘客人数进行统计, 可以实吋 监测乘客人数。 所述乘客人数统计信息还可以是乘客打幵车门进入车内的操作 , 即检测到车门打幵并且关闭之后。 需要说明的是, 乘客人数统计信息并不局 限与以上列出的指令、 动作或者信息。
[0034] 步骤 S102, 通过启动后的所述摄像装置检测当前环境光强度, 当检测到的所述 环境光强度不符合预设的第一条件吋, 通过处理模块对所述环境光强度进行处 理, 以使得处理后的所述环境光强度符合所述第一条件。
[0035] 在本发明实施例中, 所述摄像装置检测当前环境光强度可以通过摄像装置本身 自带的光线感应器检测当前环境光强度, 还可以通过摄像装置的预闪来事先照 亮所需拍摄环境, 摄像装置内的闪光测光器会根据这个预闪照亮的效果检测出 当前环境光强度。 当检测到的所述环境光强度不符合预设的第一条件吋, 通过 处理模块对所述环境光强度进行处理, 所述通过处理模块对环境光强度进行处 理可以是通过辅助的补光设备对环境进行补光。 所述辅助补光设备发出的光可 以是可见光也可以是不可见光。 所述辅助补光设备可以通过检测到的当前环境 光强度进行不同大小的补光操作, 最终使得当前环境光强度符合所述第一条件 。 所述预设的第一条件是指提前设置的环境光强度的数值。
[0036] 步骤 S 103, 在所述环境光强度符合所述第一条件后, 通过所述摄像装置拍摄照 片。
[0037] 在本发明实施例中, 当摄像装置检测到当前环境光强度符合所述第一条件后, 所述摄像装置拍摄照片。 为了取得更好的拍摄效果, 所述处理模块与摄像装置 一起固定在车辆内的中央后视镜支架上或者附着在所述中央后视镜上; 也可以 与摄像装置分别固定在车辆内的中央后视镜支架上或者附着在所述中央后视镜 上。 需要说明的是, 所述摄像装置和处理模块还可以设置在中央后视镜上方的 车顶上。 当用于人脸检测吋, 所述摄像装置和处理模块安装于车辆内部前方的 区域, 以能在安装位置向后拍摄吋拍摄到车辆内部全景并且能够拍摄到乘客正 脸照为最合适的安装位置。 本发明实施例还可以用于人头检测, 通过检测到的 照片中人头的数量作为车辆内当前乘客的数量, 当用于人头检测吋, 所述摄像 装置和处理模块还可以设置在车顶的中央区域, 以能拍摄到车内全景为最合适 安装位置。 如果是人头和人脸结合的方式, 以能够拍摄到车内全景并且能够清 晰拍摄出人脸部特征或者人头部特征为最佳安装位置。
[0038] 步骤 S104, 对拍摄的所述照片进行人脸检测, 统计检测到的不同人脸图像的数 量, 将所述不同人脸图像的数量作为所述车辆内当前的乘客人数。
[0039] 在本发明实施例中, 由于摄像装置的固定位置使得拍摄的照片能够覆盖车辆内 部的全景, 可以对拍摄的所述照片进行检测, 统计检测到的照片中不同人的数 量作为当前乘客的人数, 由于受到车辆内乘客坐姿等的影响, 通常以检测到乘 客的脸部或者头部作为检测到一个乘客, 拍摄的照片中检测到人头或者人脸的 数量可以作为车辆内当前的乘客人数。 由于人的脸部特征更容易被区分检测, 所以通常以检测到不同人脸图像的数量作为车辆内当前的乘客人数。 在人脸检 测过程中可以结合脸部特征、 发色特征、 身体区域相结合的方式检测照片中的 人脸。
[0040] 本发明实施例可以在接收到车辆内乘客人数统计信息后, 启动摄像装置; 通过 启动后的所述摄像装置检测当前环境光强度, 当检测到的所述环境光强度不符 合预设的第一条件吋, 通过处理模块对所述环境光强度进行处理, 以使得处理 后的所述环境光强度符合所述第一条件; 在所述环境光强度符合所述第一条件 后, 通过所述摄像装置拍摄照片; 对拍摄的所述照片进行人脸检测, 统计检测 到的不同人脸图像的数量, 将所述不同人脸图像的数量作为所述车辆内当前的 乘客人数。 通过本发明, 可以更准确的统计出车辆内乘客人数。 由于现有的车 辆内部很多都带有车载安防系统, 车载安防系统中都带有摄像头。 可以通过在 现有车载安防系统中增加一个人脸检测模块, 无需额外添加专用设备就能够实 现车辆内乘客人数统计功能。
[0041] 实施例二:
[0042] 参见图 2, 图 2是本发明实施例二提供的一种乘客人数统计方法的示意流程图, 如图所示该方法可以包括以下步骤:
[0043] 步骤 S201 , 在接收到车辆内乘客人数统计信息后, 启动摄像装置。
[0044] 步骤 S202, 通过启动后的所述摄像装置检测当前环境光强度, 当检测到的所述 环境光强度不符合预设的第一条件吋, 通过处理模块对所述环境光强度进行处 理, 以使得处理后的所述环境光强度符合所述第一条件。
[0045] 步骤 S203 , 在所述环境光强度符合所述第一条件后, 通过所述摄像装置拍摄照 片。
[0046] 在本发明实施例中, 步骤 S201与步骤 S101相同, 步骤 S202与步骤 102相同, 步 骤 S203与步骤 S103相同, 具体可参见步骤 S101、 步骤 S102、 步骤 S103的相关描 述, 在此不再赘述。
[0047] 步骤 S204, 对拍摄的多张照片进行人脸检测, 并对检测到的人脸图像进行人脸 特征匹配, 以确定所述检测到的人脸图像是否为同一人脸图像。
[0048] 可选的, 对拍摄的所述照片进行人脸检测, 若拍摄的所述照片中不存在人脸图 像, 则触发所述摄像装置继续拍摄照片, 直到拍摄的照片中包含人脸图像或者 拍摄的次数达到预定的次数。
[0049] 在本发明实施例中, 为了保证能够精确统计车辆内乘客人数, 所述摄像装置可 以是多个, 分别安装在车辆内不同位置, 以能全方位拍摄到车内全景并且能够 多方向拍摄到人脸的位置为最优安装位置。 当接收到启动指令后, 多个摄像装 置同吋拍摄照片, 每个摄像装置对应安装一个处理模块。 这样可以防止单个摄 像装置拍摄的照片中, 出现由于人的姿势变化或者存在遮挡物导致人脸遮挡严 重而无法检测到人脸的情况。 当多个摄像装置同吋拍摄照片后, 对拍摄的多张 照片进行人脸检测, 每张照片检测到的人脸图像再进行人脸特征匹配, 以确定 所述检测到的人脸图像是否为同一人脸图像。 这样可以防止安装在不同位置的 摄像装置同吋拍摄到某个乘客, 在对拍摄的多张照片进行人脸检测吋, 不同摄 像装置拍摄的照片都能检测到该乘客的人脸, 这样在统计乘客人数吋会重复计 算该乘客, 所以需要对检测到的人脸图像进行人脸特征匹配, 若检测到的多个 人脸图像中存在同一个人脸特征, 即该名乘客被拍摄多次, 可能会重复计算该 名乘客。
[0050] 可选的, 在对拍摄的多张照片进行人脸检测之前, 检测拍摄的照片是否满足人 脸检测条件。
[0051] 在本发明实施例中, 根据不同人脸检测的方法可以设置所述拍摄的照片需要满 足的检测条件, 例如, 在出租车内的乘客人数统计中, 因为座椅的位置固定, 乘客的坐姿也固定, 脸部的位置基本在固定的范围内出现, 出于成本考虑, 人 脸或者人头检测模块相对比较简单, 对待检测照片要求比较高, 要求拍摄照片 中无遮挡、 光线强等。 当在公交车内的乘客人数统计中, 由于公交车内乘客数 量较多, 且姿势变化多样、 光照也会出现不完全相同, 这吋车内安装的人脸检 测模块对人脸的识别精度较高, 能够处理比较复杂的待检测照片, 即使出现部 分遮挡, 也能检测出被部分遮挡的人脸, 这吋就无需检测拍摄的照片是否满足 人脸或者人头检测条件。 所以检测拍摄的照片是否满足人脸或者人头检测条件 吋根据人脸或者人头检测模块的识别精度来确定的。
[0052] 步骤 S205 , 统计检测到的不同人脸图像的数量, 将所述不同人脸图像的数量作 为所述车辆内当前的乘客人数。
[0053] 在本发明实施例中, 将确定为同一人脸特征的多个人脸图像记作一名乘客, 其 它未检测到相同人脸特征的人脸图像分别记作一名乘客, 然后累加即可获得检 测到的不同人脸图像的数量。 由于拍摄的照片中的人脸图像做过去重处理, 并 且是经过安装在车辆内部的多个不同方向的摄像头拍摄的照片中检测到的人脸 图像, 所以可以将检测到的不同人脸图像的数量作为所述车辆内当前的乘客人 数。
[0054] 步骤 S206, 将所述车辆内当前的乘客人数以及拍摄的所述照片存储在本地或者 上传至云服务器。
[0055] 在本发明实施例中, 当检测到照片中人脸的数量作为当前的乘客人数后, 可以 将当前车辆内的乘客人数通过无线的方式发送至云服务器, 尤其是汽车或者公 交运营中, 一方面方便后台统计乘客人数, 另一方面可以设定按照预定的吋间 频率统计乘客人数, 这样可以方便后台统计各个吋间段的乘客人数等。 。
[0056] 应理解, 在上述实施例一和二中, 各步骤的序号的大小并不意味着执行顺序的 先后, 各步骤的执行顺序应以其功能和内在逻辑确定, 而不应对本发明实施例 的实施过程构成任何限定。
[0057] 实施例三:
[0058] 参见图 3, 图 3是本发明实施例三提供的一种车辆内乘客人数统计装置的示意框 图, 为了便于说明, 仅示出与本发明实施例相关的部分。
[0059] 该车辆内乘客人数统计装置可以是内置于终端设备 (例如车载终端) 内的软件 单元、 硬件单元或者软硬结合的单元, 也可以作为独立的挂件集成到所述终端 设备中。
[0060] 所述车辆内乘客人数统计装置包括:
[0061] 车载终端前台 31、 摄像装置 32、 处理模块 33以及人脸检测模块 34;
[0062] 所述车载终端前台 31, 用于在接收到车辆内乘客人数统计信息后, 向摄像装置 32发送启动指令;
[0063] 所述摄像装置 32, 用于在接收到所述启动指令后, 启动摄像装置 32, 并检测当 前环境光强度, 当检测到的所述环境光强度不符合预设的第一条件吋, 向所述 处理模块 33发送处理指令;
[0064] 所述处理模块 33, 用于在接收到所述处理指令后, 对所述环境光强度进行处理
, 以使得处理后的所述环境光强度符合所述第一条件;
[0065] 所述摄像装置 32, 还用于在所述环境光强度符合所述第一条件后拍摄照片; [0066] 所述人脸检测模块 34, 用于对拍摄的所述照片进行人脸检测, 统计检测到的不 同人脸图像的数量, 将所述不同人脸图像的数量作为所述车辆内当前的乘客人 数。
[0067] 需要说明的是, 所述车载终端前台 31、 摄像装置 32、 处理模块 33以及人脸检测 模块 34可以集成在一个终端设备中; 也可以分别作为独立的装置, 独立的装置 相互之间通过无线或者有线的方式传输数据; 还可以其中的一个或者多个集成 在一起。 所述摄像装置 32可以是带有摄像功能的移动终端等。
[0068] 可选的, 所述摄像装置 32和所述处理模块 33分别固定在车辆内的中央后视镜支 架上或者附着在所述中央后视镜上或者固定在中央后视镜上方的车顶上。
[0069] 可选的, 所述人脸检测模块 34具体用于:
[0070] 对拍摄的多张照片进行人脸检测, 并对检测到的人脸图像进行人脸特征匹配, 以确定所述检测到的人脸图像是否为同一人脸图像。
[0071] 可选的, 所述人脸检测模块 34还用于:
[0072] 对拍摄的所述照片进行人脸检测, 若拍摄的所述照片中不存在人脸图像, 则触 发所述摄像装置继续拍摄照片, 直到拍摄的照片中包含人脸图像或者拍摄的次 数达到预定的次数。
[0073] 可选的, 所述装置还包括:
[0074] 无线传输模块 35, 用于在获得车辆内当前的乘客人数之后, 将所述车辆内当前 的乘客人数以及拍摄的所述照片存储在本地或者上传至云服务器。
[0075] 需要说明的是, 所述无线传输模块 35可以作为独立的装置存在, 也可以集成在 车载终端前台 31、 摄像装置 32或者人脸检测模块 34中。
[0076] 所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 仅以上述各功 能模块的划分进行举例说明, 实际应用中, 可以根据需要而将上述功能分配由 不同的功能模块或装置完成, 即所述车辆内乘客人数统计装置的内部结构划分 成不同的功能模块或装置, 以完成以上描述的全部或者部分功能。 实施例中的 各功能模块、 装置可以集成在一个处理单元中, 也可以是各个单元单独物理存 在, 也可以两个或两个以上模块或装置集成在一个单元中, 上述集成的模块或 装置既可以采用硬件的形式实现, 也可以采用软件功能单元的形式实现。 另外 , 各功能模块、 装置的具体名称也只是为了便于相互区分, 并不用于限制本申 请的保护范围。 上述装置中模块、 装置的具体工作过程, 可以参考前述方法实 施例的对应过程, 在此不再赘述。
[0077] 实施例四: [0078] 参见图 4, 图 4是本发明实施例四提供的一种车载终端的示意框图。 如图所示的 该车载终端可以包括: 一个或多个处理器 401 (图 4中仅示出一个) ; 一个或多 个输入设备 402 (图 4中仅示出一个) , 一个或多个输出设备 403 (图 4中仅示出 一个) 、 存储器 404和摄像装置 405。 上述处理器 401、 输入设备 402、 输出设备 4 03、 存储器 404和摄像装置 405通过总线 406连接。 存储器 404用于存储指令, 处 理器 401用于执行存储器 404存储的指令。 其中:
[0079] 所述处理器 401, 用于在通过输入设备 402接收到车辆内乘客人数统计信息后, 启动摄像装置 405; 所述处理器 401还用于通过启动后的所述摄像装置 405检测当 前环境光强度, 当检测到的所述环境光强度不符合预设的第一条件吋, 通过处 理模块对所述环境光强度进行处理, 以使得处理后的所述环境光强度符合所述 第一条件; 所述处理器 401还用于在所述环境光强度符合所述第一条件后, 通过 所述摄像装置 405拍摄照片; 所述处理器 401还用于对拍摄的所述照片进行人脸 检测, 统计检测到的不同人脸图像的数量, 将所述不同人脸图像的数量作为所 述车辆内当前的乘客人数。
[0080] 可选的, 所述摄像装置 405和所述处理模块分别固定在车辆内的中央后视镜支 架上或者附着在所述中央后视镜上或者固定在中央后视镜上方的车顶上。
[0081] 可选的, 所述处理器 401还用于对拍摄的多张照片进行人脸检测, 并对检测到 的人脸图像进行人脸特征匹配, 以确定所述检测到的人脸图像是否为同一人脸 图像。
[0082] 可选的, 所述处理器 401还用于对拍摄的所述照片进行人脸检测, 若拍摄的所 述照片中不存在人脸图像, 则触发所述摄像装置 405继续拍摄照片, 直到拍摄的 照片中包含人脸图像或者拍摄的次数达到预定的次数。
[0083] 可选的, 所述处理器 401还用于, 在获得车辆内当前的乘客人数之后, 将所述 车辆内当前的乘客人数以及拍摄的所述照片存储在本地或者通过输出设备 403上 传至云服务器。
[0084] 所述存储器 404, 用于存储软件程序、 模块、 装置以及车载终端中需要的数据 信息, 所述处理器 401通过运行存储在所述存储器 404的软件程序、 模块以及单 元, 从而执行各种功能应用以及数据处理, 准确统计车辆内乘客人数。 [0085] 应当理解, 在本发明实施例中, 所称处理器 401可以是中央处理单元 (Central Processing Unit, CPU) , 该处理器还可以是其他通用处理器、 数字信号处理器 (Digital Signal Processor, DSP)、 专用集成电路 (Application Specific Integrated Circuit, ASIC)、 现成可编程门阵列(Field-Programmable Gate Array, FPGA)或 者其他可编程逻辑器件、 分立门或者晶体管逻辑器件、 分立硬件组件等。 通用 处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
[0086] 输入设备 402可以包括触控板、 指纹采集传感器 (用于采集用户的指纹信息和 指纹的方向信息) 、 麦克风、 摄像头、 数据采集装置、 数据接收装置等, 输出 设备 403可以包括显示器 (LCD等) 、 扬声器、 数据发送装置、 无线传输模块等
[0087] 该存储器 404可以包括只读存储器和随机存取存储器, 并向处理器 401提供指 令和数据。 存储器 404的一部分还可以包括非易失性随机存取存储器。 例如, 存 储器 404还可以存储设备类型的信息。
[0088] 该摄像装置 405可包括镜头模组、 影像感测器以及闪光灯等组件。 镜头模组用 于对被拍摄的目标成像, 并将所成的像映射至影像感测器中。 影像感测器用于 接收来自镜头模组的光线, 实现感光, 以记录图像信息。 具体地, 影像感测器 可基于互补金属氧化物半导体 (Complementary Metal Oxide
Semiconductor, CMOS) 、 电荷耦合元件 (Charge-coupled Device, CCD)或者其 他影像感测原理实现。 闪光灯用于在拍摄吋进行曝光补偿。
[0089] 具体实现中, 本发明实施例中所描述的处理器 401、 输入设备 402、 输出设备 40 3和存储器 404可执行本发明实施例提供的车辆内乘客人数统计方法的实施例中 所描述的实现方式, 也可执行车辆内乘客人数统计装置的实施例三中所描述的 实现方式, 在此不再赘述。
[0090] 本领域普通技术人员可以意识到, 结合本文中所公幵的实施例描述的各示例的 模块及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来实现, 为了 清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能一般性地描述 了各示例的组成及步骤。 这些功能究竟以硬件还是软件方式来执行, 取决于技 术方案的特定应用和设计约束条件。 专业技术人员可以对每个特定的应用来使 用不同方法来实现所描述的功能, 但是这种实现不应认为超出本发明的范围。
[0091] 在本发明所提供的实施例中, 应该理解到, 所揭露的装置和方法, 可以通过其 它的方式实现。 例如, 以上所描述的实施例仅仅是示意性的, 例如, 所述模块 或单元的划分, 仅仅为一种逻辑功能划分, 实际实现吋可以有另外的划分方式 , 例如多个单元或组件可以结合或者可以集成到另一个系统, 或一些特征可以 忽略, 或不执行。 另一点, 所显示或讨论的相互之间的耦合或直接耦合或通讯 连接可以是通过一些接口, 装置或单元的间接耦合或通讯连接, 可以是电性, 机械或其它的形式。
[0092] 所述作为分离部件说明的单元可以是或者也可以不是物理上分幵的, 作为单元 显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可 以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或者全部单元 来实现本实施例方案的目的。
[0093] 另外, 在本发明各个实施例中的各功能模块可以集成在一个处理单元中, 也可 以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一个单元中。 上述集成的单元既可以采用硬件的形式实现, 也可以采用软件功能单元的形式 实现。
[0094] 所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用 吋, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明实施 例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部 或部分可以以软件产品的形式体现出来, 该计算机软件产品存储在一个存储介 质中, 包括若干指令用以使得一台计算机设备 (可以是个人计算机, 服务器, 或者网络设备等) 或处理器 (processor) 执行本发明实施例各个实施例所述方法 的全部或部分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器 (R0 M , Read-Only Memory)、 随机存取存储器 (RAM, Random Access Memory)、 磁 碟或者光盘等各种可以存储程序代码的介质。
[0095] 以上所述实施例仅用以说明本发明的技术方案, 而非对其限制; 尽管参照前述 实施例对本发明进行了详细的说明, 本领域的普通技术人员应当理解: 其依然 可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分技术特征进 行等同替换; 而这些修改或者替换, 并不使相应技术方案的本质脱离本发明实 施例各实施例技术方案的精神和范围。

Claims

权利要求书
[权利要求 1] 一种车辆内乘客人数统计方法, 其特征在于, 所述方法包括:
在接收到车辆内乘客人数统计信息后, 启动摄像装置;
通过启动后的所述摄像装置检测当前环境光强度, 当检测到的所述环 境光强度不符合预设的第一条件吋, 通过处理模块对所述环境光强度 进行处理, 以使得处理后的所述环境光强度符合所述第一条件; 在所述环境光强度符合所述第一条件后, 通过所述摄像装置拍摄照片
对拍摄的所述照片进行人脸检测, 统计检测到的不同人脸图像的数量 , 将所述不同人脸图像的数量作为所述车辆内当前的乘客人数。 根据权利要求 1所述的方法, 其特征在于, 所述摄像装置和所述处理 模块分别固定在车辆内的中央后视镜支架上或者附着在所述中央后视 镜上或者固定在中央后视镜上方的车顶上。
根据权利要求 1所述的方法, 其特征在于, 所述对拍摄的所述照片进 行人脸检测包括:
对拍摄的多张照片进行人脸检测, 并对检测到的人脸图像进行人脸特 征匹配, 以确定所述检测到的人脸图像是否为同一人脸图像。
根据权利要求 1所述的方法, 其特征在于, 所述对拍摄的所述照片进 行人脸检测包括:
对拍摄的所述照片进行人脸检测, 若拍摄的所述照片中不存在人脸图 像, 则触发所述摄像装置继续拍摄照片, 直到拍摄的照片中包含人脸 图像或者拍摄的次数达到预定的次数。
根据权利要求 1至 4任一项所述的方法, 其特征在于, 在获得车辆内当 前的乘客人数之后, 还包括:
将所述车辆内当前的乘客人数以及拍摄的所述照片存储在本地或上传 至云服务器。
一种车辆内乘客人数统计装置, 其特征在于, 所述装置包括: 车载终端前台、 摄像装置、 处理模块以及人脸检测模块; 所述车载终端前台, 用于在接收到车辆内乘客人数统计信息后, 向摄 像装置发送启动指令;
所述摄像装置, 用于在接收到所述启动指令后, 启动摄像装置, 并检 测当前环境光强度, 当检测到的所述环境光强度不符合预设的第一条 件吋, 向所述处理模块发送处理指令;
所述处理模块, 用于在接收到所述处理指令后, 对所述环境光强度进 行处理, 以使得处理后的所述环境光强度符合所述第一条件; 所述摄像装置, 还用于在所述环境光强度符合所述第一条件后拍摄照 片;
所述人脸检测模块, 用于对拍摄的所述照片进行人脸检测, 统计检测 到的不同人脸图像的数量, 将所述不同人脸图像的数量作为所述车辆 内当前的乘客人数。
根据权利要求 6所述的装置, 其特征在于, 所述摄像装置和所述处理 模块分别固定在车辆内的中央后视镜支架上或者附着在所述中央后视 镜上或者固定在中央后视镜上方的车顶上。
根据权利要求 6所述的装置, 其特征在于, 所述人脸检测模块具体用 于:
对拍摄的多张照片进行人脸检测, 并对检测到的人脸图像进行人脸特 征匹配, 以确定所述检测到的人脸图像是否为同一人脸图像。
根据权利要求 6所述的装置, 其特征在于, 所述人脸检测模块还用于
对拍摄的所述照片进行人脸检测, 若拍摄的所述照片中不存在人脸图 像, 则触发所述摄像装置继续拍摄照片, 直到拍摄的照片中包含人脸 图像或者拍摄的次数达到预定的次数。
根据权利要求 1至 4任一项所述的装置, 其特征在于, 所述装置还包括
无线传输模块, 用于在获得车辆内当前的乘客人数之后, 将所述车辆 内当前的乘客人数以及拍摄的所述照片存储在本地或上传至云服务器
ZSL£LO/LlOZ l3/13d 9688 /8Ϊ0Ζ OAV
PCT/CN2017/073752 2017-02-16 2017-02-16 一种车辆内乘客人数统计方法及装置 WO2018148896A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/073752 WO2018148896A1 (zh) 2017-02-16 2017-02-16 一种车辆内乘客人数统计方法及装置
CN201780000042.7A CN107004133A (zh) 2017-02-16 2017-02-16 一种车辆内乘客人数统计方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/073752 WO2018148896A1 (zh) 2017-02-16 2017-02-16 一种车辆内乘客人数统计方法及装置

Publications (1)

Publication Number Publication Date
WO2018148896A1 true WO2018148896A1 (zh) 2018-08-23

Family

ID=59435996

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/073752 WO2018148896A1 (zh) 2017-02-16 2017-02-16 一种车辆内乘客人数统计方法及装置

Country Status (2)

Country Link
CN (1) CN107004133A (zh)
WO (1) WO2018148896A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110245558A (zh) * 2019-05-07 2019-09-17 平安科技(深圳)有限公司 基于人脸识别的公交车辆调度方法、装置及计算机设备
CN111881843A (zh) * 2020-07-30 2020-11-03 河南天迈科技有限公司 一种基于人脸检测的出租车载客人数统计方法
CN114299746A (zh) * 2021-12-30 2022-04-08 武汉长飞智慧网络技术有限公司 基于图像识别的公交车辆调度方法、装置、设备及介质
CN114511821A (zh) * 2022-04-18 2022-05-17 深圳市爱深盈通信息技术有限公司 一种上下车人数统计方法、系统、计算机设备和存储介质

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107480633A (zh) * 2017-08-11 2017-12-15 安徽辉墨教学仪器有限公司 一种高校教室占用情况实时分析方法
CN107480632A (zh) * 2017-08-11 2017-12-15 安徽辉墨教学仪器有限公司 一种基于视频的教室内人员统计方法
CN108596688A (zh) * 2018-05-09 2018-09-28 厦门卫星定位应用股份有限公司 一种出租车载客信息获取方法及介质
CN109583402B (zh) * 2018-12-06 2023-08-18 江苏萝卜交通科技有限公司 用于景区乘坐观光车辆的人数统计方法
CN110120105A (zh) * 2019-03-29 2019-08-13 成都信息工程大学 载人车辆自动检票的方法、系统、服务器和终端
CN110271486A (zh) * 2019-06-13 2019-09-24 上海汽车集团股份有限公司 车辆内乘客安全监控方法、智能机器人、可读存储介质
CN111950499A (zh) * 2020-08-21 2020-11-17 湖北民族大学 一种检测车载人员统计信息的方法
CN113191223A (zh) * 2021-04-15 2021-07-30 宁波市民卡运营管理有限公司 一种乘客密度评估方法、装置、计算机设备和存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025790A (zh) * 2007-01-15 2007-08-29 中北大学 基于图像的公共汽车人数自动统计仪
CN202771616U (zh) * 2012-09-14 2013-03-06 长安大学 一种基于人脸检测的客车超载检测装置
CN103680129A (zh) * 2013-12-06 2014-03-26 深圳先进技术研究院 一种公交车辆运行监控的方法及系统
CN104424467A (zh) * 2013-08-21 2015-03-18 中移电子商务有限公司 一种人脸图像采集方法及装置、终端
CN104794890A (zh) * 2015-04-27 2015-07-22 北京嘀嘀无限科技发展有限公司 获得可载客车辆数量的方法及设备
CN106210523A (zh) * 2016-07-22 2016-12-07 浙江宇视科技有限公司 一种曝光调整方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10402626B2 (en) * 2015-03-02 2019-09-03 M and M Technologies Limited Recognition of human faces based on population verified reproducible measurements between facial anthropological landmarks on 2 dimensional or 3 dimensional human photographs
CN204547917U (zh) * 2015-04-15 2015-08-12 郭帅 一种轿车超员检测报警系统
CN106372566A (zh) * 2015-07-23 2017-02-01 深圳市飞思未来云媒体科技有限公司 一种基于数字标牌紧急疏散系统及方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025790A (zh) * 2007-01-15 2007-08-29 中北大学 基于图像的公共汽车人数自动统计仪
CN202771616U (zh) * 2012-09-14 2013-03-06 长安大学 一种基于人脸检测的客车超载检测装置
CN104424467A (zh) * 2013-08-21 2015-03-18 中移电子商务有限公司 一种人脸图像采集方法及装置、终端
CN103680129A (zh) * 2013-12-06 2014-03-26 深圳先进技术研究院 一种公交车辆运行监控的方法及系统
CN104794890A (zh) * 2015-04-27 2015-07-22 北京嘀嘀无限科技发展有限公司 获得可载客车辆数量的方法及设备
CN106210523A (zh) * 2016-07-22 2016-12-07 浙江宇视科技有限公司 一种曝光调整方法及装置

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110245558A (zh) * 2019-05-07 2019-09-17 平安科技(深圳)有限公司 基于人脸识别的公交车辆调度方法、装置及计算机设备
CN110245558B (zh) * 2019-05-07 2023-07-28 平安科技(深圳)有限公司 基于人脸识别的公交车辆调度方法、装置及计算机设备
CN111881843A (zh) * 2020-07-30 2020-11-03 河南天迈科技有限公司 一种基于人脸检测的出租车载客人数统计方法
CN111881843B (zh) * 2020-07-30 2023-12-29 河南天迈科技有限公司 一种基于人脸检测的出租车载客人数统计方法
CN114299746A (zh) * 2021-12-30 2022-04-08 武汉长飞智慧网络技术有限公司 基于图像识别的公交车辆调度方法、装置、设备及介质
CN114511821A (zh) * 2022-04-18 2022-05-17 深圳市爱深盈通信息技术有限公司 一种上下车人数统计方法、系统、计算机设备和存储介质
CN114511821B (zh) * 2022-04-18 2022-07-26 深圳市爱深盈通信息技术有限公司 一种上下车人数统计方法、系统、计算机设备和存储介质

Also Published As

Publication number Publication date
CN107004133A (zh) 2017-08-01

Similar Documents

Publication Publication Date Title
WO2018148896A1 (zh) 一种车辆内乘客人数统计方法及装置
WO2018148897A1 (zh) 一种驾驶员身份识别方法及装置
US20100302393A1 (en) Self-portrait assistance in image capturing devices
JP4759082B2 (ja) 複眼式撮像装置
CN111656411B (zh) 记录控制装置、记录控制系统、记录控制方法及存储介质
EP3664041A1 (en) Image recording device, image recording method, and image recording program
JP4663700B2 (ja) 撮影装置、及び撮影方法
JP5467992B2 (ja) 撮像装置
TWI653581B (zh) Image tracking system and image tracking method
US8576320B2 (en) Digital photographing apparatus and method of controlling the same
TW201015989A (en) Image capturing apparatus, method of determining presence or absence of image area, and recording medium
CN108605087A (zh) 终端的拍照方法、拍照装置和终端
JP5604285B2 (ja) 撮像装置
JP2005026968A (ja) 電子スチルカメラ、電子スチルカメラシステムおよびプログラム
JP2008299784A (ja) 被写体判定装置及びそのプログラム
JP2009290255A (ja) 撮像装置、および撮像装置制御方法、並びにコンピュータ・プログラム
JP2009105559A (ja) 撮影画像からの認識対象検出処理方法およびカメラ付き携帯型電子機器
JP2010098629A (ja) 撮像装置
JP2019028959A (ja) 画像登録装置、画像登録システムおよび画像登録方法
JP4560805B2 (ja) 撮像装置及びそのプログラム
JP6861525B2 (ja) ドライブレコーダ、画像記録方法及び監視装置
US20200275022A1 (en) Automotive driving recorder
JP7447455B2 (ja) 車両用記録制御装置および車両用記録制御方法
JP2022143854A (ja) 乗員状態判定装置および乗員状態判定方法
JP2008259088A (ja) 運行状況記憶装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17897117

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17897117

Country of ref document: EP

Kind code of ref document: A1