Method, device, equipment and storage medium for automatic metering multi-parameter monitor
By automatically acquiring data and recognizing characters from the display interface of a multi-parameter monitor, the problem of low detection efficiency among different brands of monitors is solved, achieving automated detection and accurate positioning of monitoring indicators. It is applicable to the fields of computer technology, image processing, and data processing.
Patent Information
- Application Number
- CN202411211405.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2044-08-30
AI Technical Summary
In the current technology, there is a lack of unified data interfaces and communication protocols among brands of multi-parameter monitors, which leads to low efficiency in manually verifying monitoring data and cannot meet the rapidly growing testing needs.
By collecting data from the display interface of a multi-parameter monitor, extracting character regions and angular coordinates using character recognition technology, matching the name of the indicator to be tested, calculating the deviation distance and area, and automatically determining the detection value area, automated testing of monitors of different brands can be achieved.
It enables automated testing of multi-parameter monitors, improves testing efficiency, accurately determines the location and value of the indicators to be tested, and is applicable to monitors of various brands.
Smart Images

Figure CN119360388B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of computer, the technical field of image processing and the technical field of data processing, and in particular, relates to a method and device for automatically measuring a multi-parameter monitor, equipment, a storage medium and a program product. BACKGROUND
[0002] The multi-parameter monitor is a monitoring device providing important information for medical clinical diagnosis, which can monitor physiological parameters such as electrocardiosignal, heart rate, blood oxygen saturation, blood pressure, respiration, body temperature in real time, and its safety and effectiveness are directly related to the safety and health of patients.
[0003] When different brands of multi-parameter monitors are calibrated, there is no unified monitor data interface and data communication protocol between different brands of parameter monitors, and it is usually necessary to manually check whether the monitoring index data generated by each brand of multi-parameter monitor conforms to the standard. This method of measuring multi-parameter monitors is extremely inefficient, and with the rapid growth of the use of multi-parameter monitors by medical and health institutions, this method of measuring multi-parameter monitors has been unable to meet the growing detection needs. Therefore, it is urgent to find a method that can automatically detect the monitoring index data generated by different brands of multi-parameter monitors. SUMMARY
[0004] Therefore, the present disclosure provides a method and device for automatically measuring a multi-parameter monitor, equipment, a storage medium and a program product.
[0005] In one aspect of the present disclosure, a method for automatically measuring a multi-parameter monitor is provided, comprising:
[0006] In a case where the multi-parameter monitor generates an analog signal corresponding to a standard index value based on a standard device, and displays a reference index value corresponding to the standard index value, a display interface of the multi-parameter monitor is collected to obtain a target image;
[0007] Character recognition is performed on the target image to obtain M character regions including character boxes, wherein M is a positive integer;
[0008] Feature extraction is performed on the M character regions respectively to obtain reference characters and corner coordinates corresponding to the M character regions respectively, wherein the corner coordinates represent coordinates corresponding to each corner of the character box;
[0009] The reference characters corresponding to the M character regions respectively are matched with a to-be-detected index name respectively, and a target region is determined from the M character regions;
[0010] determine, according to the angle coordinates corresponding to the M character regions respectively, a deviation distance and a deviation angle between the plurality of reference regions and the target region respectively and a reference region area of the plurality of reference regions, wherein the reference region represents a character region in the M character regions except for a character region in which a reference character matches the to-be-detected index name;
[0011] determine, according to the deviation distance and the deviation angle between the plurality of reference regions and the target region respectively and the reference region area of the plurality of reference regions, a detection value region from the plurality of reference regions, and determine a reference character included in the detection value region as the reference index value.
[0012] In another aspect of the present disclosure, a device for automatically metering a multi-parameter monitor is provided, comprising:
[0013] a collection module configured to collect a display interface of the multi-parameter monitor to obtain a target image in a case where the multi-parameter monitor displays a reference index value corresponding to a standard index value based on an analog signal corresponding to the standard index value generated by a standard device;
[0014] a character recognition module configured to perform character recognition on the target image to obtain M character regions including character boxes, wherein M is a positive integer;
[0015] a feature extraction module configured to perform feature extraction on the M character regions respectively to obtain reference characters and angle coordinates corresponding to the M character regions respectively, wherein the angle coordinates represent coordinates corresponding to each corner of the character boxes;
[0016] a matching module configured to match the reference characters corresponding to the M character regions respectively with a to-be-detected index name, and determine a target region from the M character regions;
[0017] a first determination module configured to determine, according to the angle coordinates corresponding to the M character regions respectively, a deviation distance and a deviation angle between the plurality of reference regions and the target region respectively and a reference region area of the plurality of reference regions, wherein the reference region represents a character region in the M character regions except for a character region in which a reference character matches the to-be-detected index name;
[0018] a second determination module configured to determine, according to the deviation distance and the deviation angle between the plurality of reference regions and the target region respectively and the reference region area of the plurality of reference regions, a detection value region from the plurality of reference regions, and determine a reference character included in the detection value region as the reference index value.
[0019] Another aspect of the present disclosure provides an electronic device, comprising: one or more processors; a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps according to the method.
[0020] Another aspect of the present disclosure provides a computer-readable storage medium having stored thereon a computer program or instructions, wherein the computer program or instructions, when executed by a processor, implement the steps according to the method.
[0021] Another aspect of the present disclosure provides a computer program product comprising a computer program or instructions, wherein the computer program or instructions, when executed by a processor, implement the steps according to the method.
[0022] According to the method for automatically metering a multi-parameter monitor provided by the embodiments of the present disclosure, the display interface of the multi-parameter monitor is collected to obtain a target image, character recognition is performed on the target image to obtain M character regions including character boxes, feature extraction is performed on the M character regions respectively to obtain reference characters and corner coordinates corresponding to the M character regions respectively, the reference characters corresponding to the M character regions respectively are matched with to-be-detected index names respectively, and the target region is determined from the M character regions, so that the actual position of the to-be-detected index name on the display interface of the multi-parameter monitor is automatically determined. Then, the deviation distance and the deviation angle between the plurality of reference regions and the target region are determined according to the corner coordinates corresponding to the M character regions respectively, the reference region area of the plurality of reference regions is determined, the detection value region is determined from the plurality of reference regions according to the deviation distance and the deviation angle between the plurality of reference regions and the target region respectively and the reference region area of the plurality of reference regions, and the reference characters included in the detection value region are determined as reference index values, so that the detection value region corresponding to the to-be-detected index and the reference index value are automatically determined from the plurality of reference regions. Further, the placement positions of a plurality of to-be-detected indexes on the display interface of the multi-parameter monitor of different brands can be automatically determined, the positions and specific values of the values corresponding to the plurality of to-be-detected indexes can be automatically determined, the multi-parameter monitor of different brands can be automatically detected, and the detection efficiency is improved. BRIEF DESCRIPTION OF DRAWINGS
[0023] The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments of the present disclosure taken in conjunction with the accompanying drawings, in which:
[0024] Figure 1 An application scenario diagram of the method for automatically metering a multi-parameter monitor according to the embodiments of the present disclosure is shown;
[0025] Figure 2A flowchart of a method of automatically metering a multi-parameter monitor according to an embodiment of the present disclosure is schematically shown;
[0026] Figure 3 A schematic diagram of a character region resulting from a method of automatically metering a multi-parameter monitor according to an embodiment of the present disclosure is schematically shown;
[0027] Figure 4 A schematic diagram of a character region resulting from a method of automatically metering a multi-parameter monitor according to another embodiment of the present disclosure is schematically shown;
[0028] Figure 5 A system architecture diagram of a system of automatically metering a multi-parameter monitor according to an embodiment of the present disclosure is schematically shown;
[0029] Figure 6 A structural block diagram of an apparatus of automatically metering a multi-parameter monitor according to an embodiment of the present disclosure is schematically shown;
[0030] Figure 7 A structural block diagram of an apparatus of automatically metering a multi-parameter monitor according to another embodiment of the present disclosure is schematically shown; and
[0031] Figure 8 A block diagram of an electronic device suitable for implementing a method of automatically metering a multi-parameter monitor according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0032] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It is to be understood, however, that the description is merely exemplary of the present disclosure, and is not intended to limit the scope of the present disclosure. In the following detailed description of the embodiments of the present disclosure, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. However, it would be apparent to one skilled in the art that the present disclosure can be practiced without these specific details. In other instances, well-known structures and functions have not been described in detail in order to avoid obscuring aspects of the present disclosure.
[0033] The terms used herein are merely used to describe specific embodiments, and are not intended to limit the present disclosure. The terms "include" and "have" and the like used herein indicate the presence of the described features, steps, operations, and / or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
[0034] All terms used herein, including technical and scientific terms, have the same meanings as those generally understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having meanings consistent with the context of the present specification, and should not be interpreted in an idealized or excessively formal manner.
[0035] In the case of using expressions similar to "at least one of A, B, and C, etc.", it is generally intended to include any of A, B, and C alone, or in any combination, as well as the system including at least one of A, B, and C, etc.
[0036] To achieve automatic detection of monitoring index data generated by a multi-parameter monitor, the display interface of the multi-parameter monitor can be collected, and then the collected image can be automatically recognized to obtain the monitoring index data generated by the multi-parameter monitor. However, there are problems in this method: Because the display positions of multiple to-be-detected indicators on the display interfaces of multi-parameter monitors of different brands are uncertain, the display positions of the monitoring index data corresponding to the multiple to-be-detected indicators are uncertain, and the multi-parameter monitor display interface displays many characters, it is difficult to automatically determine the position of the to-be-detected indicator currently being detected according to the collected image of the display interface of the multi-parameter monitor for multi-parameter monitors of different brands. Moreover, even if the position of the to-be-detected indicator currently being detected is determined, it is also difficult to determine the position of the monitoring index data corresponding to the to-be-detected indicator and the value thereof from the image including many characters.
[0037] To at least partially solve the technical problems in the related art, embodiments of the present disclosure provide a method, device, equipment, storage medium and program product for automatically metering a multi-parameter monitor, which can be applied to the fields of computer technology, image processing technology and data processing technology.
[0038] Embodiments of the present disclosure provide a method for automatically metering a multi-parameter monitor, comprising: collecting a display interface of a multi-parameter monitor to obtain a target image; performing character recognition on the target image to obtain M character regions including character boxes; performing feature extraction on the M character regions respectively to obtain reference characters and corner coordinates corresponding to the M character regions respectively; matching the reference characters corresponding to the M character regions respectively with to-be-detected indicator names to determine a target region from the M character regions; determining deviation distances and deviation angles between a plurality of reference regions and the target region respectively and reference region areas of the plurality of reference regions according to the corner coordinates corresponding to the M character regions respectively; determining a detection value region from the plurality of reference regions according to the deviation distances and the deviation angles between the plurality of reference regions and the target region respectively and the reference region areas of the plurality of reference regions, and determining reference indicator values included in the detection value region as reference indicator values.
[0039] Figure 1 An application scenario diagram of the method for automatically metering a multi-parameter monitor according to an embodiment of the present disclosure is shown.
[0040] As Figure 1 shown, the application scenario 100 according to this embodiment can include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is a medium for providing a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 can include various connection types, such as wired, wireless communication links, or fiber optic cables, and the like.
[0041] A user can use the first terminal device 101, the second terminal device 102, the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, and the like. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, and the like (only as examples).
[0042] The first terminal device 101, the second terminal device 102, the third terminal device 103 can be various electronic devices with a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, laptop computers, desktop computers, and the like.
[0043] The server 105 can be a server providing various services, such as a background management server supporting a website browsed by a user using the first terminal device 101, the second terminal device 102, the third terminal device 103 (only as an example). The background management server can analyze and process received user requests and the like, and feed back the processing results (such as web pages, information, or data, and the like obtained or generated according to user requests) to the terminal device.
[0044] It should be noted that the method for automatically metering a multi-parameter monitor provided by the embodiments of the present disclosure can generally be executed by the server 105. Accordingly, the device for automatically metering a multi-parameter monitor provided by the embodiments of the present disclosure can generally be disposed in the server 105. The method for automatically metering a multi-parameter monitor provided by the embodiments of the present disclosure can also be executed by a server or a server cluster different from the server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or the server 105. Accordingly, the device for automatically metering a multi-parameter monitor provided by the embodiments of the present disclosure can also be disposed in a server or a server cluster different from the server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or the server 105.
[0045] It should be understood that Figure 1The number of terminal devices, networks and servers in the figure is only illustrative. According to the implementation needs, there can be any number of terminal devices, networks and servers.
[0046] The following will be based on Figure 1 The scenario described, the method of the automatic metering multi-parameter monitor of the embodiments of the present disclosure is described in detail.
[0047] Figure 2 The flowchart of the method of the automatic metering multi-parameter monitor according to the embodiments of the present disclosure is schematically shown.
[0048] As Figure 2 The method of the automatic metering multi-parameter monitor includes operations S210-S260.
[0049] In operation S210, in the case that the multi-parameter monitor displays the reference index value corresponding to the standard index value based on the analog signal corresponding to the standard index value generated by the standard device, the display interface of the multi-parameter monitor is collected to obtain a target image.
[0050] According to the embodiments of the present disclosure, the standard index value characterizes a standard value corresponding to the to-be-detected index. For example, the to-be-detected index can be an electrocardiogram (ECG), heart rate, blood oxygen saturation (SPO2), blood pressure (NIBP), respiration, body temperature, etc. The standard index value corresponding to the ECG can be set to 60, 90, 120 or 160, etc.
[0051] According to the embodiments of the present disclosure, the analog signal corresponding to the standard index value generated by the standard device characterizes the simulated signal of the vital sign corresponding to the standard index value.
[0052] According to the embodiments of the present disclosure, the reference index value characterizes the monitoring index data generated by the multi-parameter monitor according to the analog signal.
[0053] According to the embodiments of the present disclosure, the display interface of the multi-parameter monitor can display a plurality of to-be-detected index names and reference index values corresponding to the plurality of to-be-detected index names.
[0054] In operation S220, character recognition is performed on the target image to obtain M character regions including character boxes, where M is a positive integer.
[0055] For example, the target image can be processed by the OCR technology for greying, binarization, character segmentation, etc. to achieve character recognition on the target image to obtain M character regions including character boxes.
[0056] According to embodiments of the present disclosure, M can be selected according to actual conditions, which are not limited herein. For example, M can be 10, 12, 15, 18, 20, etc.
[0057] In operation S230, feature extraction is performed on the M character regions respectively to obtain reference characters and corner coordinates corresponding to the M character regions respectively, wherein the corner coordinates represent coordinates corresponding to each corner of the character frame.
[0058] For example, the OCR technology can be used to perform feature extraction on each character region to obtain reference characters and corner coordinates corresponding to each character region.
[0059] According to embodiments of the present disclosure, after obtaining the reference characters and corner coordinates corresponding to the M character regions respectively, a JSON data object list can be constructed, and the reference characters and corner coordinates corresponding to the M character regions respectively can be stored in the JSON data object list. The JSON data object list can include the rectangular four-corner coordinates (i.e., corner coordinates) of the character frame corresponding to each character region and the recognized reference characters (including numerical values).
[0060] In operation S240, the reference characters corresponding to the M character regions respectively are matched with the to-be-detected index name to determine a target region from the M character regions.
[0061] According to embodiments of the present disclosure, the target region can include the to-be-detected index name. For example, the target region can include the to-be-detected index name ECG, NIBP, or SPO2, etc.
[0062] According to embodiments of the present disclosure, the reference characters corresponding to the M character regions respectively can be obtained from the JSON data object list, and then the reference characters corresponding to the M character regions respectively are matched with the to-be-detected index name to determine the target region from the M character regions.
[0063] According to embodiments of the present disclosure, for any brand of multi-parameter monitor, the same to-be-detected index name can be displayed in multiple different positions of the display interface of the multi-parameter monitor. Therefore, if the same to-be-detected index name is displayed in multiple different positions of the display interface of the multi-parameter monitor, it indicates that the to-be-detected index name appears multiple times in the M character regions. At this time, the reference characters corresponding to the M character regions respectively are matched with the to-be-detected index name, and the matching results are screened to select the one with the largest character region area as the target region.
[0064] In operation S250, according to the corner coordinates corresponding to each of the M character regions, the deviation distance and the deviation angle between each of the plurality of reference regions and the target region are determined, and the reference region area of each of the plurality of reference regions is determined, wherein the reference region represents a character region in the M character regions other than a character region in which a reference character matches the to-be-detected index name.
[0065] According to an embodiment of the present disclosure, the JSON data object list can be traversed to obtain the corner coordinates corresponding to each of the character regions from the JSON data object list, and the corner coordinates can include a first coordinate a (x1, y1), a second coordinate b (x1, y2), a third coordinate c (x2, y1), and a fourth coordinate d (x2, y2), wherein x2 is greater than x1, and y2 is greater than y1. Then, according to the first coordinate a (x1, y1), the second coordinate b (x1, y2), the third coordinate c (x2, y1), and the fourth coordinate d (x2, y2), the reference region area of each reference region is calculated. For example, the reference region area of each reference region can be represented as SQUARE_MEA, and SQUARE_MEA can be calculated according to formula (1).
[0066] SQUARE_MEA=(x2-x1) (y2-y1) (1)。
[0067] According to an embodiment of the present disclosure, the deviation distance and the deviation angle between each of the plurality of reference regions and the target region can also be calculated according to the first coordinate a (x1, y1), the second coordinate b (x1, y2), the third coordinate c (x2, y1), and the fourth coordinate d (x2, y2).
[0068] In operation S260, according to the deviation distance and the deviation angle between each of the plurality of reference regions and the target region, and the reference region area of each of the plurality of reference regions, a detection value region is determined from the plurality of reference regions, and a reference character included in the detection value region is determined as a reference index value.
[0069] According to an embodiment of the present disclosure, for each reference region, the deviation distance, the deviation angle, and the reference region area can be weighted and summed to obtain a weighted value corresponding to each reference region, and a detection value region can be determined from the plurality of reference regions according to the weighted values corresponding to each of the plurality of reference regions.
[0070] According to the method for automatically metering a multi-parameter monitor provided by the embodiment of the present disclosure, the display interface of the multi-parameter monitor is collected to obtain a target image, character recognition is performed on the target image to obtain M character regions including character boxes, feature extraction is performed on the M character regions respectively to obtain reference characters and corner coordinates corresponding to the M character regions respectively, the reference characters corresponding to the M character regions respectively are matched with to-be-detected index names respectively, and the target region is determined from the M character regions, so that the actual position of the to-be-detected index name on the display interface of the multi-parameter monitor is automatically determined. Then, the deviation distance and the deviation angle between the plurality of reference regions and the target region are determined according to the corner coordinates corresponding to the M character regions respectively, the reference region area of the plurality of reference regions is determined, the detection value region is determined from the plurality of reference regions according to the deviation distance and the deviation angle between the plurality of reference regions and the target region respectively and the reference region area of the plurality of reference regions, and the reference characters included in the detection value region are determined as reference index values, so that the detection value region corresponding to the to-be-detected index and the reference index value are automatically determined from the plurality of reference regions. Further, the placement positions of a plurality of to-be-detected indexes on the display interface of multi-parameter monitors of different brands can be automatically determined, the positions and specific values of values corresponding to the plurality of to-be-detected indexes can be automatically determined, the multi-parameter monitors of different brands can be automatically detected, and the detection efficiency is improved.
[0071] According to the embodiment of the present disclosure, for the method for automatically metering a multi-parameter monitor as shown in Figure 2 According to the embodiment of the present disclosure, before the display interface of the multi-parameter monitor is collected to obtain a target image in the case where the multi-parameter monitor displays reference index values corresponding to standard index values based on the analog signals corresponding to the standard index values generated by the standard device, the method further comprises: setting running parameters corresponding to the standard device, so that the standard device generates analog signals corresponding to standard index values included in the running parameters according to the running parameters, and sends the analog signals to the multi-parameter monitor.
[0072] According to the embodiment of the present disclosure, the running parameters can include parameters for controlling the running of the standard device and parameters for controlling the running of the industrial camera.
[0073] For example, after starting the metering, the parameter for running the control standard device and the parameter for running the industrial camera are set in the beat configuration module, and then the standard device control module is used to set the running parameters of the standard device based on the parameters set in the beat configuration module, such as continuously sending the ECG as 30 instruction to the standard device within 0-25 seconds, so that the standard device generates an analog signal corresponding to the standard index value 30 and sends the analog signal to the multi-parameter monitor. The photographing control module is used to continuously send the photographing instruction to the industrial camera based on the parameters set in the beat configuration module, so that the industrial camera photographs the screen of the multi-parameter monitor.
[0074] According to an embodiment of the present disclosure, for the case that the multi-parameter monitor displays the reference index value corresponding to the standard index value based on the analog signal corresponding to the standard index value generated by the standard device, as shown in operation S210, the display interface of the multi-parameter monitor is collected to obtain a target image, which can include the following operations: the display interface of the multi-parameter monitor is continuously collected according to a first predetermined time beat to obtain a first predetermined number of initial images; and the first predetermined number of initial images are stored according to a second predetermined time beat to obtain the target image. Figure 2
[0075] According to an embodiment of the present disclosure, the first predetermined time beat, the second predetermined time beat and the first predetermined number can be selected according to actual conditions, which are not limited here. For example, for the detection index name ECG, the first predetermined time beat can be set to collect one frame of image every 1s, the second predetermined time beat can be to collect one frame of image at 0s, 25s, 30s, 45s, 60s, 70s, 80s, 90s and 100s, and the first predetermined number can be 8.
[0076] For example, the time beat of the metering multi-parameter monitor can be set as: ECG measurement of 4 groups of data, and each group is measured twice. The standard device control module sets the operation parameters of the standard device based on the parameters set in the beat configuration module: within 0-25 seconds, continuously sends the instruction of ECG 60 to the standard device, within 25-30 seconds, continuously sends the instruction of ECG 60 to the standard device, within 30-45 seconds, continuously sends the instruction of ECG 90 to the standard device, within 45-60 seconds, continuously sends the instruction of ECG 90 to the standard device, within 60-70 seconds, continuously sends the instruction of ECG 120 to the standard device, within 70-80 seconds, continuously sends the instruction of ECG 120 to the standard device, within 80-90 seconds, continuously sends the instruction of ECG 160 to the standard device, and within 90-100 seconds, continuously sends the instruction of ECG 160 to the standard device. Then the industrial camera can continuously capture the initial image according to the first predetermined time beat, after capturing the next image, the next image is used to replace the previous image, and the initial image is stored according to the second predetermined time beat 0s, 25s, 45s, 60s, 70s, 80s, 90s, 100s to obtain the target image.
[0077] According to an embodiment of the present disclosure, after obtaining the target image, the target image can be displayed on the visual operation monitoring interface, and the image recognition module can read the image captured by the industrial camera through the USB interface, and perform character and data analysis and reading, and matching, to obtain the name and reference index value of the related measurement item, for example, ECG, 61. Then, according to the obtained name and reference index value of the related measurement item.
[0078] According to an embodiment of the present disclosure, for the operation S240 as shown in Figure 2 The operation of matching the reference characters corresponding to the M character regions respectively with the to-be-detected index name to determine the target region can include the following operations: matching the reference characters corresponding to the M character regions respectively with the to-be-detected index name to obtain at least one initial target region matched with the to-be-detected index name; determining a target region area corresponding to each of the at least one initial target region according to the angle coordinates corresponding to each of the at least one initial target region; and determining a target region with the largest target region area from the at least one initial target region according to the target region area corresponding to each of the at least one initial target region.
[0079] According to the embodiment of the present disclosure, since any brand of multi-parameter monitor, the same to-be-detected index name can be displayed in multiple different positions of the display interface of the multi-parameter monitor, but generally the display font of the to-be-detected index name actually needed is larger than other to-be-detected index names, and the target area corresponding to the to-be-detected index name actually needed is larger than other target areas. Therefore, by determining the target area with the largest target area from the at least one initial target area according to the target area corresponding to each of the at least one initial target area, the target area corresponding to the to-be-detected index name actually needed can be obtained, so that the actual position of the to-be-detected index name actually needed on the display interface of the multi-parameter monitor can be determined based on the largest target area in the case that the to-be-detected index name appears multiple times on the display interface of the multi-parameter monitor.
[0080] According to the embodiment of the present disclosure, for the operation S250 as shown in Figure 2 According to the embodiment of the present disclosure, for the operation S250 as shown in
[0081] According to the embodiment of the present disclosure, the center coordinates corresponding to each of the plurality of reference areas and the center coordinates corresponding to the target area can be determined from the corner coordinates corresponding to each of the M character areas and the corner coordinates corresponding to the target area, and then the center coordinates corresponding to each of the plurality of reference areas and the center coordinates corresponding to the target area can be determined according to the center coordinates corresponding to each of the plurality of reference areas and the center coordinates corresponding to the target area.
[0082] For example, the center coordinates CENTER corresponding to each of the plurality of reference areas and the target area can be calculated according to formula (2).
[0083] CENTER=[(x1+x2) / 2,(y1+y2) / 2] (2)
[0084] Figure 3 The schematic diagram of the character area obtained by the method of automatically metering the multi-parameter monitor according to the embodiment of the present disclosure is schematically shown.
[0085] For example, the center coordinates CENTER corresponding to each of the plurality of reference areas and the target area can be calculated according to formula (2). Figure 3As shown, the character region 301 includes the to-be-detected index name ECG, and the character region 302 includes the reference character 85. The character region 301 is a target region, and the character region 302 is a reference region. The center coordinates corresponding to each of the character region 301 and the character region 302 can be calculated according to formula (2). For example, the center coordinates corresponding to the character region 301 are A-CENTER, and the center coordinates corresponding to the character region 302 are B-CENTER.
[0086] According to an embodiment of the present disclosure, for any reference region, the distance between the center coordinates of the reference region and the center coordinates of the target region can be calculated by using the Euclidean distance formula, to obtain the deviation distance between the reference region and the target region.
[0087] According to an embodiment of the present disclosure, for any reference region, the lateral distance along the x-axis between the center coordinates of the reference region and the center coordinates of the target region can be calculated, for example, the lateral distance = the horizontal coordinate of the center coordinates of the reference region - the horizontal coordinate of the center coordinates of the target region, and then the lateral distance is divided by the deviation distance, and the obtained ratio is processed by using the inverse cosine function to obtain the deviation angle.
[0088] According to an embodiment of the present disclosure, the JSON data object list can be traversed to obtain the angular coordinates corresponding to the plurality of reference regions respectively and the angular coordinates corresponding to the target region, and then the deviation distance and the deviation angle between the plurality of reference regions and the target region respectively can be calculated according to the above calculation method, to obtain a two-dimensional array of the deviation distance and the deviation angle. According to the two-dimensional data of the deviation distance and the deviation angle and the reference region areas corresponding to the plurality of reference regions respectively, a three-dimensional array of the deviation distance, the deviation angle and the reference region area can be obtained.
[0089] According to an embodiment of the present disclosure, for the operation S260 as shown, Figure 2 According to an embodiment of the present disclosure, for the operation S260 as shown,
[0090] For example, the deviation distance, the deviation angle and the reference area area can be all mapped between 0 and 1. In the case that the greater the deviation distance, the greater the mapped value, the greater the deviation angle, the greater the mapped value, and the greater the reference area area, the smaller the mapped value, the reference region corresponding to the smallest weighted value in the plurality of reference regions can be determined as the detection value region. In the case that the greater the deviation distance, the smaller the mapped value, the greater the deviation angle, the smaller the mapped value, and the greater the reference area area, the greater the mapped value, the reference region corresponding to the largest weighted value in the plurality of reference regions can be determined as the detection value region.
[0091] Figure 4 A schematic diagram of a character region obtained by a method of automatically metering a multi-parameter monitor according to another embodiment of the disclosure is schematically shown.
[0092] As shown in Figure 4 , the character region 401 includes an indicator name to be detected as ECG, the character region 402 includes a reference character as 85, and the character region 403 includes a reference character as 45. The character region 401 is a target region, and the character region 402 and the character region 403 are reference regions. The character region 402 is located at the lower right of the character region 401, and the character region 403 is located at the lower right of the character region 401 and at the lower left of the character region 402. The reference area area of the character region 402 is greater than the reference area area of the character region 403.
[0093] The center coordinate corresponding to the character region 401 is A-CENTER. The center coordinate corresponding to the character region 402 is B-CENTER, the deviation distance corresponding to the character region 402 is distance (A-B), and the deviation angle corresponding to the character region 402 is angle (A-B). The center coordinate corresponding to the character region 403 is C-CENTER, the deviation distance corresponding to the character region 403 is distance (A-C), and the deviation angle corresponding to the character region 403 is angle (A-C). The angle (A-B) is smaller than the angle (A-C), and the distance (A-B) is smaller than the distance (A-C).
[0094] By Figure 4It can be known that the distance to the ECG is close, the deviation angle is in the range of 0-60 degrees, and the reference area is large. Therefore, the value is most likely to belong to the ECG value. Thus, the distance (A-B), the angle (A-B), and the reference area of the character area 402 can be weighted and summed to obtain the weighted value of the character area 402, the distance (A-C), the angle (A-C), and the reference area of the character area 403 can be weighted and summed to obtain the weighted value of the character area 403. In the case that the greater the deviation distance, the smaller the mapped value, the greater the deviation angle, the smaller the mapped value, and the greater the reference area, the greater the mapped value, the weighted value of the character area 402 is greater than the weighted value of the character area 403, and therefore, the character area 402 is determined as the detection value area. That is, the reference character 85 in the character area 402 is determined to be related to the ECG, and the reference character 45 in the character area 403 is determined to be unrelated to the ECG.
[0095] According to an embodiment of the present disclosure, Figure 2 The method for automatically metering the multi-parameter monitor in the method can further include simultaneously detecting a plurality of to-be-detected indexes. For example, a plurality of data corresponding to electrocardiogram, blood oxygen, and blood pressure can be simultaneously collected.
[0096] According to an embodiment of the present disclosure, Figure 2 The method for automatically metering the multi-parameter monitor in the method can further include reminding an operator to check and adjust a connection relationship between detection devices in a case that a difference between the reference index value and the standard index value exceeds a predetermined index range.
[0097] According to an embodiment of the present disclosure, Figure 2 The method for automatically metering the multi-parameter monitor in the method can further include recording a position of a detection value area corresponding to the reference index value for a predetermined type of multi-parameter monitor, so as to subsequently obtain the reference index value based on the position of the detection value area corresponding to the reference index value when automatically metering the predetermined type of multi-parameter monitor. In a case that a data distribution of a certain type of monitor has been confirmed, the reference index value can be directly called out for the corresponding type, and the detection speed can be accelerated.
[0098] According to an embodiment of the present disclosure, Figure 2The method for automatically metering the multi-parameter monitor in the method for automatically metering the multi-parameter monitor can further include: adding a scale outside a display interface of the multi-parameter monitor, and in a case where the multi-parameter monitor displays a reference waveform corresponding to a standard waveform height value based on a simulation signal generated by the standard device, collecting the display interface of the multi-parameter monitor to obtain a target waveform image, wherein the target waveform image includes a standard scale value displayed by the scale and a reference waveform displayed by the display interface of the multi-parameter monitor based on the standard device; obtaining a reference waveform height value according to the standard scale value and the reference waveform; and subtracting the reference waveform height value from the standard waveform height value, and in a case where a difference value obtained is within a preset height difference value range, determining that the reference waveform displayed by the multi-parameter monitor meets quality inspection requirements.
[0099] For example, the scale can be added outside a display corresponding to the display interface, and after photographing, the reference waveform height displayed by the monitor can be indirectly measured by comparing the standard scale displayed by the scale with a pixel distance from the scale, and it can be determined whether the waveform displayed by the monitor meets requirements by comparing the reference waveform height with the standard waveform height.
[0100] According to an embodiment of the present disclosure, the standard waveform height value can be a height value of a waveform corresponding to a sine wave, a square wave, or a triangular wave.
[0101] According to an embodiment of the present disclosure, in a case where it is determined that the reference waveform displayed by the multi-parameter monitor meets quality inspection requirements, it can be determined that the multi-parameter monitor can accurately display a waveform corresponding to a detection value of a to-be-detected index.
[0102] According to an embodiment of the present disclosure, in a case where it is determined that the reference waveform displayed by the multi-parameter monitor meets quality inspection requirements, it can be determined that the multi-parameter monitor can accurately display a waveform corresponding to a detection value of a to-be-detected index. Figure 2 The method for automatically metering the multi-parameter monitor in the method for automatically metering the multi-parameter monitor can further include: adding a scale outside a display interface of the multi-parameter monitor, and in a case where the multi-parameter monitor displays a reference waveform corresponding to a standard waveform height value based on a simulation signal generated by the standard device, collecting the display interface of the multi-parameter monitor to obtain a target waveform image, wherein the target waveform image includes a standard scale value displayed by the scale and a reference waveform displayed by the display interface of the multi-parameter monitor based on the standard device; obtaining a reference waveform height value according to the standard scale value and the reference waveform; and subtracting the reference waveform height value from the standard waveform height value, and in a case where a difference value obtained is within a preset height difference value range, determining that the reference waveform displayed by the multi-parameter monitor meets quality inspection requirements.
[0103] According to an embodiment of the present disclosure, the method for automatically metering the multi-parameter monitor can further include: displaying the to-be-detected index name and the reference index value corresponding to the to-be-detected index name. Figure 2 The method for automatically metering the multi-parameter monitor shown in the method for automatically metering the multi-parameter monitor can be based on video shooting of an industrial camera and control technology of a human vital sign standard device, and can photograph a multi-parameter monitor screen and set a simulation parameter of a standard device at a certain rhythm, then can identify and analyze a collected monitor screen image, and can compare and record the monitor screen image with a simulation parameter of the standard device matched at the same period to form a multi-parameter monitor metering and verification original data report. Meanwhile, Figure 2 The method for automatically metering the multi-parameter monitor shown in the method for automatically metering the multi-parameter monitor is not dependent on a communication protocol of a monitor manufacturer, is completely based on visual technology, and is suitable for automatic metering work of multi-parameter monitor products of all manufacturers.
[0104] It should be noted that, unless it is explicitly stated that there is an execution sequence between different operations or there is an execution sequence between different operations in technical implementation, the execution sequence between multiple operations can not be distinguished, and multiple operations can be executed simultaneously.
[0105] Figure 5 A system architecture diagram of the automatic metrology multi-parameter monitor according to the embodiment of the present disclosure is schematically shown.
[0106] As shown in Figure 5 , the system 500 of the automatic metrology multi-parameter monitor includes an industrial camera 510, a standard device 520, and a digital metrology tool software 530.
[0107] The digital metrology tool software 530 is configured to set operating parameters corresponding to the standard device 520 and set operating parameters corresponding to the industrial camera 510.
[0108] The standard device 520 is configured to generate an analog signal corresponding to a standard index value included in the operating parameters based on the operating parameters set by the digital metrology tool software 530, and send the analog signal to the multi-parameter monitor 501. The standard device 520 and the digital metrology tool software 530 can perform serial communication. The industrial camera 510 is configured to collect a display interface of the multi-parameter monitor 501 based on the operating parameters set by the digital metrology tool software 530, in a case that the multi-parameter monitor 501 displays a reference index value corresponding to the standard index value based on the analog signal corresponding to the standard index value generated by the standard device 520, to obtain a target image.
[0109] The digital metrology tool software 530 is further configured to process the target image according to operations S220-S260 in Figure 2 , to obtain a to-be-detected index name and a reference index value corresponding to the to-be-detected index name, and display the obtained to-be-detected index name and the reference index value corresponding to the to-be-detected index name.
[0110] As can be seen from Figure 5 , the system of the automatic metrology multi-parameter monitor provided by the embodiment of the present disclosure uses data transmission protocol information collection, machine vision, intelligent character recognition (for example, OCR technology), and other technologies to realize real-time automatic control of metrology standard analog signal output, real-time automatic collection and automatic storage of metrology data of the multi-parameter monitor. Compared with the traditional metrology field, the application of metrology digitization technology in the multi-parameter monitor calibration work promotes the intelligentization and digitization of metrology standards, and ultimately reduces manual operation, improves work efficiency and quality.
[0111] Figure 6A structural block diagram of an apparatus of an automatic metrology multi-parameter monitor according to an embodiment of the present disclosure is shown.
[0112] As shown in Figure 6 , the apparatus 600 of the automatic metrology multi-parameter monitor can include a beat configuration module 610, a standard controller control module 620, a photographing control module 630, an image recognition module 640, a visual operation monitoring module 650, and a metrology data processing report generation module 660.
[0113] The beat configuration module 610 can be configured to set parameters for controlling operation of the standard controller and parameters for controlling operation of the industrial camera. The standard controller control module 620 can be configured to set operation parameters of the standard controller based on the parameters set in the beat configuration module 610, so that the standard controller generates an analog signal corresponding to a standard index value included in the operation parameters according to the operation parameters, and sends the analog signal to the multi-parameter monitor. The photographing control module 630 can be configured to continuously send a photographing instruction to the industrial camera based on the parameters set in the beat configuration module, so that the industrial camera photographs the screen of the multi-parameter monitor.
[0114] The image recognition module 640 is configured to read in an image photographed by the industrial camera through a USB interface to obtain a target image, and process the target image based on operations S220-S260 in Figure 2 to automatically obtain a to-be-detected index name and a reference index value corresponding to the to-be-detected index name.
[0115] The metrology data processing report generation module 660 is configured to collect metrology parameter values identified in each stage, such as standard index values, to-be-detected index names, and reference index values, perform data filling and calculation according to a template required by a multi-parameter metrology procedure, and generate an original record sheet.
[0116] The visual operation monitoring module 650 can be configured to interact with a client, so that the client sets each parameter in the beat configuration module 610 based on the visual operation monitoring module 650, and controls the metrology data processing report generation module 660 to generate the original record sheet. The visual operation monitoring module 650 is also configured to display the original record sheet.
[0117] According to an embodiment of the present disclosure, Figure 6 any plurality of modules included in the apparatus 600 of the automatic metrology multi-parameter monitor in Figure 7 can be combined in one module, or any one of the modules can be split into a plurality of modules. Thus, based on the above-described method of automatically metrology multi-parameter monitor, the present disclosure also provides an apparatus of an automatic metrology multi-parameter monitor. The apparatus will be described in detail below in combination with
[0118] Figure 7A structural block diagram of an apparatus of an automatic metering multi-parameter monitor according to another embodiment of the present disclosure is shown.
[0119] As shown in the figure, the apparatus 700 of the automatic metering multi-parameter monitor of this embodiment can include a collection module 710, a character recognition module 720, a feature extraction module 730, a matching module 740, a first determination module 750, and a second determination module 760. Figure 7
[0120] The collection module 710 is configured to collect a display interface of the multi-parameter monitor under a condition that the multi-parameter monitor displays reference index values corresponding to analog signals generated by the standard based on the standard index values, to obtain a target image. In an embodiment, the collection module 710 can be configured to perform the operation S210 described above, and details are not repeated here.
[0121] The character recognition module 720 is configured to perform character recognition on the target image to obtain M character regions including character boxes, where M is a positive integer. In an embodiment, the character recognition module 720 can be configured to perform the operation S220 described above, and details are not repeated here.
[0122] The feature extraction module 730 is configured to perform feature extraction on the M character regions respectively to obtain reference characters and corner coordinates corresponding to the M character regions respectively, where the corner coordinates represent coordinates corresponding to each corner of the character box. In an embodiment, the feature extraction module 730 can be configured to perform the operation S230 described above, and details are not repeated here.
[0123] The matching module 740 is configured to match the reference characters corresponding to the M character regions respectively with the to-be-detected index name, to determine a target region from the M character regions. In an embodiment, the matching module 740 can be configured to perform the operation S240 described above, and details are not repeated here.
[0124] The first determination module 750 is configured to determine, according to the corner coordinates corresponding to the M character regions respectively, a deviation distance and a deviation angle between a plurality of reference regions and the target region respectively and a reference region area of the plurality of reference regions, where the reference region represents a character region in the M character regions other than a character region in which the reference character matches the to-be-detected index name. In an embodiment, the first determination module 750 can be configured to perform the operation S250 described above, and details are not repeated here.
[0125] The second determining module 760 is configured to determine a detection value region from the plurality of reference regions according to the deviation distance and the deviation angle between each of the plurality of reference regions and the target region and the reference region area of the plurality of reference regions, and determine the reference character included in the detection value region as the reference index value. In an embodiment, the second determining module 760 can be configured to perform the operation S260 described above, and thus details are not repeated here.
[0126] According to an embodiment of the present disclosure, any one or more of the acquisition module 710, the character recognition module 720, the feature extraction module 730, the matching module 740, the first determining module 750 and the second determining module 760 can be combined in one module, or any one of them can be split into multiple modules. Alternatively, at least part of the function of one or more of these modules can be combined with at least part of the function of other modules, and implemented in one module. According to an embodiment of the present disclosure, at least one of the acquisition module 710, the character recognition module 720, the feature extraction module 730, the matching module 740, the first determining module 750 and the second determining module 760 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on board, a system on package, an application specific integrated circuit (ASIC), or any other reasonable way of integrating or packaging a circuit, etc. hardware or firmware, or any one of the three implementation ways of software, hardware and firmware or any appropriate combination of any of them. Alternatively, at least one of the acquisition module 710, the character recognition module 720, the feature extraction module 730, the matching module 740, the first determining module 750 and the second determining module 760 can be at least partially implemented as a computer program module which can perform corresponding functions when running.
[0127] Figure 8 The block diagram of the electronic device suitable for implementing the method of automatically metering the multi-parameter monitor according to an embodiment of the present disclosure is schematically shown.
[0128] As Figure 8As shown, the electronic device 800 according to embodiments of the present disclosure includes a processor 801 that can perform various appropriate actions and processes in accordance with a program stored in a read only memory (ROM) 802 or a program loaded into a random access memory (RAM) 803 from a storage section 808. The processor 801 can include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor, and / or a related chip set, and / or a special purpose microprocessor (e.g., an application specific integrated circuit (ASIC)), and so on. The processor 801 can also include an on-board memory for cache use. The processor 801 can include a single processing unit or multiple processing units for executing different actions of the method processes according to embodiments of the present disclosure.
[0129] In the RAM 803, various programs and data required for the operation of the electronic device 800 are stored. The processor 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. The processor 801 performs various operations of the method processes according to embodiments of the present disclosure by executing the programs in the ROM 802 and / or the RAM 803. Note that the programs can also be stored in one or more memories other than the ROM 802 and the RAM 803. The processor 801 can also perform various operations of the method processes according to embodiments of the present disclosure by executing the programs stored in the one or more memories.
[0130] According to embodiments of the present disclosure, the electronic device 800 can further include an input / output (I / O) interface 805, which is also connected to the bus 804. The system 800 can further include one or more of the following components connected to the input / output (I / O) interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the input / output (I / O) interface 805 as necessary. A removable recording medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the drive 810 as necessary, so that a computer program read out therefrom is installed in the storage section 808 as necessary.
[0131] According to an embodiment of the present disclosure, the method flow according to the embodiments of the present disclosure can be implemented as a computer software program. For example, the embodiments of the present disclosure include a computer program product comprising a computer program carrying out the program codes for executing the method shown in the flow chart. In such embodiments, the computer program can be downloaded and installed from a network through the communication part 809, and / or installed from the detachable medium 811. When the computer program is executed by the processor 801, the above-mentioned functions defined in the system / apparatus according to the embodiments of the present disclosure are executed. According to an embodiment of the present disclosure, the system, device, apparatus, module, unit, etc. described above can be implemented by computer program modules.
[0132] The present disclosure also provides a computer readable storage medium, which can be included in the device / apparatus / system described in the above embodiments, or exist separately without being assembled into the device / apparatus / system. The above computer readable storage medium carries one or more programs, which when executed, implement the method according to the embodiments of the present disclosure.
[0133] According to an embodiment of the present disclosure, the computer readable storage medium can be a non-volatile computer readable storage medium. For example, it can include but not limited to portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any appropriate combination thereof. In the present disclosure, the computer readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus or device.
[0134] For example, according to an embodiment of the present disclosure, the computer readable storage medium can include the ROM 802 and / or the RAM 803 described above, and / or one or more memories other than the ROM 802 and the RAM 803.
[0135] The embodiments of the present disclosure also include a computer program product comprising a computer program containing program codes for executing the method provided by the embodiments of the present disclosure, which when the computer program product is run on an electronic device, the program codes are used to make the electronic device implement the method for automatically metering multi-parameter monitors provided by the embodiments of the present disclosure.
[0136] When the computer program is executed by the processor 801, the above-mentioned functions defined in the system / apparatus according to the embodiments of the present disclosure are executed. According to an embodiment of the present disclosure, the system, device, apparatus, module, unit, etc. described above can be implemented by computer program modules.
[0137] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and may be downloaded and installed via the communication section 809, and / or installed from a removable medium 811. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.
[0138] According to embodiments of this disclosure, program code for executing the computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, languages such as Java, C++, Python, "C", or similar programming languages. The program code can execute entirely on a user's computing device, partially on a user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0139] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0140] Those skilled in the art can understand that the features described in various embodiments of the present disclosure can be combined and / or integrated in various combinations, even if such combinations or integrations are not explicitly described in the present disclosure. In particular, the features described in various embodiments of the present disclosure can be combined and / or integrated in various combinations without departing from the spirit and teachings of the present disclosure. All such combinations and / or integrations are within the scope of the present disclosure.
[0141] The above describes embodiments of the present disclosure. However, these embodiments are merely for illustrative purposes, and are not intended to limit the scope of the present disclosure. Although each embodiment is described above separately, this does not mean that the measures in various embodiments cannot be advantageously used in combination. The scope of the present disclosure is defined by various embodiments and their equivalents. Those skilled in the art can make various substitutions and modifications without departing from the scope of the present disclosure, and all such substitutions and modifications shall fall within the scope of the present disclosure.
Claims
1. A method for an automatic multi-parameter monitoring device, comprising: When the multi-parameter monitor displays a reference index value corresponding to the standard index value based on the analog signal generated by the standard instrument, the display interface of the multi-parameter monitor is captured to obtain the target image. The target image is subjected to character recognition to obtain M character regions including character frames, where M is a positive integer; Feature extraction is performed on each of the M character regions to obtain the reference character and corner coordinates corresponding to each of the M character regions, wherein the corner coordinates represent the coordinates corresponding to each corner of the character frame; The reference characters corresponding to each of the M character regions are matched with the names of the indicators to be detected, and the target region is determined from the M character regions. Based on the angular coordinates corresponding to each of the M character regions, the deviation distance and deviation angle between the multiple reference regions and the target region, as well as the reference region area of the multiple reference regions, are determined. The reference region represents the character region among the M character regions, excluding the character region whose reference character matches the name of the indicator to be detected. Based on the deviation distance and deviation angle between the plurality of reference regions and the target region, and the area of the reference regions of the plurality of reference regions, a detection value region is determined from the plurality of reference regions, and the reference characters included in the detection value region are determined as the reference index value.
2. The method according to claim 1, wherein, The step of determining the deviation distance and deviation angle between the multiple reference regions and the target region, as well as the reference region area of the multiple reference regions, based on the angular coordinates corresponding to each of the M character regions, includes: Based on the angular coordinates corresponding to each of the M character regions, determine the center coordinates corresponding to the plurality of reference regions and the center coordinates corresponding to the target region; Based on the center coordinates corresponding to the plurality of reference areas and the center coordinates corresponding to the target area, the deviation distance and deviation angle between the plurality of reference areas and the target area are determined.
3. The method according to claim 1 or 2, wherein, The step of matching the reference characters corresponding to each of the M character regions with the name of the indicator to be detected, and determining the target region from the M character regions, includes: The reference characters corresponding to each of the M character regions are matched with the names of the indicators to be detected to obtain at least one initial target region that matches the name of the indicator to be detected. Based on the angular coordinates corresponding to each of the at least one initial target region, determine the area of the target region corresponding to each of the at least one initial target region; Based on the target area corresponding to each of the at least one initial target areas, determine the target area with the largest target area from the at least one initial target areas.
4. The method according to claim 3, wherein, The step of determining the detection value region from the plurality of reference regions based on the deviation distance and deviation angle between the plurality of reference regions and the target region, and the area of the plurality of reference regions, includes: The deviation distances and deviation angles between the plurality of reference regions and the target region, as well as the reference region areas of the plurality of reference regions, are normalized to obtain the normalized deviation distances, normalized deviation angles, and normalized reference region areas corresponding to each of the plurality of reference regions. The weighted sum of the normalized deviation distance, normalized deviation angle, and normalized reference area corresponding to each reference area is obtained. The detection value region is determined from the multiple reference regions based on the weighted values corresponding to each of the multiple reference regions.
5. The method according to claim 1 or 2, wherein, When the multi-parameter monitor displays a reference index value corresponding to the standard index value based on the analog signal generated by the standard instrument, the process of acquiring the target image by collecting data from the display interface of the multi-parameter monitor includes: According to the first predetermined time frame, the display interface of the multi-parameter monitor is continuously acquired to obtain a first predetermined number of initial images; The target image is obtained by storing the first predetermined number of initial images according to the second predetermined time frame.
6. The method according to claim 1 or 2, wherein, Before acquiring the target image from the display interface of the multi-parameter monitor, which displays a reference index value corresponding to the standard index value based on an analog signal generated by a standard instrument, the process further includes: The operating parameters corresponding to the standard are set so that the standard generates an analog signal corresponding to the standard index value included in the operating parameters, and sends the analog signal to the multi-parameter monitor.
7. A device for an automatic metering multi-parameter monitor, comprising: The acquisition module is used to acquire data from the display interface of the multi-parameter monitor to obtain a target image when the multi-parameter monitor displays a reference index value corresponding to the standard index value based on the analog signal generated by the standard instrument. The character recognition module is used to perform character recognition on the target image to obtain M character regions including character boxes, where M is a positive integer; The feature extraction module is used to extract features from the M character regions respectively, and obtain the reference character and corner coordinates corresponding to each of the M character regions, wherein the corner coordinates represent the coordinates corresponding to each corner of the character box; The matching module is used to match the reference characters corresponding to each of the M character regions with the name of the indicator to be detected, and to determine the target region from the M character regions; The first determining module is used to determine the deviation distance and deviation angle between the target region and the multiple reference regions respectively, as well as the reference region area of the multiple reference regions, based on the angular coordinates corresponding to the M character regions respectively, wherein the reference region represents the character region among the M character regions excluding the character region whose reference character matches the name of the indicator to be detected; The second determining module is used to determine a detection value region from the plurality of reference regions based on the deviation distance and deviation angle between the plurality of reference regions and the target region, as well as the reference region area of the plurality of reference regions, and to determine the reference characters included in the detection value region as the reference index value.
8. An electronic device, comprising: One or more processors; Memory, used to store one or more computer programs. The one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program or instructions stored thereon, wherein, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 6.
10. A computer program product comprising a computer program or instructions, wherein, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Universal method and device for collecting custody data of custody instruments automatically
CN103678916A
Method, device and equipment for image recognition and computer readable storage medium
CN108345882A