[go: up one dir, main page]

CN107991283B - Raman spectrum detection device and Raman spectrum detection method - Google Patents

Raman spectrum detection device and Raman spectrum detection method Download PDF

Info

Publication number
CN107991283B
CN107991283B CN201711437491.6A CN201711437491A CN107991283B CN 107991283 B CN107991283 B CN 107991283B CN 201711437491 A CN201711437491 A CN 201711437491A CN 107991283 B CN107991283 B CN 107991283B
Authority
CN
China
Prior art keywords
image
dangerous area
spectrum detection
predetermined
predetermined dangerous
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201711437491.6A
Other languages
Chinese (zh)
Other versions
CN107991283A (en
Inventor
王红球
左佳倩
刘海辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nuctech Co Ltd
Original Assignee
Nuctech Co Ltd
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 Nuctech Co Ltd filed Critical Nuctech Co Ltd
Priority to CN201711437491.6A priority Critical patent/CN107991283B/en
Publication of CN107991283A publication Critical patent/CN107991283A/en
Application granted granted Critical
Publication of CN107991283B publication Critical patent/CN107991283B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/62Systems in which the material investigated is excited whereby it emits light or causes a change in wavelength of the incident light
    • G01N21/63Systems in which the material investigated is excited whereby it emits light or causes a change in wavelength of the incident light optically excited
    • G01N21/65Raman scattering

Landscapes

  • Health & Medical Sciences (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating, Analyzing Materials By Fluorescence Or Luminescence (AREA)

Abstract

本发明的实施例提供了一种拉曼光谱检测设备以及一种拉曼光谱检测方法。拉曼光谱检测设备包括:激发光光源,配置成向待测样品发射激发光;光学装置,具有光谱检测光路和预定危险区域成像光路,光谱检测光路配置成收集来自待测样品被激发光照射的位置的光信号,预定危险区域成像光路配置成拍摄预定危险区域的图像;光谱仪,配置成接收来自光谱检测光路的光信号并由光信号生成待测样品的拉曼光谱;人脸识别装置,配置成接收预定危险区域的图像并识别预定危险区域的图像中是否包括人脸;以及安全控制器,配置成接收人脸识别装置的识别结果并在人脸识别装置识别出预定危险区域的图像中包括人脸的情况下使激发光光源处于关断状态。

Embodiments of the present invention provide a Raman spectrum detection device and a Raman spectrum detection method. The Raman spectrum detection equipment includes: an excitation light source configured to emit excitation light to the sample to be tested; an optical device having a spectrum detection light path and a predetermined dangerous area imaging light path, and the spectrum detection light path is configured to collect the excitation light from the sample to be tested. The optical signal of the position, the predetermined dangerous area imaging light path is configured to capture the image of the predetermined dangerous area; the spectrometer is configured to receive the optical signal from the spectrum detection optical path and generate the Raman spectrum of the sample to be measured from the optical signal; the face recognition device is configured To receive an image of a predetermined dangerous area and identify whether a human face is included in the image of the predetermined dangerous area; and a safety controller configured to receive a recognition result of the face recognition device and include the face in the image of the predetermined dangerous area when the face recognition device recognizes In the case of human faces, the excitation light source is turned off.

Description

拉曼光谱检测设备和拉曼光谱检测方法Raman spectrum detection equipment and Raman spectrum detection method

技术领域Technical field

本发明的实施例涉及拉曼光谱检测领域,尤其涉及一种拉曼光谱检测设备和一种拉曼光谱检测方法。Embodiments of the present invention relate to the field of Raman spectrum detection, and in particular to a Raman spectrum detection equipment and a Raman spectrum detection method.

背景技术Background technique

拉曼光谱分析技术是一种以拉曼散射效应为基础的非接触式光谱分析技术,它能对物质的成分进行定性、定量分析。拉曼光谱是一种分子振动光谱,它可以反映分子的指纹特征,可用于对物质的检测。拉曼光谱检测通过检测待测物对于激发光的拉曼散射效应所产生的拉曼光谱来检测和识别物质。拉曼光谱检测方法已经广泛应用于液体安检、珠宝检测、爆炸物检测、毒品检测、药品检测、农药残留检测等领域。Raman spectroscopic analysis technology is a non-contact spectroscopic analysis technology based on the Raman scattering effect, which can conduct qualitative and quantitative analysis of the components of substances. Raman spectrum is a kind of molecular vibration spectrum, which can reflect the fingerprint characteristics of molecules and can be used to detect substances. Raman spectroscopy detects and identifies substances by detecting the Raman spectrum produced by the Raman scattering effect of the object to be measured on the excitation light. Raman spectroscopy detection methods have been widely used in liquid security inspection, jewelry detection, explosives detection, drug detection, pharmaceutical detection, pesticide residue detection and other fields.

近年来,拉曼光谱分析技术在危险品检查和物质识别等领域得到了广泛的应用。在物质识别领域,由于各种物质的颜色、形状各异,人们通常无法准确判断物质的属性,而拉曼光谱由被检物的分子能级结构决定,因而拉曼光谱可作为物质的“指纹”信息,用于物质识别。因此拉曼光谱分析技术在海关、公共安全、食品药品、环境等领域有广泛应用。In recent years, Raman spectroscopy analysis technology has been widely used in fields such as dangerous goods inspection and substance identification. In the field of substance identification, due to the different colors and shapes of various substances, people usually cannot accurately judge the properties of substances. The Raman spectrum is determined by the molecular energy level structure of the object being tested, so the Raman spectrum can be used as a "fingerprint" of the substance. ” information for substance identification. Therefore, Raman spectroscopy analysis technology is widely used in customs, public security, food and medicine, environment and other fields.

由于拉曼光谱往往需要用高功率密度的激光作为激发光源,可能具有较强的热效应,在样品未知的情况下,贸然检测有可能会导致样品被激光烧蚀损伤,甚至有可能导致激光引燃或引爆一些易燃易爆化学品,造成人身财产的损失。而且,在某些情况下,比如拉曼光谱检测仪发出的激发光也可能伤害到人眼。Since Raman spectroscopy often requires the use of high-power-density lasers as excitation light sources, which may have strong thermal effects, when the sample is unknown, hasty detection may cause the sample to be damaged by laser ablation, or even cause the laser to ignite. Or detonate some flammable and explosive chemicals, causing losses to people and property. Moreover, in some cases, such as the excitation light emitted by a Raman spectrometer detector, it may also harm the human eye.

发明内容Contents of the invention

本发明旨在提出了一种拉曼光谱检测设备和一种拉曼光谱检测方法,其能够有效地降低或避免在拉曼光谱检测中人员受到伤害的风险。The present invention aims to propose a Raman spectrum detection equipment and a Raman spectrum detection method, which can effectively reduce or avoid the risk of personnel being injured during Raman spectrum detection.

本发明的实施例提供了一种拉曼光谱检测设备,包括:激发光光源,配置成向待测样品发射激发光;光学装置,所述光学装置具有光谱检测光路和预定危险区域成像光路,所述光谱检测光路配置成收集来自所述待测样品被激发光照射的位置的光信号,所述预定危险区域成像光路配置成拍摄预定危险区域的图像;光谱仪,配置成接收来自所述光谱检测光路的光信号并由所述光信号生成待测样品的拉曼光谱;人脸识别装置,配置成接收所述预定危险区域的图像并识别所述预定危险区域的图像中是否包括人脸;以及安全控制器,配置成接收人脸识别装置的识别结果并在人脸识别装置识别出所述预定危险区域的图像中包括人脸的情况下使激发光光源处于关断状态。Embodiments of the present invention provide a Raman spectrum detection equipment, including: an excitation light source configured to emit excitation light to a sample to be measured; an optical device having a spectrum detection light path and a predetermined dangerous area imaging light path, so The spectrum detection light path is configured to collect light signals from the position where the sample to be measured is illuminated by the excitation light, and the predetermined dangerous area imaging light path is configured to capture an image of the predetermined dangerous area; the spectrometer is configured to receive signals from the spectrum detection light path. an optical signal and generate a Raman spectrum of the sample to be tested from the optical signal; a face recognition device configured to receive the image of the predetermined dangerous area and identify whether the image of the predetermined dangerous area includes a human face; and safety A controller configured to receive the recognition result of the face recognition device and to turn off the excitation light source when the face recognition device recognizes that the image of the predetermined dangerous area includes a human face.

在一实施例中,所述预定危险区域包括被激发光照射或将被激发光照射的区域。In one embodiment, the predetermined dangerous area includes an area illuminated by the excitation light or to be illuminated by the excitation light.

在一实施例中,所述预定危险区域包括所述光学装置或待测样品的周围环境区域。In one embodiment, the predetermined danger area includes the surrounding environment area of the optical device or the sample to be measured.

在一实施例中,所述光谱检测光路依次包括收集透镜、分光镜、拉曼滤光片组和耦合透镜,且预定危险区域成像光路包括收集透镜、分光镜、透镜组和图像拍摄工具,其中,所述收集透镜和分光镜是所述光谱检测光路和预定危险区域成像光路的公共部件。In one embodiment, the spectrum detection light path includes a collection lens, a spectroscope, a Raman filter set and a coupling lens in sequence, and the predetermined dangerous area imaging light path includes a collection lens, a spectroscope, a lens set and an image capture tool, wherein , the collection lens and the beam splitter are common components of the spectrum detection optical path and the predetermined dangerous area imaging optical path.

在一实施例中,光谱检测光路和预定危险区域成像光路是彼此分离的。In one embodiment, the spectral detection light path and the predetermined dangerous area imaging light path are separated from each other.

在一实施例中,所述人脸识别装置包括:图像特征提取模块,所述图像特征提取模块配置成提取所述图像的特征并生成特征向量;分类器模型生成模块,所述分类器模型生成模块配置成根据参考人脸图像生成分类器模型;和识别模块,所述识别模块配置成将所述特征向量作为所述分类器模型的输入向量以判断由预定危险区域成像光路所采集到的图像中是否包含人脸特征。In one embodiment, the face recognition device includes: an image feature extraction module configured to extract features of the image and generate a feature vector; a classifier model generation module, the classifier model generates a module configured to generate a classifier model based on a reference face image; and a recognition module configured to use the feature vector as an input vector of the classifier model to determine the image collected by the predetermined dangerous area imaging optical path Does it contain facial features?

本发明的实施例还提供了一种拉曼光谱检测方法,包括:拍摄预定危险区域的图像;识别所述预定危险区域的图像中是否包括人脸;以及在识别出所述预定危险区域的图像中包括人脸的情况下使激发光光源处于关断状态,而在识别出所述预定危险区域的图像中不包括人脸的情况下,启动激发光光源,采集样品的拉曼光谱以对样品进行检测。Embodiments of the present invention also provide a Raman spectrum detection method, which includes: taking an image of a predetermined dangerous area; identifying whether the image of the predetermined dangerous area includes a human face; and identifying the image of the predetermined dangerous area. When a human face is included in the image, the excitation light source is turned off. When it is recognized that the image of the predetermined dangerous area does not include a human face, the excitation light source is started and the Raman spectrum of the sample is collected to analyze the sample. Perform testing.

在一实施例中,在所述识别所述预定危险区域的图像中是否包括人脸之前,所述方法还包括:根据参考人脸图像生成分类器模型。In one embodiment, before identifying whether the image of the predetermined dangerous area includes a human face, the method further includes: generating a classifier model based on a reference face image.

在一实施例中,所述识别所述预定危险区域的图像中是否包括人脸包括:提取所述图像的特征并生成特征向量;和将所述特征向量作为所述分类器模型的输入向量以判断由预定危险区域成像光路所采集到的图像中是否包含人脸特征。In one embodiment, identifying whether the image of the predetermined dangerous area includes a human face includes: extracting features of the image and generating a feature vector; and using the feature vector as an input vector of the classifier model to Determine whether the image collected by the predetermined dangerous area imaging light path contains facial features.

借助于根据上述实施例的拉曼光谱检测设备以及拉曼光谱检测的样品安全性检测方法,能够削减或防止在光谱检测过程中因为激发光引燃、烧蚀或引爆样品而导致的检测风险。With the help of the Raman spectrum detection equipment and the sample safety detection method of Raman spectrum detection according to the above embodiments, detection risks caused by the excitation light igniting, ablating or detonating the sample during the spectrum detection process can be reduced or prevented.

附图说明Description of the drawings

图1示出了根据本发明的一实施例的拉曼光谱检测设备的示意图;Figure 1 shows a schematic diagram of a Raman spectrum detection device according to an embodiment of the present invention;

图2示出了根据本发明的一实施例的拉曼光谱检测设备的示意图;Figure 2 shows a schematic diagram of a Raman spectrum detection device according to an embodiment of the present invention;

图2a示出了根据本发明的一实施例的拉曼光谱检测设备中的预定危险区域成像光路的等效光路的示意图;Figure 2a shows a schematic diagram of the equivalent optical path of the predetermined dangerous area imaging optical path in the Raman spectrum detection device according to an embodiment of the present invention;

图3示出了根据本发明的一实施例的拉曼光谱检测方法的流程图;Figure 3 shows a flow chart of a Raman spectrum detection method according to an embodiment of the present invention;

图4示出了根据本发明的一实施例的拉曼光谱检测方法中图像特征向量提取的示例性的流程图;Figure 4 shows an exemplary flow chart of image feature vector extraction in a Raman spectrum detection method according to an embodiment of the present invention;

图5示出了根据本发明的一实施例的拉曼光谱检测方法中建立分类器模型的示例性的流程图;以及Figure 5 shows an exemplary flow chart for establishing a classifier model in a Raman spectrum detection method according to an embodiment of the present invention; and

图6示出了根据本发明的一实施例的拉曼光谱检测方法中特征提取的示例性的流程图。Figure 6 shows an exemplary flow chart of feature extraction in a Raman spectrum detection method according to an embodiment of the present invention.

附图没有对根据本发明的实施例的拉曼光谱检测设备中的所有的电路或结构进行显示。贯穿所有附图相同的附图标记表示相同或相似的部件或特征。The drawings do not show all circuits or structures in the Raman spectrum detection device according to embodiments of the present invention. The same reference numbers throughout the drawings refer to the same or similar parts or features.

具体实施方式Detailed ways

下面通过实施例,并结合附图,对本发明的技术方案作进一步具体的说明。在说明书中,相同或相似的附图标号表示相同或相似的部件。下述参照附图对本发明实施方式的说明旨在对本发明的总体发明构思进行解释,而不应当理解为对本发明的一种限制。The technical solution of the present invention will be further described in detail below through examples and in conjunction with the accompanying drawings. In the specification, the same or similar reference numerals represent the same or similar components. The following description of the embodiments of the present invention with reference to the accompanying drawings is intended to explain the general inventive concept of the present invention and should not be understood as a limitation of the present invention.

另外,在下面的详细描述中,为便于解释,阐述了许多具体的细节以提供对本披露实施例的全面理解。然而明显地,一个或更多个实施例在没有这些具体细节的情况下也可以被实施。在其他情况下,公知的结构和装置以图示的方式体现以简化附图。Additionally, in the following detailed description, for convenience of explanation, numerous specific details are set forth to provide a comprehensive understanding of the disclosed embodiments. It will be apparent, however, that one or more embodiments may be practiced without these specific details. In other instances, well-known structures and devices are illustrated in order to simplify the drawings.

本发明的实施例提供了一种拉曼光谱检测设备100。如图1所示,该拉曼光谱检测设备100包括:激发光光源10、光学装置20、光谱仪30、人脸识别装置40和安全控制器60。该激发光光源10,例如可以包括激光器,配置成向待测样品50发射激发光。所述光学装置20可以包括光谱检测光路21和预定危险区域成像光路22。所述光谱检测光路21配置成收集来自所述待测样品50被激发光照射的位置的光信号。所收集到的光信号可以被传送至光谱仪30。光谱仪30则可配置成接收来自所述光谱检测光路21的光信号并由所述光信号生成待测样品50的拉曼光谱,从而实现拉曼光谱检测的正常流程。而所述预定危险区域成像光路22配置成拍摄被激发光照射或将被激发光照射的预定危险区域的图像,该图像被传送给人脸识别装置40。该人脸识别装置40则可配置成基于由所述预定危险区域成像光路22拍摄的所述预定危险区域的图像来确定预定危险区域中是否具有人脸存在。An embodiment of the present invention provides a Raman spectrum detection device 100. As shown in FIG. 1 , the Raman spectrum detection equipment 100 includes: an excitation light source 10 , an optical device 20 , a spectrometer 30 , a face recognition device 40 and a security controller 60 . The excitation light source 10 may include, for example, a laser and is configured to emit excitation light to the sample 50 to be measured. The optical device 20 may include a spectrum detection light path 21 and a predetermined dangerous area imaging light path 22 . The spectrum detection light path 21 is configured to collect light signals from the position where the sample to be measured 50 is illuminated by the excitation light. The collected optical signals may be transmitted to spectrometer 30. The spectrometer 30 can be configured to receive the optical signal from the spectrum detection optical path 21 and generate the Raman spectrum of the sample to be measured 50 from the optical signal, thereby realizing the normal process of Raman spectrum detection. The predetermined dangerous area imaging optical path 22 is configured to capture an image of the predetermined dangerous area illuminated or to be illuminated by the excitation light, and the image is transmitted to the face recognition device 40 . The face recognition device 40 may be configured to determine whether there is a face in the predetermined danger area based on the image of the predetermined danger area captured by the predetermined danger area imaging light path 22 .

如前所述,利用激发光来采集光学信号是对待测样品进行拉曼光谱检测的基本步骤,而激发光本身具有一定的能量,对于某些材料的待测样品而言,其可能与激发光发生反应而导致样品成分的变化。例如,某些易燃、易爆的物质可能在激发光的作用下被点燃、烧蚀、爆炸等。在实际中,待测样品的成分往往是未知的,因此如果人的面部处在距离待测样品较近的位置(例如光学装置或待测样品的周围环境区域),则有可能受到伤害。再例如,激发光自身也可能对人眼产生伤害,因此,在激发光发射之前或发射中,也可以通过检测在被激发光照射或可能被激发光照射的区域上是否存在人的面部,以避免风险。这对于手持式拉曼光谱检测设备尤其重要。As mentioned before, using excitation light to collect optical signals is the basic step for Raman spectroscopy detection of the sample to be tested. The excitation light itself has a certain energy. For samples of certain materials to be tested, it may be different from the excitation light. A reaction occurs that results in a change in the composition of the sample. For example, some flammable and explosive substances may be ignited, ablated, exploded, etc. under the action of excitation light. In practice, the composition of the sample to be tested is often unknown, so if a person's face is located close to the sample to be tested (such as an optical device or the surrounding environment area of the sample to be tested), it may be harmed. For another example, the excitation light itself may also cause damage to human eyes. Therefore, before or during the emission of the excitation light, it is also possible to detect whether there is a human face in the area illuminated by the excitation light or that may be illuminated by the excitation light. avoid risk. This is especially important for handheld Raman spectroscopy detection equipment.

在根据本发明的实施例的拉曼光谱检测设备中,安全控制器60可以配置成接收人脸识别装置40的识别结果并在人脸识别装置40识别出所述预定危险区域的图像中包括人脸的情况下使激发光光源处于关断状态。这样,就可以防止在检测过程中发生人员伤害。In the Raman spectrum detection device according to the embodiment of the present invention, the safety controller 60 may be configured to receive the recognition result of the face recognition device 40 and to include a person in the image in which the face recognition device 40 recognizes the predetermined danger area. In the face case, the excitation light source is turned off. In this way, personal injury can be prevented during the inspection process.

在一示例中,如图1所示,光谱检测光路21可以依次包括收集透镜31、分光镜32、拉曼滤光片组33和耦合透镜34。作为示例,拉曼滤光片组33可以包括一个或更多个滤光片,用于过滤瑞利散射光和激发光等不期望的光而保留拉曼散射光信号。耦合透镜34可以用于将经过拉曼滤光片组33过滤的光信号耦合至光谱仪30。预定危险区域成像光路22可以包括透镜组23和图像拍摄工具24。该图像拍摄工具24例如可以是照相机(如CCD相机等)、摄像头等用于拍摄图像的装置。透镜组23可以包括一个或更多个透镜,其可以是与图像拍摄工具24分立的,也可以与图像拍摄工具24集成在一起。该透镜组23可以由任意数量的透镜组成,也可以由本领域已知的任何能够实现清晰成像的透镜组构成。图1中示出的预定危险区域成像光路22是示意性的,可以根据需要来选择希望成像的预定危险区域。这里所说的“预定危险区域”是指在激发光信号采集过程中人的面部处于该区域内可能会发生潜在的危险的区域。例如,该预定危险区域可以包括被激发光照射或将被激发光照射的区域,或者包括所述光学装置或待测样品的周围环境区域。光学装置或待测样品的周围环境区域是指在该区域中的位置与光学装置或待测样品的距离小于安全距离(安全距离可以根据可能发生的点燃、爆炸、激光辐射的能量来确定)。通过对于这些预定危险区域的图像进行人脸识别,可以判定是否存在造成人员伤害的风险。In an example, as shown in FIG. 1 , the spectrum detection optical path 21 may include a collection lens 31 , a beam splitter 32 , a Raman filter set 33 and a coupling lens 34 in sequence. As an example, the Raman filter set 33 may include one or more filters for filtering undesired light such as Rayleigh scattered light and excitation light while retaining the Raman scattered light signal. The coupling lens 34 may be used to couple the optical signal filtered by the Raman filter set 33 to the spectrometer 30 . The predetermined dangerous area imaging optical path 22 may include a lens group 23 and an image capturing tool 24 . The image capturing tool 24 may be, for example, a camera (such as a CCD camera, etc.), a camera, or other device used for capturing images. The lens group 23 may include one or more lenses, which may be separate from the image capturing tool 24 or integrated with the image capturing tool 24 . The lens group 23 can be composed of any number of lenses, or any lens group known in the art that can achieve clear imaging. The predetermined dangerous area imaging light path 22 shown in FIG. 1 is schematic, and the predetermined dangerous area that is desired to be imaged can be selected as needed. The "predetermined dangerous area" mentioned here refers to an area where potential danger may occur if a person's face is in this area during the excitation light signal collection process. For example, the predetermined danger area may include an area illuminated or to be illuminated by the excitation light, or an area of the surrounding environment including the optical device or the sample to be measured. The surrounding environment area of the optical device or the sample to be measured refers to the location in this area where the distance from the optical device or the sample to be measured is less than the safe distance (the safety distance can be determined based on the energy of possible ignition, explosion, and laser radiation). By performing face recognition on images of these predetermined dangerous areas, it can be determined whether there is a risk of personal injury.

作为示例,在光线较暗的环境中成像时,可能还需要提供补光灯等装置来为拍摄待测样品的图像提供充足的光照强度以提高图像的清晰度。As an example, when imaging in a dark environment, it may be necessary to provide a fill light and other devices to provide sufficient light intensity for capturing images of the sample to be tested to improve the clarity of the image.

在上述图1所示的示例中,光谱检测光路21和预定危险区域成像光路22是彼此分离的。而在另一示例中,光谱检测光路21和预定危险区域成像光路22也可以存在一定的交叠。例如,如图2所示,收集透镜31和分光镜32是光谱检测光路21和预定危险区域成像光路22的公共部件。这有利于提高光学装置的紧凑程度,以节约空间。In the above example shown in FIG. 1 , the spectrum detection light path 21 and the predetermined dangerous area imaging light path 22 are separated from each other. In another example, the spectrum detection light path 21 and the predetermined dangerous area imaging light path 22 may also overlap to a certain extent. For example, as shown in FIG. 2 , the collection lens 31 and the beam splitter 32 are common components of the spectrum detection optical path 21 and the predetermined dangerous area imaging optical path 22 . This helps to improve the compactness of the optical device to save space.

在图2所示的根据本发明的另一实施例的拉曼光谱检测设备100’中,光谱检测光路21和预定危险区域成像光路22在靠近待测样品50处具有公共部分,分光镜32允许来自待测样品50的光信号透射通过以射向光谱仪,从而形成光谱检测光路21,分光镜32将带有图像的光束反射以形成预定危险区域成像光路22。需要说明的是,尽管光谱检测光路21和预定危险区域成像光路22具有公共部分,但是,这不意味着光谱检测和对预定危险区域成像的操作要同时进行,例如,对预定危险区域成像的操作通常在光谱检测之前进行,以在光谱检测之前排除安全隐患,以避免光谱检测过程中出现危险。另外,光谱检测光路21和预定危险区域成像光路22共用收集透镜31,可以更好地对于激发光可能照射的区域进行成像。In the Raman spectrum detection device 100' according to another embodiment of the present invention shown in Figure 2, the spectrum detection light path 21 and the predetermined dangerous area imaging light path 22 have a common part close to the sample to be measured 50, and the spectroscope 32 allows The light signal from the sample to be measured 50 is transmitted through to the spectrometer, thereby forming a spectrum detection light path 21 , and the beam splitter 32 reflects the light beam with the image to form a predetermined dangerous area imaging light path 22 . It should be noted that although the spectral detection light path 21 and the predetermined dangerous area imaging light path 22 have a common part, this does not mean that the operations of spectral detection and imaging of the predetermined dangerous area need to be performed at the same time, for example, the operation of imaging the predetermined dangerous area. It is usually carried out before spectrum detection to eliminate safety hazards before spectrum detection to avoid danger during the spectrum detection process. In addition, the spectrum detection light path 21 and the predetermined dangerous area imaging light path 22 share the collection lens 31, which can better image the area that may be illuminated by the excitation light.

需要说明的是,图2示出的是在激发光光源10发射激发光的情况下光学装置20中的光束的行进情况,然而,在实际中,当对于预定危险区域进行成像时,往往激发光光源并不发射激发光,甚至不存在待测样品50。此时,预定危险区域成像光路22的等效光路如图2a所示,收集透镜31和透镜组23可以将其朝向待测样品50的一侧的图像投射向图像拍摄工具24,并由图像拍摄工具24的镜头26将图像成像在像平面(例如底片、CCD等所在平面)上。这可以方便地获得收集透镜31前方的区域的图像,这可以避免人眼位于待测样品50的检测位置附近而导致的风险。It should be noted that FIG. 2 shows the progress of the light beam in the optical device 20 when the excitation light source 10 emits excitation light. However, in practice, when imaging a predetermined dangerous area, the excitation light is often The light source does not emit excitation light, and there is not even a sample 50 to be measured. At this time, the equivalent optical path of the predetermined dangerous area imaging optical path 22 is shown in Figure 2a. The collection lens 31 and the lens group 23 can project the image of the side facing the sample 50 to be tested to the image capturing tool 24, and capture the image. The lens 26 of the tool 24 forms the image on the image plane (such as the plane of the film, CCD, etc.). This can easily obtain an image of the area in front of the collection lens 31 , which can avoid the risk caused by the human eye being located near the detection position of the sample to be tested 50 .

作为示例,激发光光源10发射激发光的光路也可以与光谱检测光路21部分重合,例如,在图1和图2所示的示例中,均可设置另一分光镜35,该分光镜35可以将激发光光源10发出的激发光反射,被反射的激发光经过收集透镜31会聚在待测样品50上,这有助于简化光路的调整,然而,本发明的实施例不限于此,例如激发光光源10发出的光可以经过与光谱检测光路完全独立的光路来照射待测样品。作为示例,激发光从激发光光源10发出后还可以经过除杂光滤光片36,该除杂光滤光片36可以用于除去杂散光以提高激发光的信噪比。As an example, the optical path through which the excitation light source 10 emits excitation light may partially overlap with the spectrum detection optical path 21. For example, in the examples shown in FIG. 1 and FIG. 2, another beam splitter 35 may be provided, and the beam splitter 35 may be The excitation light emitted by the excitation light source 10 is reflected, and the reflected excitation light is concentrated on the sample to be measured 50 through the collection lens 31 , which helps to simplify the adjustment of the optical path. However, the embodiments of the present invention are not limited thereto. For example, excitation The light emitted by the light source 10 can illuminate the sample to be measured through a light path that is completely independent from the spectrum detection light path. As an example, after the excitation light is emitted from the excitation light source 10, it can also pass through a stray light filter 36, which can be used to remove stray light to improve the signal-to-noise ratio of the excitation light.

上述示例仅仅是给出了拉曼光谱检测设备的一种示例性的实现方式,但本发明的实施例不限于此,其他的本领域技术人员在阅读本公开内容之后可以预知的拉曼光谱检测设备的替代方式也是可行的。The above example only provides an exemplary implementation of a Raman spectrum detection device, but the embodiments of the present invention are not limited thereto. Other Raman spectrum detection methods that those skilled in the art can predict after reading this disclosure Alternative means of equipment are also possible.

作为示例,人脸识别装置40可以包括:图像特征提取模块41,所述图像特征提取模块配置成提取所述图像的特征并生成特征向量;分类器模型生成模块42,所述分类器模型生成模块配置成根据参考人脸图像生成分类器模型;和识别模块43,所述识别模块配置成将所述特征向量作为所述分类器模型的输入向量以判断由预定危险区域成像光路所采集到的图像中是否包含人脸特征。As an example, the face recognition device 40 may include: an image feature extraction module 41 configured to extract features of the image and generate a feature vector; a classifier model generation module 42, the classifier model generation module Configured to generate a classifier model based on a reference face image; and a recognition module 43 configured to use the feature vector as an input vector of the classifier model to determine the image collected by the predetermined dangerous area imaging optical path Does it contain facial features?

在上述实施例中,人脸识别装置40和安全控制器60可以由处理器来实现,也可以由其他的软、硬件结构来实现。而作为示例,安全控制器60还可以由触发开关来实现。In the above embodiment, the face recognition device 40 and the security controller 60 can be implemented by a processor, or can also be implemented by other software and hardware structures. As an example, the safety controller 60 can also be implemented by a trigger switch.

本发明的实施例还公开了一种拉曼光谱检测方法S100。如图3所示,该方法可以包括:An embodiment of the present invention also discloses a Raman spectrum detection method S100. As shown in Figure 3, the method may include:

步骤S10:拍摄预定危险区域的图像;Step S10: Take images of the predetermined dangerous area;

步骤S20:识别所述预定危险区域的图像中是否包括人脸;以及Step S20: Identify whether the image of the predetermined dangerous area includes a human face; and

步骤S30:在识别出所述预定危险区域的图像中包括人脸的情况下使激发光光源处于关断状态,而在识别出所述预定危险区域的图像中不包括人脸的情况下,启动激发光光源,采集样品的拉曼光谱以对样品进行检测。Step S30: When it is recognized that the image of the predetermined dangerous area includes a human face, the excitation light source is turned off, and when it is recognized that the image of the predetermined dangerous area does not include a human face, start Excite the light source and collect the Raman spectrum of the sample to detect the sample.

下面参照图4至图6对于识别所述预定危险区域的图像中是否包括人脸的步骤进行示例性的介绍:The following is an exemplary introduction to the steps of identifying whether a human face is included in the image of the predetermined dangerous area with reference to Figures 4 to 6:

图4示出了图像特征提取流程的示例。对于人脸识别而言,需要首先具有训练样本,也就是说已知的具有人脸的图像,在此称为参考人脸图像。通过该训练样本提取图像的特征、形成样本特征向量,可以建立分类器模型,而在实际中由预定危险区域成像光路22采集到的图像也可以同样被提取图像的特征,形成测试图像的特征向量,并基于该分类器模型来计算出与该模型的匹配程度,以确定在实际采集到的测试图像中是否具有人脸特征。Figure 4 shows an example of the image feature extraction process. For face recognition, you need to first have training samples, that is to say, known images with faces, here called reference face images. By extracting image features from the training samples and forming a sample feature vector, a classifier model can be established. In practice, the image features collected by the predetermined dangerous area imaging optical path 22 can also be extracted to form a feature vector of the test image. , and calculate the matching degree with the model based on the classifier model to determine whether there are facial features in the actually collected test images.

在图4所示出的流程图中,包括步骤S41,即采集训练样本的步骤。采集训练样本可以通过根据本发明的实施例的拉曼光谱检测设备随机进行图像采集,但在此情况下,所采集到的训练样本中需要包含人脸特征,也就是说,在对预定危险区域进行图像采集时,预定危险区域中应当有人脸位于其内。替代地,采集训练样本也可以通过从已知的(人脸图像)样本库中直接获取。The flowchart shown in Figure 4 includes step S41, which is the step of collecting training samples. Collecting training samples can randomly collect images through the Raman spectrum detection equipment according to embodiments of the present invention, but in this case, the collected training samples need to contain facial features, that is, in the predetermined dangerous area When collecting images, there should be a face in the predetermined danger zone. Alternatively, training samples can also be collected directly from a known (face image) sample library.

在采集到训练样本图像之后,执行步骤S42,即进行特征的提取。作为示例,可在图像特征提取过程中,选用图像密集特征。在本例中,采用的在图像识别领域具有优越性能且被广泛应用的SIFT特征(SIFT特征是本领域已知的,在此不再赘述)。特征提取步骤如下,如图6所示:After the training sample images are collected, step S42 is executed, that is, feature extraction is performed. As an example, image dense features can be selected during image feature extraction. In this example, the SIFT feature, which has superior performance and is widely used in the field of image recognition, is used (SIFT feature is known in the art and will not be described again here). The feature extraction steps are as follows, as shown in Figure 6:

①将采集到的训练样本图像的数目进行统计,在本例中,该数目为N1① Count the number of collected training sample images. In this example, the number is N 1 .

②确定在特征提取过程中的步进长度λ,滑动窗体尺寸为α(其中λ和α均为自然数);② Determine the step length λ in the feature extraction process, and the sliding window size is α (where λ and α are both natural numbers);

③输入训练样本图像k,包括记录图像的长(即图像的像素行数(img.cols))、宽(即图像的像素列数(img.rows))分别为m,n,并置i=0,j=0;③Input the training sample image k, including the length (i.e., the number of pixel rows of the image (img.cols)) and width (i.e., the number of pixel columns (img.rows)) of the recorded image, which are m and n respectively, and the juxtaposition i = 0,j=0;

④提取图像中(i,j)到(i+α,j+α)图像块(patch)的SIFT特征,记录SIFT特征为f;④Extract SIFT features from (i,j) to (i+α,j+α) image patches (patch) in the image, and record the SIFT features as f;

⑤将j自增步进长度λ,判断j+α≤n是否成立。如果成立重复②③④的步骤,否则跳转到步骤⑥;⑤ Increase j by the step length λ and determine whether j+α≤n is true. If true, repeat steps ②③④, otherwise jump to step ⑥;

⑥将j置零,i自增步进长度λ,判断j+α≤m是否成立。如果成立则重复②③④的步骤,直到i>m完成训练样本图像k的密集特征(SIFT特征)Fk=[f1,f2,…,fNumk]的提取,其中Numk=((n-α)/λ)*((m-α)/λ),k=1,2,…,N1⑥Set j to zero, increase i by the step length λ, and determine whether j+α≤m is true. If established, repeat steps ②③④ until i>m completes the extraction of dense features (SIFT features) F k = [f 1 , f 2 ,..., f Numk ] of the training sample image k, where Numk = ((n-α )/λ)*((m-α)/λ), k=1,2,…,N 1 .

在完成密集特征提取之后,则需要执行步骤S43,即字典构造和特征编码。字典构造过程可以包括:After completing the dense feature extraction, step S43, namely dictionary construction and feature encoding, needs to be performed. The dictionary construction process can include:

随机抽取训练样本图像的SIFT特征F=[F1,F2,…,FN1],其中Fk=[f1,f2,…,fNumk],记录为M=[f1,f2,…,fm],其中选取 Randomly extract the SIFT features F = [F 1 , F 2 ,..., F N1 ] of the training sample image, where F k = [f 1 , f 2 ,..., f Numk ], recorded as M = [f 1 , f 2 ,…,f m ], where selected

采用图像特征M进行聚类处理,选取聚类中心个数为h,如可利用已知的K-means聚类算法,得到特征中心向量,从而生成字典D,D=[d1,d2,...,dh]。The image feature M is used for clustering processing, and the number of cluster centers is selected as h. For example, the known K-means clustering algorithm can be used to obtain the feature center vector, thereby generating a dictionary D, D=[d 1 , d 2 , ...,d h ].

特征编码流程可以包括:The feature encoding process can include:

输入训练样本图像k的密集SIFT特征Fk=[f1,f2,…,fNumk];Input the dense SIFT feature F k of the training sample image k = [f 1 , f 2 ,…, f Numk ];

按照下述公式(1)对训练样本图像k的SIFT特征进行投影重构,记录ci,即训练样本图像的特征向量,也就是分类器输入向量。According to the following formula (1), the SIFT features of the training sample image k are projected and reconstructed, and c i is recorded, which is the feature vector of the training sample image, that is, the classifier input vector.

其中,“s.t.”表示约束条件,对于N1个训练样本图像而言,N=N1Among them, "st" represents the constraint condition. For N 1 training sample images, N=N 1 .

为了建立分类器模型,将上述训练样本图像的特征向量作为输入样本,可以选用本领域已知的线性支持向量机模型作为分类器,进行训练,得到训练样本的分类器模型,如图5所示。图5中训练样本标签是指训练样本图像所对应的标号。In order to establish a classifier model, the feature vector of the above training sample image is used as the input sample. The linear support vector machine model known in the art can be selected as the classifier for training to obtain the classifier model of the training sample, as shown in Figure 5 . The training sample label in Figure 5 refers to the label corresponding to the training sample image.

作为示例,为了更好地确认分类器模型的正确性,可以进行模型验证。为了模型验证,可以利用与训练样本图像类似的模型验证样本图像,按照上述提取训练样本图像的特征向量的步骤,对模型验证样本图像进行密集特征提取,对特征字典进行投影,以形成模型验证样本图像的特征向量。该模型验证样本图像的特征向量可以用作分类器模型验证的输入向量,验证分类输出是否正确,并统计验证输出的准确率,即模型的召回率。作为示例,训练样本图像的数量与模型验证样本图像的数量之比可以是5:1。本领域技术人员应当理解,上述模型验证流程仅仅是为了优化算法而提供的示例性步骤,本发明的实施例可以不包括该模型验证流程。As an example, to better confirm the correctness of the classifier model, model validation can be performed. For model verification, you can use a model verification sample image similar to the training sample image. Follow the above steps to extract the feature vector of the training sample image, perform dense feature extraction on the model verification sample image, and project the feature dictionary to form a model verification sample. Feature vector of the image. The feature vector of the model verification sample image can be used as an input vector for classifier model verification to verify whether the classification output is correct, and statistically verify the accuracy of the output, that is, the recall rate of the model. As an example, the ratio of the number of training sample images to the number of model validation sample images can be 5:1. Those skilled in the art should understand that the above model verification process is only an exemplary step provided for optimizing the algorithm, and embodiments of the present invention may not include this model verification process.

作为示例,在判断由预定危险区域成像光路22采集到的实际图像是否包括人脸时,可以先根据如图4所示的上述图像特征向量提取流程来提取该实际图像的特征向量(如包括提取密集特征、投影字典、特征编码等),然后将实际图像的特征向量作为输入向量带入上述分类器模型中,以判断其与分类器模型的匹配程度,即判断该实际图像是否包括人脸。As an example, when determining whether the actual image collected by the predetermined dangerous area imaging light path 22 includes a human face, the feature vector of the actual image (such as including Dense features, projection dictionaries, feature encoding, etc.), and then bring the feature vector of the actual image as an input vector into the above classifier model to determine its matching degree with the classifier model, that is, to determine whether the actual image includes a face.

本领域技术人员应当理解,上述关于人脸识别的步骤仅仅是示例性的,本发明的实施例不限于此,本领域已知的其他能够实现人脸识别的方法均可用于本发明的实施例。Those skilled in the art should understand that the above steps regarding face recognition are only exemplary, and the embodiments of the present invention are not limited thereto. Other methods known in the art that can achieve face recognition can be used in the embodiments of the present invention. .

在根据本发明的一实施例的拉曼检测方法中,在所述识别所述预定危险区域的图像中是否包括人脸之前,所述方法还可以包括:In the Raman detection method according to an embodiment of the present invention, before identifying whether the image of the predetermined dangerous area includes a human face, the method may further include:

步骤S00:根据参考人脸图像生成分类器模型。Step S00: Generate a classifier model based on the reference face image.

具体的示例性流程在上面已经给出,在此不再赘述。The specific exemplary process has been given above and will not be described again here.

在根据本发明的一实施例的拉曼检测方法中,上述步骤S20可以包括:In the Raman detection method according to an embodiment of the present invention, the above step S20 may include:

步骤S21:提取所述图像的特征并生成特征向量;和Step S21: Extract features of the image and generate feature vectors; and

步骤S22:将所述特征向量作为所述分类器模型的输入向量以判断由预定危险区域成像光路所采集到的图像中是否包含人脸特征。Step S22: Use the feature vector as an input vector of the classifier model to determine whether the image collected by the predetermined dangerous area imaging optical path contains facial features.

具体的示例性流程在上面已经给出,在此不再赘述。The specific exemplary process has been given above and will not be described again here.

上述根据本发明的实施例的拉曼检测方法中的识别所述预定危险区域的图像中是否包括人脸的步骤可以相应地被根据本发明的实施例的拉曼检测设备中的人脸识别装置40的各个模块来执行。The step of identifying whether the image of the predetermined dangerous area includes a human face in the Raman detection method according to the embodiment of the present invention can be correspondingly performed by the face recognition device in the Raman detection device according to the embodiment of the present invention. 40 modules to execute.

以上的详细描述通过使用示意图、流程图和/或示例,已经阐述了上述拉曼光谱检测设备及方法的众多实施例。在这种示意图、流程图和/或示例包含一个或多个功能和/或操作的情况下,本领域技术人员应理解,这种示意图、流程图或示例中的每一功能和/或操作可以通过各种结构、硬件、软件、固件或实质上它们的任意组合来单独和/或共同实现。在一个实施例中,本发明的实施例所述主题的若干部分可以通过专用集成电路(ASIC)、现场可编程门阵列(FPGA)、数字信号处理器(DSP)、或其他集成格式来实现。然而,本领域技术人员应认识到,这里所公开的实施例的一些方面在整体上或部分地可以等同地实现在集成电路中,实现为在一台或多台计算机上运行的一个或多个计算机程序(例如,实现为在一台或多台计算机系统上运行的一个或多个程序),实现为在一个或多个处理器上运行的一个或多个程序(例如,实现为在一个或多个微处理器上运行的一个或多个程序),实现为固件,或者实质上实现为上述方式的任意组合,并且本领域技术人员根据本公开,将具备设计电路和/或写入软件和/或固件代码的能力。此外,本领域技术人员将认识到,本公开所述主题的机制能够作为多种形式的程序产品进行分发,并且无论实际用来执行分发的信号承载介质的具体类型如何,本公开所述主题的示例性实施例均适用。信号承载介质的示例包括但不限于:可记录型介质,如软盘、硬盘驱动器、光盘(CD、DVD)、数字磁带、计算机存储器等;以及传输型介质,如数字和/或模拟通信介质(例如,光纤光缆、波导、有线通信链路、无线通信链路等)。The above detailed description has explained numerous embodiments of the above-described Raman spectroscopy detection apparatus and methods through the use of schematic diagrams, flow charts, and/or examples. Where such diagrams, flowcharts, and/or examples include one or more functions and/or operations, those skilled in the art will understand that each function and/or operation in such diagrams, flowcharts, or examples may Individually and/or jointly implemented by various structures, hardware, software, firmware or essentially any combination thereof. In one embodiment, portions of the subject matter described in embodiments of the present invention may be implemented via an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), or other integrated formats. However, those skilled in the art will recognize that some aspects of the embodiments disclosed herein may equivalently be implemented, in whole or in part, in an integrated circuit, as one or more computers running on one or more computers. Computer program (e.g., implemented as one or more programs running on one or more computer systems), implemented as one or more programs running on one or more processors (e.g., implemented as one or more programs running on one or more processors) One or more programs running on multiple microprocessors), implemented as firmware, or substantially implemented as any combination of the above methods, and those skilled in the art will have the ability to design circuits and/or write software and /or firmware code capabilities. Furthermore, those skilled in the art will recognize that the mechanisms of the subject matter of the present disclosure can be distributed as a program product in a variety of forms, and that regardless of the specific type of signal-bearing medium actually used to perform the distribution, the mechanisms of the subject matter of the present disclosure can The exemplary embodiments are applicable. Examples of signal bearing media include, but are not limited to: recordable media, such as floppy disks, hard drives, optical disks (CD, DVD), digital tapes, computer memory, etc.; and transmission media, such as digital and/or analog communications media (e.g. , optical fiber cables, waveguides, wired communication links, wireless communication links, etc.).

除非存在技术障碍或矛盾,本发明的上述各种实施方式可以自由组合以形成另外的实施例,这些另外的实施例均在本发明的保护范围中。Unless there are technical obstacles or conflicts, the above-mentioned various embodiments of the present invention can be freely combined to form additional embodiments, and these additional embodiments are all within the protection scope of the present invention.

虽然结合附图对本发明进行了说明,但是附图中公开的实施例旨在对本发明优选实施方式进行示例性说明,而不能理解为对本发明的一种限制。附图中的尺寸比例仅仅是示意性的,并不能理解为对本发明的限制。Although the present invention has been described in conjunction with the accompanying drawings, the embodiments disclosed in the drawings are intended to illustrate preferred embodiments of the present invention and should not be construed as a limitation of the present invention. The dimensional proportions in the drawings are only schematic and are not to be construed as limitations of the present invention.

虽然本发明总体构思的一些实施例已被显示和说明,本领域普通技术人员将理解,在不背离本总体发明构思的原则和精神的情况下,可对这些实施例做出改变,本发明的范围以权利要求和它们的等同物限定。While some embodiments of the present general inventive concept have been shown and described, those of ordinary skill in the art will understand that changes may be made in these embodiments without departing from the principles and spirit of the present general inventive concept. The scope is defined by the claims and their equivalents.

Claims (8)

1.一种拉曼光谱检测设备,包括:1. A Raman spectrum detection equipment, including: 激发光光源,配置成向待测样品发射激发光;An excitation light source configured to emit excitation light to the sample to be measured; 光学装置,所述光学装置具有光谱检测光路和预定危险区域成像光路,所述光谱检测光路配置成收集来自所述待测样品被激发光照射的位置的光信号,所述预定危险区域成像光路配置成拍摄预定危险区域的图像;Optical device, the optical device has a spectral detection light path and a predetermined dangerous area imaging light path, the spectral detection light path is configured to collect light signals from the position where the sample to be measured is illuminated by the excitation light, the predetermined dangerous area imaging light path is configured To capture images of predetermined dangerous areas; 光谱仪,配置成接收来自所述光谱检测光路的光信号并由所述光信号生成待测样品的拉曼光谱;A spectrometer configured to receive an optical signal from the spectrum detection optical path and generate a Raman spectrum of the sample to be measured from the optical signal; 人脸识别装置,配置成接收所述预定危险区域的图像并识别所述预定危险区域的图像中是否包括人脸;以及a face recognition device configured to receive an image of the predetermined dangerous area and identify whether the image of the predetermined dangerous area includes a human face; and 安全控制器,配置成接收人脸识别装置的识别结果并在人脸识别装置识别出所述预定危险区域的图像中包括人脸的情况下使激发光光源处于关断状态,其中,所述人脸识别装置包括:A safety controller configured to receive the recognition result of the face recognition device and to turn off the excitation light source when the face recognition device recognizes that the image of the predetermined dangerous area includes a human face, wherein the person Face recognition devices include: 图像特征提取模块,所述图像特征提取模块配置成提取所述预定危险区域的图像的特征并生成特征向量,所述图像特征提取模块包括:An image feature extraction module, the image feature extraction module is configured to extract features of the image of the predetermined dangerous area and generate a feature vector, the image feature extraction module includes: 用于采集所述预定危险区域的图像的装置;A device for collecting images of the predetermined danger area; 用于密集特征提取的装置;Devices for dense feature extraction; 用于构造投影字典和特征编码的装置;和means for constructing projection dictionaries and feature encodings; and 用于生成所述预定危险区域的图像的特征向量的装置,means for generating a feature vector of an image of said predetermined danger zone, 其中,所述预定危险区域包括被激发光照射或包括将被激发光照射的区域。Wherein, the predetermined dangerous area includes an area illuminated by the excitation light or includes an area to be illuminated by the excitation light. 2.根据权利要求1所述的拉曼光谱检测设备,其中,所述预定危险区域包括所述光学装置或包括待测样品的周围环境区域。2. The Raman spectrum detection device according to claim 1, wherein the predetermined danger area includes the optical device or a surrounding environment area including the sample to be measured. 3.根据权利要求1所述的拉曼光谱检测设备,其中,所述光谱检测光路依次包括收集透镜、分光镜、拉曼滤光片组和耦合透镜,且预定危险区域成像光路包括收集透镜、分光镜、透镜组和图像拍摄工具,其中,所述收集透镜和分光镜是所述光谱检测光路和预定危险区域成像光路的公共部件。3. The Raman spectrum detection equipment according to claim 1, wherein the spectrum detection light path includes a collection lens, a spectroscope, a Raman filter set and a coupling lens in sequence, and the predetermined dangerous area imaging light path includes a collection lens, Spectroscope, lens group and image capturing tool, wherein the collection lens and spectroscope are common components of the spectrum detection optical path and the predetermined dangerous area imaging optical path. 4.根据权利要求1所述的拉曼光谱检测设备,其中,光谱检测光路和预定危险区域成像光路是彼此分离的。4. The Raman spectrum detection device according to claim 1, wherein the spectrum detection light path and the predetermined dangerous area imaging light path are separated from each other. 5.根据权利要求1至4中任一项所述的拉曼光谱检测设备,其中,所述人脸识别装置还包括:5. The Raman spectrum detection device according to any one of claims 1 to 4, wherein the face recognition device further includes: 分类器模型生成模块,所述分类器模型生成模块配置成根据参考人脸图像生成分类器模型;和a classifier model generation module configured to generate a classifier model based on the reference face image; and 识别模块,所述识别模块配置成将所述特征向量作为所述分类器模型的输入向量以判断由预定危险区域成像光路所采集到的图像中是否包含人脸特征。An identification module configured to use the feature vector as an input vector of the classifier model to determine whether the image collected by the predetermined dangerous area imaging optical path contains facial features. 6.一种拉曼光谱检测方法,包括:6. A Raman spectrum detection method, including: 拍摄预定危险区域的图像;Take images of predetermined danger areas; 识别所述预定危险区域的图像中是否包括人脸;以及Identify whether the image of the predetermined danger area includes a human face; and 在识别出所述预定危险区域的图像中包括人脸的情况下使激发光光源处于关断状态,而在识别出所述预定危险区域的图像中不包括人脸的情况下,启动激发光光源,采集样品的拉曼光谱以对样品进行检测,When it is recognized that the image of the predetermined dangerous area includes a human face, the excitation light source is turned off; when it is recognized that the image of the predetermined dangerous area does not include a human face, the excitation light source is turned on. , collect the Raman spectrum of the sample to detect the sample, 其中,所述识别所述预定危险区域的图像中是否包括人脸包括:Wherein, identifying whether a human face is included in the image of the predetermined dangerous area includes: 提取所述预定危险区域的图像的特征并生成特征向量,所述提取所述图像的特征并生成特征向量包括:Extracting features of the image of the predetermined dangerous area and generating a feature vector. Extracting features of the image and generating a feature vector includes: 采集所述预定危险区域的图像;Collect images of the predetermined danger area; 密集特征提取;Dense feature extraction; 投影字典和特征编码;和Projection dictionary and feature encoding; and 生成所述预定危险区域的图像的特征向量,generating a feature vector of the image of the predetermined danger area, 其中,所述预定危险区域包括被激发光照射或包括将被激发光照射的区域。Wherein, the predetermined dangerous area includes an area illuminated by the excitation light or includes an area to be illuminated by the excitation light. 7.根据权利要求6所述的方法,其中,在所述识别所述预定危险区域的图像中是否包括人脸之前,所述方法还包括:7. The method of claim 6, wherein before identifying whether the image of the predetermined danger area includes a human face, the method further includes: 根据参考人脸图像生成分类器模型。Generate a classifier model based on a reference face image. 8.根据权利要求7所述的方法,其中,所述识别所述预定危险区域的图像中是否包括人脸还包括:8. The method according to claim 7, wherein identifying whether the image of the predetermined dangerous area includes a human face further includes: 将所述特征向量作为所述分类器模型的输入向量以判断由预定危险区域成像光路所采集到的图像中是否包含人脸特征。The feature vector is used as an input vector of the classifier model to determine whether the image collected by the predetermined dangerous area imaging optical path contains facial features.
CN201711437491.6A 2017-12-26 2017-12-26 Raman spectrum detection device and Raman spectrum detection method Active CN107991283B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711437491.6A CN107991283B (en) 2017-12-26 2017-12-26 Raman spectrum detection device and Raman spectrum detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711437491.6A CN107991283B (en) 2017-12-26 2017-12-26 Raman spectrum detection device and Raman spectrum detection method

Publications (2)

Publication Number Publication Date
CN107991283A CN107991283A (en) 2018-05-04
CN107991283B true CN107991283B (en) 2023-09-22

Family

ID=62042688

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711437491.6A Active CN107991283B (en) 2017-12-26 2017-12-26 Raman spectrum detection device and Raman spectrum detection method

Country Status (1)

Country Link
CN (1) CN107991283B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104008375A (en) * 2014-06-04 2014-08-27 北京工业大学 Integrated human face recognition mehtod based on feature fusion
CN105956515A (en) * 2016-04-20 2016-09-21 西安电子科技大学 Stereo-hyperspectral human face recognition method based on auroral imaging
CN106645093A (en) * 2017-03-21 2017-05-10 中国工程物理研究院材料研究所 Raman spectrum plane imaging device
CN106770168A (en) * 2016-12-26 2017-05-31 同方威视技术股份有限公司 Article based on Raman spectrum checks device and method
CN206292170U (en) * 2016-12-26 2017-06-30 同方威视技术股份有限公司 Article based on Raman spectrum checks equipment
CN207779897U (en) * 2017-12-26 2018-08-28 同方威视技术股份有限公司 Raman spectrum detection device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104008375A (en) * 2014-06-04 2014-08-27 北京工业大学 Integrated human face recognition mehtod based on feature fusion
CN105956515A (en) * 2016-04-20 2016-09-21 西安电子科技大学 Stereo-hyperspectral human face recognition method based on auroral imaging
CN106770168A (en) * 2016-12-26 2017-05-31 同方威视技术股份有限公司 Article based on Raman spectrum checks device and method
CN206292170U (en) * 2016-12-26 2017-06-30 同方威视技术股份有限公司 Article based on Raman spectrum checks equipment
CN106645093A (en) * 2017-03-21 2017-05-10 中国工程物理研究院材料研究所 Raman spectrum plane imaging device
CN207779897U (en) * 2017-12-26 2018-08-28 同方威视技术股份有限公司 Raman spectrum detection device

Also Published As

Publication number Publication date
CN107991283A (en) 2018-05-04

Similar Documents

Publication Publication Date Title
US10260949B2 (en) Raman spectrum-based object inspection apparatus and method
US10976246B2 (en) Spectroscopic characterization of seafood
US20200088645A1 (en) Raman spectrum inspection apparatus and method of monitoring detection security of the same
CN206479455U (en) Raman spectrum detection device
CN107860761B (en) Raman spectroscopic detection equipment and sample safety detection method for Raman spectroscopic detection
CN107991287B (en) Raman spectrum detection equipment and method based on image grayscale recognition
CN110763671A (en) Small Frequency Shift Excited Raman Detection Device
US20220384043A1 (en) Systems and methods for enhanced photodetection spectroscopy using data fusion and machine learning
US6995839B1 (en) Automated Raman scanner for documents and materials
US12025561B2 (en) Material identification through image capture of Raman scattering
CN207779897U (en) Raman spectrum detection device
CN107991283B (en) Raman spectrum detection device and Raman spectrum detection method
CN206292170U (en) Article based on Raman spectrum checks equipment
CN108020320B (en) Raman spectrum detection equipment and method based on image recognition
CN217237747U (en) Small explosive fusion detection device
CN206399836U (en) Contactless Security Check System
CN108604288A (en) Optical pickup
CN208488174U (en) Raman spectrum detection device based on image recognition
CN207779898U (en) Raman spectrum detection device
Kalyanaraman et al. Portable spectrometers for pharmaceutical counterfeit detection
CN106525816A (en) Non-contact type security check system and method
CN207923719U (en) Raman spectrum detection device based on gradation of image identification
RU2567119C1 (en) Method for remote wireless detection and identification of chemical substances and organic objects and device therefor
US20170138861A1 (en) Optical and chemical analytical systems and methods
CN109406488A (en) A kind of drug addict's method for sieving and corresponding screening system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant