Goggles for hazardous chemicals inspection and inspection method thereof

By integrating image acquisition, amplification, version correction, analysis and recognition modules on the goggles, combined with laser positioning and voice output, the problem of difficult information acquisition in hazardous chemicals inspection is solved, and convenient and accurate hazardous chemical information acquisition is achieved , improving the safety and efficiency of inspection.

CN111680647BActive Publication Date: 2024-10-29中华人民共和国杭州海关
View PDF 33 Cites 0 Cited by

Patent Information

Application Number
CN202010533058.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-12
Publication Date
2024-10-29
Estimated Expiration
2040-06-12

AI Technical Summary

Technical Problem

The existing technology is cumbersome to operate during the inspection of hazardous chemicals and cannot easily obtain hazardous chemical information. In particular, information acquisition is difficult because the label text is too small or the version is incorrect, and information cannot be obtained through the appearance characteristics of hazardous chemicals.

Method used

Design a kind of goggles for hazardous chemicals inspection, integrating image acquisition module, amplification module, version correction module, QR code analysis module and image recognition module. Through image acquisition, text amplification, language conversion, QR code analysis and Image recognition is used to obtain information on hazardous chemicals, combined with laser positioning and voice output to achieve convenient information acquisition.

Benefits of technology

It realizes the amplification and version correction of hazardous chemical label text, obtains relevant information through QR code and image recognition, avoids safety accidents, improves the convenience and accuracy of information acquisition, meets the needs of different user groups, and enhances the awareness of hazardous chemicals. Safety and efficiency of chemical testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111680647B_ABST
    Figure CN111680647B_ABST
Patent Text Reader

Abstract

The present invention discloses a pair of goggles for hazardous chemicals inspection and an inspection method thereof, comprising a frame, lenses and temples, characterized in that an image acquisition module is arranged on the top of the frame, and a processing module is arranged on the side of the frame; the processing module comprises an amplification module, a version correction module, a two-dimensional code parsing module and an image recognition module. The amplification module is used to amplify the label text, the version correction module is used to correct the language version of the text, the two-dimensional code parsing module is used to parse the two-dimensional code label on the outer packaging of the hazardous chemicals, and the image recognition module is used to identify the hazardous chemicals information based on the hazardous chemicals image. The present invention sets a processing for hazardous chemicals at the end of the goggles, and can amplify and version correct the text on the hazardous chemicals label, avoiding the problem that the text is too small or the version is incorrect and is not conducive to reading. In addition, the present invention can obtain relevant information of hazardous goods through two methods of two-dimensional code label and image recognition, avoiding the occurrence of safety accidents.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of hazardous chemicals inspection, and in particular to goggles used for hazardous chemicals inspection and an inspection method thereof. Background Art

[0002] With the development of the world's chemical industry, the transportation volume of hazardous chemicals has increased significantly in the past 20 years. The huge amount of hazardous chemicals transported by water has increased the risk of major pollution accidents. Hazardous chemical water leakage accidents include water transportation accidents, port warehouse accidents and factory sewage discharge. They are sudden and accidental, which makes emergency response difficult. In particular, leakage accidents in coastal waters pose a serious threat to public safety. Although dangerous goods bring great convenience to our lives under reasonable use, their inherent dangerous characteristics bring huge potential threats to our personal health, property safety and environmental protection.

[0003] In the prior art, the circulation of hazardous chemicals is automatically tracked in view of their characteristics. Usually, bar codes, QR codes, etc. are printed on the outer packaging of hazardous chemicals. After obtaining the corresponding hazardous chemicals, the inspectors use special scanning equipment to scan the corresponding information to obtain the information of the hazardous chemicals. However, the entire operation process is cumbersome and requires additional scanning equipment. In addition, in the existing process of obtaining hazardous chemical information, it can only be obtained by scanning QR codes, etc., and it is not possible to obtain hazardous chemical information based on the appearance characteristics of the hazardous chemicals.

[0004] In addition, the outer packaging of hazardous chemicals usually has corresponding label text printed on it. Inspectors can obtain the text on the packaging with their naked eyes, but the label text on hazardous chemicals is usually very small, and inspectors cannot effectively identify the label text. To address this problem, the prior art proposes to set a magnifying glass on the goggles to magnify the text, but the additional setting of the magnifying glass requires the modification of the lens structure of the goggles, which cannot be effectively adapted to existing goggles. Moreover, the text magnified by the magnifying glass has a single fixed effect, and the magnification effect is poor.

[0005] Therefore, how to achieve convenient acquisition and inspection of hazardous chemicals information based on the characteristics of hazardous chemicals is an urgent problem to be solved in this field. Summary of the invention

[0006] The purpose of the present invention is to provide a pair of goggles and an inspection method for hazardous chemicals inspection in view of the defects of the prior art. The present invention sets a processing function for hazardous chemicals at the end of the goggles, which can amplify and correct the version of the hazardous chemicals label to avoid the problem that the text is too small or the version is incorrect and difficult to read. In addition, the present invention can obtain relevant information about hazardous chemicals through two methods: QR code label and image recognition, to avoid the occurrence of safety accidents.

[0007] In order to achieve the above purpose, the present invention adopts the following technical solutions:

[0008] A pair of goggles for hazardous chemicals inspection, comprising a frame, lenses and temples, an image acquisition module is arranged on the top of the frame, and a processing module is arranged on the side of the frame; the processing module comprises an amplification module, a version correction module, a two-dimensional code analysis module and an image recognition module;

[0009] The amplification module comprises:

[0010] An image receiving module, used for receiving images acquired by the image acquisition module;

[0011] A text extraction module, used to extract text from the collected image;

[0012] A text magnification module, used to magnify the extracted text;

[0013] The version correction module includes:

[0014] A language identification module is used to identify the language category of text;

[0015] A language conversion module, used to convert text from the recognized language category into target language text;

[0016] The two-dimensional code parsing module includes:

[0017] An image receiving module, used for receiving images acquired by the image acquisition module;

[0018] A binarization module is used to perform binarization processing on the received two-dimensional code image to obtain a black and white image of the two-dimensional code;

[0019] A black and white image recognition module, used to recognize the content in the black and white image of the QR code;

[0020] The image recognition module comprises:

[0021] Training module, used to train and generate 3D-CNN classification model;

[0022] An image receiving module, used for receiving images acquired by the image acquisition module;

[0023] A classification module, used to identify the category of hazardous chemicals based on the 3D-CNN classification model;

[0024] The indexing module is used to send the identified hazardous chemicals category to a remote server through a wireless signal transceiver, and receive the hazardous chemicals information index result in the database from the server.

[0025] Furthermore, the goggles also include a positioning module for emitting a laser to illuminate the outer packaging and receiving angle adjustment instructions from the user until the irradiation position of the laser matches the position of the QR code. When the irradiation position of the laser matches the position of the QR code, the QR code parsing module is called.

[0026] Furthermore, the goggles also include a display module, a sound collection module, a voice conversion module and a speaker module; the display module is used to display the processing results of the magnification module, the version correction module, the two-dimensional code parsing module and the image recognition module; the voice conversion module is used to convert the processing results of the display magnification module, the version correction module, the two-dimensional code parsing module and the image recognition module into voice information, and the speaker module is used to play the voice information converted by the voice conversion module; the sound collection module is used for user instructions to call the display magnification module, or the version correction module, or the two-dimensional code parsing module or the image recognition module based on the corresponding instructions.

[0027] Furthermore, the goggles are associated with a client, which includes a client owned by a manager and a client owned by a current user, and is used to receive hazardous chemical information obtained by the goggles.

[0028] Furthermore, when the information obtained from the QR code label is inconsistent with the information returned by the server, or the information obtained by image recognition is inconsistent with the information returned by the server, the inconsistent hazardous chemical information is highlighted through the display module or played through the speaker module.

[0029] Furthermore, the two-dimensional code parsing module includes:

[0030] An indexing module is used to send the QR code parsing information to a remote server through a wireless signal transceiver, and receive the indexing result of the hazardous chemicals information in the database from the server;

[0031] Hazardous chemicals information includes the name of the unit, location information, hazardous chemicals category, CAS information, ingredient information, weight information, warning sign information and safety operating procedures information, as well as production information, sales information and transportation information. Among them, production information includes production unit, production time, production unit address and person in charge of production unit; sales information includes sales unit, sales unit location, person in charge of sales unit and sales time; transportation information includes transportation unit, departure address, destination address, transportation route and transportation status.

[0032] The present invention also proposes a method for detecting hazardous chemicals based on the above-mentioned goggles, including steps S1, amplifying the label text; S2, correcting the language version of the label text; S3, parsing the QR code information on the outer packaging; S4, identifying the hazardous chemical information based on the hazardous chemical image;

[0033] The step S1 is specifically as follows:

[0034] S11, receiving images acquired by an image acquisition module;

[0035] S12, extracting text from the collected image;

[0036] S13, enlarging the extracted text;

[0037] The step S2 is specifically as follows:

[0038] The step S2 is specifically as follows:

[0039] S21, identifying the language category of the text;

[0040] S22, converting the text from the recognized language category into the target language text;

[0041] The step S3 is specifically as follows:

[0042] S31, receiving an image acquired by an image acquisition module;

[0043] S32, performing binarization processing on the received two-dimensional code image to obtain a black and white image of the two-dimensional code;

[0044] S33, identifying the content in the black and white image of the QR code;

[0045] The step S4 is specifically as follows:

[0046] S41, training and generating 3D-CNN classification model;

[0047] S42, receiving an image acquired by an image acquisition module;

[0048] S43, identifying the category of hazardous chemicals based on the 3D-CNN classification model;

[0049] S44. Send the identified category of hazardous chemicals to a remote server via a wireless signal transceiver, and receive the server's hazardous chemicals information index result in the database.

[0050] Furthermore, before step S31, the following steps are also included:

[0051] S30, emitting laser light to illuminate the outer package, and receiving angle adjustment instructions from the user until the irradiation position of the laser light matches the position of the QR code.

[0052] Furthermore, before step S11, the following steps are also included:

[0053] S10, collecting the user's control instruction, determining whether the control instruction is an instruction to enlarge the text, if so, executing step S11;

[0054] The S13 also includes S14 and / or S15 and / or S16, S17, wherein:

[0055] S14, displaying the enlarged text;

[0056] S15, sending the enlarged text to a client associated with the goggles;

[0057] S16, converting the acquired text information into voice information;

[0058] S17: Play the converted voice information.

[0059] Furthermore, after step S33, the following steps are further included:

[0060] S34, sending the identified content to a remote server via a wireless signal transceiver, and receiving the hazardous chemicals information index result in the database from the server;

[0061] Hazardous chemical information includes the name of the unit, location information, hazardous chemical category, CAS information, ingredient information, weight information, warning sign information and safe operating procedures information, as well as production information, sales information and transportation information. Production information includes production unit, production time, production unit address and production unit responsible person; sales information includes sales unit, sales unit location, sales unit responsible person and sales time; transportation information includes transportation unit, departure address, destination address, transportation route and transportation status;

[0062] S35, determining whether the information obtained from the QR code label is consistent with the information returned by the server, and if not, highlighting the inconsistent hazardous chemicals information;

[0063] After step S44, the following steps are also included:

[0064] S45. Determine whether the information from image recognition is consistent with the information returned by the server. If not, highlight the inconsistent hazardous chemicals information.

[0065] Compared with the prior art, the present invention has the following advantages:

[0066] 1. Goggles are essential items in the process of hazardous chemicals inspection. In view of the characteristics of hazardous chemicals, the present invention sets an image acquisition module, an amplification module, a version correction module, a QR code parsing module and an image recognition module on the goggles to inspect the information of hazardous chemicals. No additional processing equipment is required, which is convenient for users to carry. Users can obtain the information of hazardous chemicals at any time as needed, obtain the corresponding information in time, and avoid safety accidents in the inspection of hazardous chemicals.

[0067] 2. The present invention magnifies the text on the label through the magnification module, so that the user can more clearly obtain the text information on the hazardous chemical packaging, avoiding the problem that the text is too small so that the user cannot effectively obtain the information of the hazardous chemicals and misses the relevant inspection information; there is no need to use additional magnifying glasses and other components, avoiding the improvement of the goggles, and the magnification can be adjusted at the same time, with good magnification effect;

[0068] 3. The present invention corrects the text version through the version correction module to avoid the problem of missing information caused by users not being able to recognize the corresponding text; the category of the target language is set according to the needs of the user to meet the needs of different user groups;

[0069] 4. The present invention can obtain relevant information of dangerous goods through two methods: QR code label and image recognition, avoid the occurrence of safety accidents, and obtain comprehensive information of dangerous goods; effectively combine with the existing dangerous goods database information, intelligently identify dangerous chemicals, and quickly obtain and identify dangerous chemicals information;

[0070] 5. The present invention compares the identified information with the information returned by the database, or the QR code label with the image identification information, and prompts the user with inconsistent information, so that the user can process the hazardous chemicals information in a timely manner;

[0071] 6. In the present invention, the positioning module is rotated at different angles to fully cover the outer packaging side of the hazardous chemicals, and different positions of the hazardous chemicals are irradiated by rotating at different angles to accurately locate the area for QR code scanning, thereby avoiding constantly adjusting the scanning angle and scanning distance of the image acquisition module, and improving the parsing efficiency of the QR code;

[0072] 7. The goggles of the present invention can also be associated with a client, which can be a client owned by a manager or a client owned by a current inspection user, so that a remote manager can also understand the information of the hazardous chemicals currently being inspected in real time and provide guidance on the current hazardous chemicals inspection in a timely manner; at the same time, after completing the inspection of the hazardous chemicals, the inspection user can summarize, organize and analyze the information of the current hazardous chemicals to improve the inspection process of the hazardous chemicals;

[0073] 8. The goggles of the present invention are also provided with a voice conversion module and a speaker module to convert text information into voice information for playback, so as to facilitate users with reading disabilities to obtain hazardous chemical information. At the same time, the corresponding information is played through the speaker, so that the user can obtain the inspection results while inspecting, obtain the corresponding information in time, and avoid safety accidents in the inspection of hazardous chemicals. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Figure 1 This is a structural diagram of a goggles system for hazardous chemicals inspection provided in Example 1;

[0075] Figure 2 This is a flow chart of a method for enlarging label text provided in Example 2;

[0076] Figure 3 This is a flow chart of a method for parsing the QR code information on the outer packaging provided in Example 2;

[0077] Figure 4 This is a flow chart of a method for identifying hazardous chemicals information based on hazardous chemicals images provided in Example 2. DETAILED DESCRIPTION

[0078] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0079] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0080] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, but they are not intended to limit the present invention.

[0081] Embodiment 1

[0082] like Figure 1 As shown, this embodiment proposes a pair of goggles for hazardous chemicals inspection, including a frame, lenses and temples. An image acquisition module is arranged on the top of the frame, and a processing module is arranged on the side of the frame.

[0083] In the present invention, goggles are used to inspect hazardous chemicals. In order to overcome the problems of too small words and incorrect language versions in the hazardous chemical labels during the inspection process, the present invention processes the collected label text so that the user can directly identify the corresponding label text information by wearing goggles. Specifically, the processing module includes:

[0084] An image receiving module, used for receiving images acquired by the image acquisition module;

[0085] The image received by the image receiving module of the present invention is an image collected by the image acquisition module arranged on the top of the frame. When the user wears goggles to inspect hazardous chemicals, if the text in the label is found to be too small, a corresponding control instruction can be sent to enlarge the text in the label.

[0086] Specifically, the goggles may also include a sound collection module, which collects the user's control instructions and performs response processing according to the content of the control instructions. For example, when the user needs to enlarge the label information, he can issue an instruction to "enlarge the text". The sound collection module collects the user's control instructions and sends the instructions to the processing module for processing. The processing module judges the instructions issued by the user, and when it is determined that the user needs to enlarge the label, it starts the image collection module to collect images and perform label text enlargement processing.

[0087] In addition, the user can also trigger the "enlarge text" command by blinking, opening the mouth, etc., such as setting the text to be enlarged after blinking three times in a row. The present invention does not limit the specific command triggering method.

[0088] A text extraction module, used to extract text from the collected image;

[0089] Since the captured image includes text information and background information, in order to avoid interference from the background information, the present invention pre-processes the captured image, identifies the text in the image, separates the text and the background, vectorizes the text and adjusts the contrast to effectively extract the text in the captured image. The text recognition can be based on the training text library to train the recognition model of the constructed text, generate the final text recognition model, and recognize the text in the image.

[0090] The text magnification module is used to magnify the extracted text.

[0091] The present invention magnifies the extracted text so that the text is easy for users to view. The specific magnification of the text is related to the original size of the text. The smaller the original text is, the larger the corresponding magnification of the text is. The present invention can set the text specifications to be enlarged according to user needs, and enlarge each extracted text to the corresponding specification size.

[0092] Accordingly, the goggles also include a display module to display the magnified text. The display module is arranged above one eye so that the user can view the magnified text information in real time and understand the composition, name and other information of the hazardous chemicals. In addition, in order to effectively manage the hazardous chemical information, the goggles in the present invention can also be associated with a client, which can be a client owned by the management personnel or a client owned by the current inspection user.

[0093] After obtaining the hazardous chemical information, the information is sent to the mobile terminal associated with the manager, so that the remote manager can also understand the current hazardous chemical information in real time and provide guidance on the current hazardous chemical inspection in a timely manner. In addition, the hazardous chemical information can also be sent to the client associated with the current inspection user, so that the inspection user can summarize, organize and analyze the current hazardous chemical information after completing the inspection of the hazardous chemicals, and improve the inspection process of hazardous chemicals.

[0094] In addition, in order to facilitate users with reading disabilities to obtain hazardous chemical information, the goggles described in the present invention also include a voice conversion module and a speaker module. Specifically, the acquired text information is first converted into voice information through the language conversion module, and then the converted voice information is played through the speaker module. It is worth noting that the text in the voice conversion module can be the original text in the label, or it can be the text magnified by the text magnification module. When the user needs to play the current text information in language, a trigger instruction such as "voice play" is issued to call the corresponding voice conversion module to convert the text into language.

[0095] When a user views the label text, there may be a problem of incorrect language version. For example, when the text on the hazardous chemicals is in English, but the inspector does not understand English, the user cannot effectively read the label content. Therefore, the processing module of the present invention also includes a version correction module, which specifically includes:

[0096] A language identification module is used to identify the language category of text;

[0097] Specifically, when the user cannot recognize the text on the hazardous chemicals, the version correction module is started to convert it into the target text. The user can start the version correction template by issuing commands such as "language conversion" to convert the language of the text on the hazardous chemicals. When performing language version correction, it is necessary to first identify the language category of the current text, such as whether the current text is English, German or French. Specifically, the current text is first collected, the features of the text are extracted, and then the features of the text are compared with the features of each language category to determine the language category of the current text.

[0098] The language conversion module is used to convert text from the recognized language category into target language text.

[0099] After successfully identifying the language category of the current text, the text can be converted from the current language category to the target language according to the user's needs. Specifically, first, the text database of the corresponding language category is called according to the current language category of the text, and the current text is compared with the database to identify the current text content. At the same time, the text database corresponding to the target language is called to find the content of the current text in the database and convert it into the target language to complete the language version correction.

[0100] In the present invention, the default language version is Chinese. When the user does not set the converted language version, when receiving the language conversion related command, it is converted into Chinese by default and displayed on the display module. If the user sets the target language, such as English, the acquired text is converted into English for display. The user can set the target language he is familiar with in the goggles in advance, and when the language conversion is started, the current language version is automatically converted into the target language. In addition, the user can also set the target language after starting the language conversion function, such as setting the category of the target language through the instruction "convert to English".

[0101] It is worth noting that the text in the version correction module can be the original text in the label or the text enlarged by the text enlargement module. When the label text meets the user's reading needs, there is no need to enlarge the text, so the original text is directly corrected. When the user reads the enlarged text, if the language version of the text is found to be incorrect, the enlarged text can be corrected.

[0102] Therefore, when the user reads the text and finds that the text version is incorrect, he can issue a "version correction" instruction. The sound collection module collects the user's control instructions and sends the instructions to the processing module for processing. The processing module judges the instructions issued by the user, and when it is determined that the user needs to perform version correction, the language version of the text is converted. In addition, the user can also trigger the "version correction" instruction by blinking, opening the mouth, and other operations. For example, it is set to perform text version correction processing after blinking four times in a row. The present invention does not limit the specific instruction triggering method. Similar to label text recognition, after the text version correction is completed, the corrected text can be displayed through the display module, the corrected text can be played through the speaker module, and the converted text can be sent to the associated mobile terminal. I will not go into details here.

[0103] In addition, the present invention generates a unique QR code for each hazardous chemical to be tested, makes a QR code label, and sticks it on the outer packaging of the hazardous chemicals to be tested. Hazardous chemical information may include the name of the unit, location information, hazardous chemical category, CAS information, ingredient information, weight information, warning sign information, and safe operating procedure information. Furthermore, the hazardous chemical information may also include production information, sales information, and transportation information, wherein the production information includes the production unit, production time, production unit address, and production unit responsible person, the sales information includes the sales unit, sales unit location, sales unit responsible person, and sales time, and the transportation information includes the transportation unit, departure address, destination address, transportation route, and transportation status. The present invention constructs a hazardous chemical database and stores relevant information of hazardous chemicals on the server side.

[0104] Therefore, the goggles of the present invention also include a two-dimensional code parsing module. When the user needs to obtain the information of the two-dimensional code on the outer packaging of hazardous chemicals, the image acquisition module is triggered to collect the two-dimensional code image, and the collected two-dimensional code image is sent to the two-dimensional code parsing module. The two-dimensional code parsing module communicates with the remote server to obtain the content in the two-dimensional code label. The two-dimensional code parsing module specifically includes:

[0105] A binarization module is used to perform binarization processing on the received two-dimensional code image to obtain a black and white image of the two-dimensional code;

[0106] For the analysis of the QR code, it is first necessary to convert the QR code image into a black and white image. Therefore, the present invention selects a binarization algorithm to convert the QR code image. The present invention does not limit the specific binarization algorithm, and it can be a grayscale average value method, a percentage threshold, etc.

[0107] The black-and-white image recognition module is used to recognize the content in the black-and-white image of the QR code.

[0108] After the image is converted into a black and white image, the content in the image can be further identified to obtain the QR code information on the outer packaging of hazardous chemicals.

[0109] When the image of the two-dimensional code is collected by the image acquisition module, there may be a problem that the two-dimensional code cannot be scanned. That is to say, the black and white image of the two-dimensional code obtained after binarization may be difficult to recognize, and the user needs to constantly adjust the scanning angle, scanning distance, etc. of the image acquisition module. The continuous adjustment of the angle and distance causes the two-dimensional code parsing module to continuously parse the two-dimensional code, and the parsing efficiency is low. Therefore, the processing module of the present invention also includes a positioning module, and the positioning module can be rotated at different angles to fully cover the outer packaging side of the hazardous chemicals. Specifically, the positioning module is a laser irradiation device, which irradiates different positions of the hazardous chemicals by rotating at different angles.

[0110] When the user collects information from a QR code tag, he or she can issue a "scan QR code" command. The sound collection module collects the user's control commands and sends the commands to the processing module for processing. The processing module judges the command issued by the user. When it is determined that the user needs to scan the QR code, the positioning module is started to emit a laser to irradiate the outer packaging. The user adjusts the angle of the positioning module according to the position of the laser irradiation. The user can control the adjustment angle of the positioning module by means of instructions, such as "turn 10 degrees to the left". When the irradiation position of the laser matches the position of the QR code, the angle adjustment of the positioning module is stopped. Position matching can be that the irradiation position of the laser is within the position of the QR code, the irradiation position of the laser includes the position of the QR code, or the irradiation position of the laser intersects with the position of the QR code, etc., and the present invention does not limit this.

[0111] The user can adjust the positioning module as needed. After the two-dimensional code is completely scanned and positioned, the angle of the image acquisition module is synchronously adjusted to match the laser irradiation position to accurately capture the two-dimensional code label information. Specifically, in the present invention, the positioning module is arranged at the edge of the image acquisition module, the image acquisition module is movably connected to the top of the frame, and the rotation of the image acquisition module is realized by the rotating device.

[0112] In addition, the QR code label may only include basic information such as unit name, location information, hazardous chemical category, CAS information, ingredient information, weight information, etc. After the QR code label information is obtained through the QR code parsing module, the label information is sent to the remote server through the wireless signal transceiver. The server performs an index search in the database based on the parsed information to obtain the sales information, transportation information, shape and other information of the hazardous chemicals. The QR code label parsing information and the information found in the database can be displayed through the display module. The goggles described in the present invention can also play the QR code parsing information through the speaker module, so that the user can obtain the corresponding hazardous chemical information in time and avoid safety accidents caused by not understanding the hazardous chemical information. In addition, the obtained hazardous chemical information can also be sent to the associated mobile terminal, which will not be repeated here. It is worth noting that the QR code described in the present invention can also be a barcode, RFID tag, etc., and the corresponding QR code parsing module is a barcode parsing module, an RFID tag recognition module, etc.

[0113] After users obtain the color, shape and other information of hazardous chemicals through the QR code label, they can compare it with the hazardous chemicals they are currently viewing to determine whether the hazardous chemicals have deteriorated or other problems, so as to handle them in a timely manner. For example, when the acquired hazardous chemical information indicates that the hazardous chemical is white, but the hazardous chemical they are currently viewing is red, it indicates that the hazardous chemical may have deteriorated or the information is incorrect.

[0114] In addition, the information obtained from the QR code label can be compared with the information returned from the database to determine whether the data of the two are consistent. If they are inconsistent, the inconsistent hazardous chemical information is highlighted to remind the inspection user. For example, when the hazardous chemical category obtained from the QR code label is different from the hazardous chemical category obtained from the database index, the returned hazardous chemical category part is highlighted in the display module. In addition, the content such as "hazardous chemical category information is inconsistent" can be played through voice to enable the inspection user to understand the incorrect hazardous chemical information in a timely manner.

[0115] When the packaging of hazardous chemicals is transparent, in addition to obtaining hazardous chemical information through QR code labels, the present invention can also obtain current hazardous chemical information through image recognition. Specifically, the present invention collects the image of the current hazardous chemical through the image acquisition module, extracts the hazardous chemical area in the collected hazardous chemical image, uses the deep learning model 3D-CNN to extract the features of the hazardous chemical area, and classifies the hazardous chemicals based on the extracted features. The specific generation of the 3D-CNN classification model is as follows:

[0116] Construct a 3D-CNN convolutional neural network; train the 3D-CNN convolutional neural network using hazardous chemicals sample data to obtain a 3D-CNN classification model; extract features of the hazardous chemicals area based on the 3D-CNN classification model, and output the category of the hazardous chemicals.

[0117] The basic structural components of 3D-CNN are 3D convolution layer, hardwired layer, downsampling layer, fully connected layer and output layer. The hardwired layer generates multiple channel information by processing the hazardous chemicals area, and then processes multiple channels. The 3D convolution layer is a three-dimensional convolution kernel, which is responsible for extracting multiple features. The downsampling layer component is responsible for reducing the dimension of the feature map, and the fully connected layer component is responsible for combining two-dimensional features into one-dimensional features and using them for the classification output of the final output layer. In 3D-CNN, it usually includes a hardwired layer, a fully connected layer and an output layer. The number of 3D convolution layers and downsampling layers can be selected according to actual conditions and is not limited here. The downsampling layer is usually set after the convolution layer, and the fully connected layer is located between the last convolution layer and the output layer. The fully connected layer is used to fully connect each feature generated by the convolution kernel with all the features in the second downsampling layer to generate a feature vector for the hazardous chemicals area. The feature vector finally generated is input to the output layer for classification. The output layer includes a Softmax classifier to classify and output the input hazardous chemicals.

[0118] After the 3D-CNN is constructed, the 3D-CNN is trained based on the training data to obtain a 3D-CNN classification model. The present invention loads the hazardous chemicals area data with the category information annotated, optimizes the 3D-CNN classification model through the loss function of the 3D-CNN classification model, and trains to generate the 3D-CNN classification model. After the training is generated, the hazardous chemicals are subjected to feature learning and the category of the hazardous chemicals is output.

[0119] Therefore, the goggles of the present invention also include an image recognition module for identifying the category of hazardous chemicals. After identifying the category of hazardous chemicals through the constructed 3D-CNN classification model, the acquired category of hazardous chemicals is sent to a remote server, and the server indexes the database by the category of hazardous chemicals, obtains the shape, composition information, warning sign information and safe operating procedures information of the current hazardous chemicals, and returns the retrieved information to the goggles for display through the display module or playback through the speaker module, so that the user can have a more comprehensive understanding of the current hazardous chemical information and avoid safety problems caused by improper operation.

[0120] In addition, like QR code label recognition, the content of image recognition can also be compared with the information returned in the database to determine whether the data of the two are consistent. If they are inconsistent, the inconsistent hazardous chemical information is highlighted or played by voice to remind the inspection user to pay attention. The present invention can also combine image recognition and QR code label recognition at the same time. When the recognition results of the two are inconsistent, inconsistent hazardous chemical information is prompted. For example, when the color of the hazardous chemical identified by the QR code label is white, and the color of the hazardous chemical identified by the image is red, it is prompted that the color information of the hazardous chemical is inconsistent.

[0121] Embodiment 2

[0122] This embodiment proposes a method for detecting hazardous chemicals based on the goggles described in Example 1. The goggles include a frame, lenses, and temples. An image acquisition module is provided on the top of the frame, and a processing module is provided on the side of the frame.

[0123] In the present invention, goggles are used to inspect hazardous chemicals. In order to overcome the problems of too small fonts and incorrect language versions on the labels of hazardous chemicals during the inspection process, the present invention processes the collected labels so that users can directly identify the corresponding label information by wearing goggles. Specifically, Figure 2 As shown, the enlargement of the label text includes:

[0124] S11, receiving images acquired by an image acquisition module;

[0125] The image received by the image receiving module of the present invention is an image collected by the image acquisition module arranged on the top of the frame. When the user wears goggles to inspect hazardous chemicals, if the text in the label is found to be too small, a corresponding control instruction can be sent to enlarge the text in the label.

[0126] Specifically, the goggles may also include a sound collection module, which collects the user's control instructions and performs response processing according to the content of the control instructions. For example, when the user needs to enlarge the label information, he can issue an instruction to "enlarge the text". The sound collection module collects the user's control instructions and sends the instructions to the processing module for processing. The processing module judges the instructions issued by the user, and when it is determined that the user needs to enlarge the label, it starts the image collection module to collect images and perform label text enlargement processing.

[0127] In addition, the user can also trigger the "enlarge text" command by blinking, opening the mouth, etc., such as setting the text to be enlarged after blinking three times in a row. The present invention does not limit the specific command triggering method. Therefore, before step S11, the present invention also includes:

[0128] S10, collecting the user's control instruction, and determining whether the control instruction is an instruction to enlarge the text, if so, executing step S11.

[0129] S12, extracting text from the collected image;

[0130] Since the captured image includes text information and background information, in order to avoid interference from the background information, the present invention pre-processes the captured image, identifies the text in the image, separates the text and the background, vectorizes the text and adjusts the contrast to effectively extract the text in the captured image. The text recognition can be based on the training text library to train the recognition model of the constructed text, generate the final text recognition model, and recognize the text in the image.

[0131] S13, enlarging the extracted text.

[0132] The present invention magnifies the extracted text so that the text is easy for users to view. The specific magnification of the text is related to the original size of the text. The smaller the original text is, the larger the corresponding magnification of the text is. The present invention can set the text specifications to be enlarged according to user needs, and enlarge each extracted text to the corresponding specification size.

[0133] Accordingly, the goggles also include a display module to display the magnified text. The display module is arranged above one eye so that the user can view the magnified text information in real time and understand the composition, name and other information of the hazardous chemicals. Therefore, the present invention may further include, after step S13:

[0134] S14, displaying the enlarged text.

[0135] In addition, in order to effectively manage the hazardous chemicals information, the goggles in the present invention can also be associated with a client, which can be a client owned by the manager or a client owned by the current inspection user. Therefore, after step S13, the present invention can also include:

[0136] S15. Send the enlarged text to the client associated with the goggles.

[0137] After obtaining the hazardous chemical information, the information is sent to the mobile terminal associated with the manager, so that the remote manager can also understand the current hazardous chemical information in real time and provide guidance on the current hazardous chemical inspection in a timely manner. In addition, the hazardous chemical information can also be sent to the client associated with the current inspection user, so that the inspection user can summarize, organize and analyze the current hazardous chemical information after completing the inspection of the hazardous chemicals, and improve the inspection process of hazardous chemicals.

[0138] In addition, in order to facilitate users with reading disabilities to obtain hazardous chemicals information, the goggles described in the present invention also include a voice conversion module and a speaker module. Specifically, the acquired text information is first converted into voice information through the language conversion module, and then the converted voice information is played through the speaker module. It is worth noting that the text in the voice conversion module can be the original text in the label, or it can be the text magnified by the text magnification module. When the user needs to play the current text information in language, a trigger instruction such as "voice play" is issued, and the corresponding voice conversion module is called to convert the text into language. Therefore, the present invention may also include after step S13:

[0139] S16, converting the acquired text information into voice information;

[0140] S17: Play the converted voice information.

[0141] When users view the text on the label, there may be a problem with the wrong language version. For example, when the text on the hazardous chemicals is in English, but the inspector does not understand English, the user cannot effectively read the content of the label. Therefore, the processing module of the present invention also includes correction of the language version, specifically:

[0142] S21, identifying the language category of the text;

[0143] Specifically, when the user cannot recognize the text on the hazardous chemicals, the version correction module is started to convert it into the target text. The user can start the version correction template by issuing commands such as "language conversion" to convert the language of the text on the hazardous chemicals. When performing language version correction, it is necessary to first identify the language category of the current text, such as whether the current text is English, German or French. Specifically, the current text is first collected, the features of the text are extracted, and then the features of the text are compared with the features of each language category to determine the language category of the current text.

[0144] S22, converting the text from the recognized language category into the target language text.

[0145] After successfully identifying the language category of the current text, the text can be converted from the current language category to the target language according to the user's needs. Specifically, first, the text database of the corresponding language category is called according to the current language category of the text, and the current text is compared with the database to identify the current text content. At the same time, the text database corresponding to the target language is called to find the content of the current text in the database and convert it into the target language to complete the language version correction.

[0146] In the present invention, the default language version is Chinese. When the user does not set the converted language version, when receiving the language conversion related command, it is converted into Chinese by default and displayed on the display module. If the user sets the target language, such as English, the acquired text is converted into English for display. The user can set the target language he is familiar with in the goggles in advance, and when the language conversion is started, the current language version is automatically converted into the target language. In addition, the user can also set the target language after starting the language conversion function, such as setting the category of the target language through the instruction "convert to English".

[0147] It is worth noting that the text in the version correction module can be the original text in the label or the text enlarged by the text enlargement module. When the label text meets the user's reading needs, there is no need to enlarge the text, so the original text is directly corrected. When the user reads the enlarged text, if the language version of the text is found to be incorrect, the enlarged text can be corrected.

[0148] Therefore, when the user reads the text and finds that the text version is incorrect, he can issue a "version correction" instruction. The sound collection module collects the user's control instructions and sends the instructions to the processing module for processing. The processing module judges the instructions issued by the user, and when it is determined that the user needs to perform version correction, the language version of the text is converted. In addition, the user can also trigger the "version correction" instruction by blinking, opening the mouth, and other operations. For example, it is set to perform text version correction processing after blinking four times in a row. The present invention does not limit the specific instruction triggering method. Similar to label text recognition, after the text version correction is completed, the corrected text can be displayed through the display module, the corrected text can be played through the speaker module, and the converted text can be sent to the associated mobile terminal. I will not go into details here.

[0149] In addition, the present invention generates a unique QR code for each hazardous chemical to be tested, makes a QR code label, and sticks it on the outer packaging of the hazardous chemicals to be tested. Hazardous chemical information may include the name of the unit, location information, hazardous chemical category, CAS information, ingredient information, weight information, warning sign information, and safe operating procedure information. Furthermore, the hazardous chemical information may also include production information, sales information, and transportation information, wherein the production information includes the production unit, production time, production unit address, and production unit responsible person, the sales information includes the sales unit, sales unit location, sales unit responsible person, and sales time, and the transportation information includes the transportation unit, departure address, destination address, transportation route, and transportation status. The present invention constructs a hazardous chemical database and stores relevant information of hazardous chemicals on the server side.

[0150] Therefore, the goggles of the present invention also include a two-dimensional code analysis module. When the user needs to obtain the information of the two-dimensional code on the outer packaging of hazardous chemicals, the image acquisition module is triggered to collect the two-dimensional code image, and the collected two-dimensional code image is sent to the two-dimensional code analysis module. The two-dimensional code analysis module communicates with the remote server to obtain the content in the two-dimensional code label. Figure 3 As shown, parsing the QR code information on the outer packaging includes:

[0151] S31, receiving an image acquired by an image acquisition module;

[0152] The image received by the image receiving module of the present invention is an image collected by the image acquisition module arranged on the top of the frame. When the user wears goggles to inspect hazardous chemicals, if it is necessary to obtain the QR code label information, the corresponding control command can be sent to parse the QR code information.

[0153] S32, performing binarization processing on the received two-dimensional code image to obtain a black and white image of the two-dimensional code;

[0154] For the analysis of the QR code, it is first necessary to convert the QR code image into a black and white image. Therefore, the present invention selects a binarization algorithm to convert the QR code image. The present invention does not limit the specific binarization algorithm, and it can be a grayscale average value method, a percentage threshold, etc.

[0155] S33, identifying the content in the black and white image of the two-dimensional code.

[0156] After the image is converted into a black and white image, the content in the image can be further identified to obtain the QR code information on the outer packaging of hazardous chemicals.

[0157] When the image of the two-dimensional code is collected by the image acquisition module, there may be a problem that the two-dimensional code cannot be scanned. That is to say, the black and white image of the two-dimensional code obtained after binarization may be difficult to recognize, and the user needs to constantly adjust the scanning angle, scanning distance, etc. of the image acquisition module. The continuous adjustment of the angle and distance causes the two-dimensional code parsing module to continuously parse the two-dimensional code, and the parsing efficiency is low. Therefore, the processing module of the present invention also includes a positioning module, and the positioning module can be rotated at different angles to fully cover the outer packaging side of the hazardous chemicals. Specifically, the positioning module is a laser irradiation device, which irradiates different positions of the hazardous chemicals by rotating at different angles.

[0158] When the user collects information from a QR code tag, he or she can issue a "scan QR code" command. The sound collection module collects the user's control commands and sends the commands to the processing module for processing. The processing module judges the command issued by the user. When it is determined that the user needs to scan the QR code, the positioning module is started to emit a laser to irradiate the outer packaging. The user adjusts the angle of the positioning module according to the position of the laser irradiation. The user can control the adjustment angle of the positioning module by means of instructions, such as "turn 10 degrees to the left". When the irradiation position of the laser matches the position of the QR code, the angle adjustment of the positioning module is stopped. Position matching can be that the irradiation position of the laser is within the position of the QR code, the irradiation position of the laser includes the position of the QR code, or the irradiation position of the laser intersects with the position of the QR code, etc., and the present invention does not limit this.

[0159] The user can adjust the positioning module as needed. After the two-dimensional code is completely scanned and positioned, the angle of the image acquisition module is synchronously adjusted to match the laser irradiation position to accurately capture the two-dimensional code label information. Specifically, in the present invention, the positioning module is arranged at the edge of the image acquisition module, the image acquisition module is movably connected to the top of the frame, and the rotation of the image acquisition module is realized by the rotating device.

[0160] Therefore, the parsing of the two-dimensional code information in the present invention further includes before step S31:

[0161] S30, emitting laser light to illuminate the outer package, and receiving angle adjustment instructions from the user until the irradiation position of the laser light matches the position of the QR code.

[0162] In addition, the QR code label may only include basic information such as the unit name, location information, hazardous chemical category, CAS information, ingredient information, weight information, etc. After the QR code label information is obtained through the QR code parsing module, the label information is sent to the remote server through the wireless signal transceiver. The server performs an index search in the database based on the parsed information to obtain the sales information, transportation information, shape and other information of the hazardous chemicals. The QR code label parsing information and the information found in the database can be displayed through the display module. The goggles described in the present invention may also include a speaker module for playing the QR code parsing information, etc., so that the user can obtain the corresponding hazardous chemical information in time and avoid safety accidents caused by not understanding the hazardous chemical information. In addition, the obtained hazardous chemical information can also be sent to the associated mobile terminal, which will not be repeated here. It is worth noting that the QR code described in the present invention can also be a barcode, RFID tag, etc., and the corresponding QR code parsing module is a barcode parsing module, an RFID tag recognition module, etc. Therefore, the parsing of the QR code information described in the present invention also includes after step S33:

[0163] S34, sending the identified content to a remote server via a wireless signal transceiver, and receiving the hazardous chemicals information index result in the database from the server;

[0164] After users obtain the color, shape and other information of hazardous chemicals through the QR code label, they can compare it with the hazardous chemicals they are currently viewing to determine whether the hazardous chemicals have deteriorated or other problems, so as to handle them in a timely manner. For example, when the acquired hazardous chemical information indicates that the hazardous chemical is white, but the hazardous chemical they are currently viewing is red, it indicates that the hazardous chemical may have deteriorated or the information is incorrect.

[0165] In addition, the information obtained from the QR code label can be compared with the information returned in the database to determine whether the data of the two are consistent. If they are inconsistent, the inconsistent hazardous chemical information is highlighted to remind the inspection user. For example, when the hazardous chemical category obtained from the QR code label is different from the hazardous chemical category obtained from the database index, the returned hazardous chemical category part is highlighted in the display module. In addition, the content such as "hazardous chemical category information is inconsistent" can be played through voice to enable the inspection user to promptly understand the erroneous hazardous chemical information. Therefore, step S34 also includes:

[0166] S35. Determine whether the information obtained from the QR code label is consistent with the information returned by the server. If not, highlight the inconsistent hazardous chemicals information.

[0167] When the packaging of hazardous chemicals is transparent, in addition to obtaining hazardous chemical information through QR code labels, the present invention can also obtain current hazardous chemical information through image recognition. Specifically, the present invention collects the image of the current hazardous chemical through the image acquisition module, extracts the hazardous chemical area in the collected hazardous chemical image, uses the deep learning model 3D-CNN to extract the features of the hazardous chemical area, and classifies the hazardous chemicals based on the extracted features. The specific generation of the 3D-CNN classification model is as follows:

[0168] Construct a 3D-CNN convolutional neural network; train the 3D-CNN convolutional neural network using hazardous chemicals sample data to obtain a 3D-CNN classification model; extract features of the hazardous chemicals area based on the 3D-CNN classification model, and output the category of the hazardous chemicals.

[0169] The basic structural components of 3D-CNN are 3D convolution layer, hardwired layer, downsampling layer, fully connected layer and output layer. The hardwired layer generates multiple channel information by processing the hazardous chemicals area, and then processes multiple channels. The 3D convolution layer is a three-dimensional convolution kernel, which is responsible for extracting multiple features. The downsampling layer component is responsible for reducing the dimension of the feature map, and the fully connected layer component is responsible for combining two-dimensional features into one-dimensional features and using them for the classification output of the final output layer. In 3D-CNN, it usually includes a hardwired layer, a fully connected layer and an output layer. The number of 3D convolution layers and downsampling layers can be selected according to actual conditions and is not limited here. The downsampling layer is usually set after the convolution layer, and the fully connected layer is located between the last convolution layer and the output layer. The fully connected layer is used to fully connect each feature generated by the convolution kernel with all the features in the second downsampling layer to generate a feature vector for the hazardous chemicals area. The feature vector finally generated is input to the output layer for classification. The output layer includes a Softmax classifier to classify and output the input hazardous chemicals.

[0170] After the 3D-CNN is constructed, the 3D-CNN is trained based on the training data to obtain a 3D-CNN classification model. The present invention loads the hazardous chemicals area data with the category information annotated, optimizes the 3D-CNN classification model through the loss function of the 3D-CNN classification model, and trains to generate the 3D-CNN classification model. After the training is generated, the hazardous chemicals are subjected to feature learning and the category of the hazardous chemicals is output.

[0171] Therefore, the goggles of the present invention also include an image recognition module for identifying the category of hazardous chemicals. After the category of hazardous chemicals is identified by the constructed 3D-CNN classification model, the acquired category of hazardous chemicals is sent to a remote server. The server indexes the category of hazardous chemicals in the database to obtain the shape, composition information, warning sign information, and safety operating procedures of the current hazardous chemicals, and returns the retrieved information to the goggles for display through the display module or playback through the speaker module, so that the user can have a more comprehensive understanding of the current hazardous chemical information and avoid safety issues caused by improper operation. In addition, as with QR code label recognition, the content of image recognition can also be compared with the information returned in the database to determine whether the data of the two are consistent. If they are inconsistent, the inconsistent hazardous chemical information is highlighted or voice played to remind the inspection user to pay attention. The present invention can also combine image recognition and QR code label recognition at the same time. When the recognition results of the two are inconsistent, inconsistent hazardous chemical information is prompted. For example, when the color of the hazardous chemical identified by the QR code label is white, and the color of the hazardous chemical identified by the image is red, it is prompted that the color information of the hazardous chemical is inconsistent. Therefore, if Figure 4 As shown, the present invention obtains the current hazardous chemicals information through images specifically as follows:

[0172] S41, training and generating 3D-CNN classification model;

[0173] S42, receiving an image acquired by an image acquisition module;

[0174] S43, identifying the category of hazardous chemicals based on the 3D-CNN classification model;

[0175] S44, sending the identified category of hazardous chemicals to a remote server via a wireless signal transceiver, and receiving the hazardous chemicals information index result in the database from the server;

[0176] S45. Determine whether the information from image recognition is consistent with the information returned by the server. If not, highlight the inconsistent hazardous chemicals information.

[0177] The present invention provides goggles for hazardous chemicals inspection and an inspection method thereof. The goggles are essential items in the hazardous chemicals inspection process. According to the characteristics of hazardous chemicals, an image acquisition module, an amplification module, a version correction module, a two-dimensional code parsing module and an image recognition module are arranged at the end of the goggles, so that the goggles are used to inspect the hazardous chemicals for information. No additional processing equipment is required, which is convenient for users to carry, so that users can obtain the information of hazardous chemicals at any time according to their needs, obtain the corresponding information in time, and avoid safety accidents in hazardous chemicals inspection; the amplification module is used to amplify the text on the label, so that users can more clearly obtain the text information on the hazardous chemicals packaging, and avoid the text being too small. The user cannot effectively obtain the information of hazardous chemicals and misses the relevant inspection information; there is no need to use additional magnifying glasses and other components, so as to avoid the improvement of goggles lenses, and the magnification can be adjusted at the same time, with good magnification effect; the text version is corrected through the version correction module to avoid the problem of information omission caused by users not being able to recognize the corresponding text; the target language category is set according to user needs to meet the needs of different user groups; the relevant information of hazardous materials can be obtained through two methods of QR code label and image recognition, so as to avoid the occurrence of safety accidents and fully obtain the information of hazardous materials; it is effectively combined with the existing hazardous materials database information, and intelligent recognition is realized. Identify hazardous chemicals, quickly obtain and identify hazardous chemicals information; compare the identified information with the information returned by the database, or the QR code label with the image recognition information, and prompt the user with inconsistent information so that the user can process the hazardous chemicals information in a timely manner; rotate the positioning module at different angles to fully cover the outer packaging side of the hazardous chemicals, and irradiate different positions of the hazardous chemicals through rotation at different angles to accurately locate the QR code scanning area, avoid constantly adjusting the scanning angle and scanning distance of the image acquisition module, and improve the parsing efficiency of the QR code; the goggles can also be associated with the client, which can be the client owned by the manager or the current The client owned by the inspection user enables remote managers to understand the information of hazardous chemicals currently being inspected in real time and provide timely guidance on the current hazardous chemicals inspection; at the same time, after completing the inspection of hazardous chemicals, the inspection user can summarize, organize and analyze the current hazardous chemicals information to improve the inspection process of hazardous chemicals; the goggles are also equipped with a voice conversion module and a speaker module to convert text information into voice information for playback, making it convenient for users with reading disabilities to obtain hazardous chemicals information, and at the same time play the corresponding information through the speaker, so that users can obtain the inspection results while inspecting, obtain the corresponding information in time, and avoid safety accidents in hazardous chemicals inspection.

[0178] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A pair of goggles for hazardous chemicals inspection, comprising a frame, lenses and temples, characterized in that: An image acquisition module is arranged on the top of the frame, and a processing module is arranged on the side of the frame; the processing module includes an amplification module, a version correction module, a QR code analysis module and an image recognition module; The enlargement module recognizes the text in the image, separates the text from the background, vectorizes the text and adjusts the contrast, including: An image receiving module, used for receiving images acquired by the image acquisition module; A text extraction module, used to extract text from the collected image; A text magnification module, used to magnify the extracted text; The version correction module includes: The language recognition module is used to extract the features of the text, and then compare the features of the text with the features of each language category to determine the language category of the current text, so as to identify the language category of the text; A language conversion module, used to convert text from the recognized language category into target language text; The two-dimensional code parsing module includes: A binarization module is used to perform binarization processing on the received two-dimensional code image to obtain a black and white image of the two-dimensional code; A black and white image recognition module, used to recognize the content in the black and white image of the QR code; The image recognition module comprises: Training module, used to train and generate 3D-CNN classification model; A classification module, used to identify the category of hazardous chemicals based on the 3D-CNN classification model; An indexing module, used to send the identified hazardous chemicals category to a remote server via a wireless signal transceiver, and receive the server's hazardous chemicals information index result in the database; The two-dimensional code analysis module includes: an index module, which is used to send the two-dimensional code analysis information to a remote server through a wireless signal transceiver, and receive the index result of the hazardous chemicals information in the database of the server; Hazardous chemical information includes the name of the unit, location information, hazardous chemical category, CAS information, ingredient information, weight information, warning sign information and safe operating procedures information, as well as production information, sales information and transportation information. Production information includes production unit, production time, production unit address and production unit responsible person; sales information includes sales unit, sales unit location, sales unit responsible person and sales time; transportation information includes transportation unit, departure address, destination address, transportation route and transportation status; Among them, the QR code label only includes the unit name, location information, hazardous chemical category, CAS information, ingredient information, weight information, warning sign information and safe operating procedures information. After the QR code label information is parsed and obtained by the QR code parsing module, the label information is sent to the remote server through the wireless signal transceiver. The server performs an index search in the database based on the parsed information to obtain the production information, sales information, transportation information, shape information and color information of the hazardous chemicals. When the information obtained from the QR code label is inconsistent with the information returned by the server, or the information recognized by the image is inconsistent with the information returned by the server, the inconsistent hazardous chemical information is highlighted through the display module or played through the speaker module.

2. The goggles according to claim 1, characterized in that: The goggles also include a positioning module for emitting a laser to illuminate the outer packaging and receiving a user's angle adjustment instruction until the irradiation position of the laser matches the position of the QR code. When the irradiation position of the laser matches the position of the QR code, the QR code parsing module is called.

3. The goggles according to claim 1, characterized in that: The goggles also include a display module, a sound collection module, a voice conversion module and a speaker module; the display module is used to display the processing results of the magnification module, the version correction module, the two-dimensional code parsing module and the image recognition module; the voice conversion module is used to convert the processing results of the display magnification module, the version correction module, the two-dimensional code parsing module and the image recognition module into voice information, and the speaker module is used to play the voice information converted by the voice conversion module; the sound collection module is used for user instructions to call the display magnification module, or the version correction module, or the two-dimensional code parsing module or the image recognition module based on the corresponding instructions.

4. The goggles according to claim 1, characterized in that: The goggles are associated with a client, which includes a client owned by a manager and a client owned by a current user, and is used to receive hazardous chemical information obtained by the goggles.

5. A method for detecting hazardous chemicals based on the goggles according to any one of claims 1 to 4, characterized in that: The method includes steps S1, amplifying the label text, identifying the text in the image, separating the text and the background, vectorizing the text and adjusting the contrast; S2, correcting the language version of the label text; S3, parsing the QR code information on the outer packaging; S4, identifying the hazardous chemical information based on the hazardous chemical image; The step S1 is specifically as follows: S11, receiving images acquired by an image acquisition module; S12, extracting text from the collected image; S13, enlarging the extracted text; The step S2 is specifically as follows: S21, extracting features of the text, and comparing the features of the text with features of each language category to determine the language category of the current text, so as to identify the language category of the text; S22, converting the text from the recognized language category into the target language text; The step S3 is specifically as follows: S31, receiving an image acquired by an image acquisition module; S32, performing binarization processing on the received two-dimensional code image to obtain a black and white image of the two-dimensional code; S33, identifying the content in the black and white image of the QR code; The step S4 is specifically as follows: S41, training and generating 3D-CNN classification model; S42, receiving an image acquired by an image acquisition module; S43, identifying the category of hazardous chemicals based on the 3D-CNN classification model; S44, sending the identified category of hazardous chemicals to a remote server via a wireless signal transceiver, and receiving the hazardous chemicals information index result in the database from the server; After step S33, the following steps are also included: S34, sending the identified content to a remote server via a wireless signal transceiver, and receiving the hazardous chemicals information index result in the database from the server; Hazardous chemical information includes the name of the unit, location information, hazardous chemical category, CAS information, ingredient information, weight information, warning sign information and safe operating procedures information, as well as production information, sales information and transportation information. Production information includes production unit, production time, production unit address and production unit responsible person; sales information includes sales unit, sales unit location, sales unit responsible person and sales time; transportation information includes transportation unit, departure address, destination address, transportation route and transportation status; S35, determining whether the information obtained from the QR code label is consistent with the information returned by the server, and if not, highlighting the inconsistent hazardous chemicals information; After step S44, the following steps are also included: S45. Determine whether the information from image recognition is consistent with the information returned by the server. If not, highlight the inconsistent hazardous chemicals information.

6. The method for detecting hazardous chemicals according to claim 5, characterized in that: Before step S31, the following steps are also included: S30, emitting laser light to illuminate the outer package, and receiving angle adjustment instructions from the user until the irradiation position of the laser light matches the position of the QR code.

7. The method for detecting hazardous chemicals according to claim 5, characterized in that: Before step S11, the following steps are also included: S10, collecting the user's control instruction, determining whether the control instruction is an instruction to enlarge the text, if so, executing step S11; The step S13 may further include S14 and / or S15 and / or S16, S17, wherein: S14, displaying the enlarged text; S15, sending the enlarged text to a client associated with the goggles; S16, converting the acquired text information into voice information; S17: Play the converted voice information.

Citation Information

Patent Citations

  • Method of character recongnition and translation based on camera image

    CN101702154A

  • Multifunctional electronic glasses

    CN101819334A

  • Infrared barcode scanner

    CN102289652A

  • All-directional high-speed laser bar code scanning device

    CN103745189A

  • Intelligent glasses

    CN104597625A