Method, device and equipment for automatically metering multi-parameter monitor and storage medium
Patent Information
- Application Number
- CN202411211405.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-08-30
AI Technical Summary
The existing technology is difficult to realize automatic detection of monitoring indicator data generated by multi-parameter monitors of different brands, resulting in inefficient detection and inability to meet the growing testing needs.
Collect the display interface of the multi -parameter guardians, perform character recognition and feature extraction, match the name of the test indicator, determine the target area, and calculate the deviation distance, departure angle and reference area area through angle coordinates, thereby automatically determine the detection value area And reference index value.
The automatic determination of the multi -parameter monitor display interface to detect the location and value of the test indicator, which improves the automated detection efficiency of different brand guardians.
Smart Images

Figure CN119360388A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the fields of computer technology, image processing technology and data processing technology, and in particular to a method, device, equipment, storage medium and program product for automatically measuring a multi-parameter monitor. Background Art
[0002] Multi-parameter monitors are monitoring devices that provide important information for medical clinical diagnosis. They can monitor the human body's electrocardiogram signals, heart rate, blood oxygen saturation, blood pressure, respiration, body temperature and other physiological parameters in real time. Their safety and effectiveness are directly related to the safety and health of patients.
[0003] When calibrating multi-parameter monitors of different brands, since there is no unified monitor data interface and data communication protocol between parameter monitors of different brands, it is usually necessary to manually check whether the monitoring indicator data generated by each brand of multi-parameter monitor meets the standards. This method of measuring multi-parameter monitors is extremely inefficient, and with the rapid growth in the use of multi-parameter monitors in medical and health institutions, this method of measuring multi-parameter monitors can no longer meet the growing detection needs. Therefore, it is urgent to find a method that can automatically detect the monitoring indicator data generated by multi-parameter monitors of different brands. Summary of the invention
[0004] In view of this, the present disclosure provides a method, apparatus, device, storage medium and program product for automatically measuring a multi-parameter monitor.
[0005] In one aspect of the present disclosure, a method for automatically measuring a multi-parameter monitor is provided, comprising:
[0006] When 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;
[0007] Performing character recognition on the target image to obtain M character regions including character frames, where M is a positive integer;
[0008] Perform feature extraction on the M character regions respectively to obtain reference characters and angular coordinates corresponding to the M character regions respectively, wherein the angular coordinates represent coordinates corresponding to each corner of the character frame;
[0009] Matching the reference characters corresponding to the M character regions with the names of the indicators to be detected, respectively, and determining the target region from the M character regions;
[0010] Determine the deviation distances and deviation angles between the multiple reference areas and the target area and the reference area areas of the multiple reference areas according to the angular coordinates corresponding to the M character areas, respectively, wherein the reference areas represent the character areas of the M character areas except the character areas where the reference characters match the names of the indicators to be detected;
[0011] According to the deviation distances and deviation angles between the above-mentioned multiple reference areas and the above-mentioned target area respectively and the reference area areas of the above-mentioned multiple reference areas, the detection value area is determined from the above-mentioned multiple reference areas, and the reference characters included in the above-mentioned detection value area are determined as the above-mentioned reference indicator values.
[0012] Another aspect of the present disclosure provides a device for automatically measuring a multi-parameter monitor, comprising:
[0013] An acquisition module, used for acquiring a 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 an analog signal corresponding to the standard index value generated by the standard device;
[0014] A character recognition module, used for performing character recognition on the target image to obtain M character regions including character frames, where M is a positive integer;
[0015] A feature extraction module, used to perform feature extraction on the M character regions respectively, to obtain reference characters and angular coordinates corresponding to the M character regions respectively, wherein the angular coordinates represent coordinates corresponding to each corner of the character frame;
[0016] A matching module, used for matching the reference characters corresponding to the M character regions with the names of the indicators to be detected, and determining the target region from the M character regions;
[0017] A first determination module is used to determine the deviation distances and deviation angles between the multiple reference areas and the target area and the reference area areas of the multiple reference areas according to the angular coordinates corresponding to the M character areas, wherein the reference areas represent the character areas of the M character areas except the character areas where the reference characters match the names of the indicators to be detected;
[0018] The second determination module is used to determine the detection value area from the above-mentioned multiple reference areas according to the deviation distances and deviation angles between the above-mentioned multiple reference areas and the above-mentioned target area and the reference area areas of the above-mentioned multiple reference areas, and determine the reference characters included in the above-mentioned detection value area as the above-mentioned reference indicator value.
[0019] Another aspect of the present disclosure provides an electronic device, comprising: one or more processors; and 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 above method.
[0020] Another aspect of the present disclosure provides a computer-readable storage medium having a computer program or instruction stored thereon, wherein the computer program or instruction implements the steps according to the above method when executed by a processor.
[0021] Another aspect of the present disclosure provides a computer program product, including a computer program or instructions, wherein the computer program or instructions implement the steps according to the above method when executed by a processor.
[0022] According to the method of automatic measurement of 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, M character areas including character frames are obtained, feature extraction is performed on the M character areas respectively, reference characters and angular coordinates corresponding to each of the M character areas are obtained, the reference characters corresponding to each of the M character areas are matched with the names of the indicators to be detected respectively, and the technical means of determining the target area from the M character areas is realized to automatically determine the actual position of the name of the indicator to be detected on the display interface of the multi-parameter monitor. Then, according to the angular coordinates corresponding to each of the M character areas, the deviation distances and deviation angles between the multiple reference areas and the target area and the reference area areas of the multiple reference areas are determined respectively, according to the deviation distances and deviation angles between the multiple reference areas and the target area and the reference area areas of the multiple reference areas, the detection value area is determined from the multiple reference areas, and the reference characters included in the detection value area are determined as the technical means of the reference indicator value, so as to realize the automatic determination of the detection value area and the reference indicator value corresponding to the indicator to be detected from the multiple reference areas. Furthermore, it is possible to automatically determine the placement positions of multiple indicators to be detected on the display interfaces of multi-parameter monitors of different brands, automatically determine the positions and specific values of the values corresponding to the multiple indicators to be detected, thereby realizing automated detection of multi-parameter monitors of different brands and improving detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0024] Figure 1 An application scenario diagram of the method for automatically measuring a multi-parameter monitor according to an embodiment of the present disclosure is shown;
[0025] Figure 2A flowchart of a method for automatically measuring a multi-parameter monitor according to an embodiment of the present disclosure is schematically shown;
[0026] Figure 3 A schematic diagram schematically shows a character area obtained by the method for automatically measuring a multi-parameter monitor according to an embodiment of the present disclosure;
[0027] Figure 4 A schematic diagram schematically shows a character area obtained by a method for automatically measuring a multi-parameter monitor according to another embodiment of the present disclosure;
[0028] Figure 5 The system architecture diagram of the automatic metering multi-parameter monitor according to the embodiment of the present disclosure is schematically shown;
[0029] Figure 6 The structure block diagram of the automatic metering multi-parameter monitor according to the embodiment of the present disclosure is schematically shown;
[0030] Figure 7 A structural block diagram of an automatic metering multi-parameter monitor according to another embodiment of the present disclosure is shown; and
[0031] Figure 8 The block diagram schematically shows an electronic device suitable for implementing the method of automatically measuring a multi-parameter monitor according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0032] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0033] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0034] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0035] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0036] In order to realize 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 identified to obtain the monitoring index data generated by the multi-parameter monitor. However, the problem existing in this method is that since the display positions of multiple indicators to be detected on the display interface of multi-parameter monitors of different brands are uncertain, the display positions of the monitoring index data corresponding to the multiple indicators to be detected are uncertain, and the display interface of the multi-parameter monitor displays a large number of characters, it is difficult to automatically determine the position of the indicator to be detected currently being detected based on the image of the display interface of the multi-parameter monitor collected for multi-parameter monitors of different brands. Moreover, even after determining the position of the indicator to be detected currently being detected, it is difficult to determine the position and value of the monitoring index data corresponding to the indicator to be detected from the image including a large number of characters.
[0037] In order to at least partially solve the technical problems existing in the related art, the embodiments of the present disclosure provide a method, device, equipment, storage medium and program product for automatically measuring a multi-parameter monitor, which can be applied to the fields of computer technology, image processing technology and data processing technology.
[0038] An embodiment of the present disclosure provides a method for automatically measuring a multi-parameter monitor, comprising: collecting a display interface of the multi-parameter monitor to obtain a target image; performing character recognition on the target image to obtain M character areas including character frames; performing feature extraction on the M character areas respectively to obtain reference characters and angular coordinates corresponding to each of the M character areas; matching the reference characters corresponding to each of the M character areas with the names of indicators to be detected respectively, and determining a target area from the M character areas; determining deviation distances and deviation angles between a plurality of reference areas and the target area and reference area areas of the plurality of reference areas according to the angular coordinates corresponding to each of the M character areas; determining a detection value area from the plurality of reference areas according to the deviation distances and deviation angles between the plurality of reference areas and the target area and the reference area areas of the plurality of reference areas, and determining the reference characters included in the detection value area as reference indicator values.
[0039] Figure 1 An application scenario diagram of a method for automatically measuring a multi-parameter monitor according to an embodiment of the present disclosure is shown.
[0040] like Figure 1 As shown, the application scenario 100 according to this embodiment may 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 used to provide a medium for 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 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0041] The user can use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).
[0042] The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
[0043] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides support for websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.
[0044] It should be noted that the method for automatically measuring the multi-parameter monitor provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the device for automatically measuring the multi-parameter monitor provided in the embodiment of the present disclosure can generally be set in the server 105. The method for automatically measuring the multi-parameter monitor provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate 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 measuring the multi-parameter monitor provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate 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 embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0046] The following will be based on Figure 1 The scenario described is described in detail. The method for automatically measuring the multi-parameter monitor according to the embodiment of the present disclosure is described.
[0047] Figure 2 The flowchart of the method for automatically measuring a multi-parameter monitor according to an embodiment of the present disclosure is schematically shown.
[0048] like Figure 2 As shown, the method for automatically measuring a multi-parameter monitor includes operations S210 to S260.
[0049] In operation S210, when the multi-parameter monitor displays a reference index value corresponding to the standard index value based on an analog signal corresponding to the standard index value generated by the standard device, the display interface of the multi-parameter monitor is captured to obtain a target image.
[0050] According to an embodiment of the present disclosure, the standard index value represents the standard value corresponding to the index to be detected. For example, the index to be detected may 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 may be set to 60, 90, 120 or 160, etc.
[0051] According to an embodiment of the present disclosure, the analog signal corresponding to the standard index value generated by the standard device represents: a simulated signal of a vital sign corresponding to the standard index value.
[0052] According to an embodiment of the present disclosure, the reference index value represents monitoring index data generated by the multi-parameter monitor according to the analog signal.
[0053] According to an embodiment of the present disclosure, the display interface of the multi-parameter monitor can display multiple names of indicators to be detected and reference indicator values corresponding to the multiple names of indicators to be detected.
[0054] In operation S220, character recognition is performed on the target image to obtain M character regions including character frames, where M is a positive integer.
[0055] For example, OCR technology can be used to grayscale, binarize, segment characters, and perform other processing on the target image to achieve character recognition on the target image and obtain M character regions including character frames.
[0056] According to the embodiments of the present disclosure, M can be selected according to actual conditions and is not limited here. For example, M can be 10, 12, 15, 18 or 20, etc.
[0057] In operation S230, feature extraction is performed on the M character regions respectively to obtain reference characters and angular coordinates corresponding to each of the M character regions, wherein the angular coordinates represent coordinates corresponding to each corner of the character box.
[0058] For example, OCR technology may be used to extract features from each character region to obtain reference characters and corner coordinates corresponding to each character region.
[0059] According to an embodiment of the present disclosure, after obtaining the reference characters and angular coordinates corresponding to each of the M character regions, a JSON data object list can be constructed, and the reference characters and angular coordinates corresponding to each of the M character regions can be stored in the JSON data object list. The JSON data object list can include the rectangular four-corner coordinates (i.e., angular coordinates) of the character box corresponding to each character region and the recognized reference characters (including numerical values).
[0060] In operation S240, reference characters corresponding to the M character regions are matched with the names of the indicators to be detected, and a target region is determined from the M character regions.
[0061] According to an embodiment of the present disclosure, the target area may include the name of the indicator to be detected. For example, the target area may include the name of the indicator to be detected, such as ECG, NIBP, or SPO2.
[0062] According to an embodiment of the present disclosure, after obtaining reference characters corresponding to each of the M character areas from a JSON data object list, feature matching is performed on the reference characters corresponding to each of the M character areas and the names of the indicators to be detected, thereby determining the target area from the M character areas.
[0063] According to an embodiment of the present disclosure, for a multi-parameter monitor of any brand, the same name of the indicator to be detected may be displayed at multiple different locations on the display interface of the multi-parameter monitor. Therefore, if the same name of the indicator to be detected is displayed at multiple different locations on the display interface of the multi-parameter monitor, it indicates that the name of the indicator to be detected appears multiple times in the M character areas. At this time, it is necessary to match the reference characters corresponding to each of the M character areas with the name of the indicator to be detected, filter the matching results, and select the one with the largest character area as the target area.
[0064] In operation S250, the deviation distances and deviation angles between multiple reference areas and the target area and the reference area areas of the multiple reference areas are determined based on the angular coordinates corresponding to each of the M character areas, wherein the reference area represents the character area among the M character areas except for the character area where the reference character matches the name of the indicator to be detected.
[0065] According to an embodiment of the present disclosure, the JSON data object list can be traversed to obtain the angular coordinates corresponding to each character area from the JSON data object list, and the angular 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, the reference area area of each reference area is 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). For example, the reference area area of each reference area can be expressed 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 deviation angle between each reference area and the target area can also be calculated based on 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, a detection value region is determined from the plurality of reference regions according to deviation distances and deviation angles between the plurality of reference regions and the target region and reference region areas of the plurality of reference regions, and reference characters included in the detection value region are determined as reference index values.
[0069] According to an embodiment of the present disclosure, for each reference area, a weighted sum of the deviation distance, the deviation angle and the reference area area can be performed to obtain a weighted value corresponding to each reference area, and a detection value area can be determined from multiple reference areas based on the weighted values corresponding to the multiple reference areas.
[0070] According to the method of automatic measurement of 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, M character areas including character frames are obtained, feature extraction is performed on the M character areas respectively, reference characters and angular coordinates corresponding to each of the M character areas are obtained, the reference characters corresponding to each of the M character areas are matched with the names of the indicators to be detected respectively, and the technical means of determining the target area from the M character areas is realized to automatically determine the actual position of the name of the indicator to be detected on the display interface of the multi-parameter monitor. Then, according to the angular coordinates corresponding to each of the M character areas, the deviation distances and deviation angles between the multiple reference areas and the target area and the reference area areas of the multiple reference areas are determined respectively, according to the deviation distances and deviation angles between the multiple reference areas and the target area and the reference area areas of the multiple reference areas, the detection value area is determined from the multiple reference areas, and the reference characters included in the detection value area are determined as the technical means of the reference indicator value, so as to realize the automatic determination of the detection value area and the reference indicator value corresponding to the indicator to be detected from the multiple reference areas. Furthermore, it is possible to automatically determine the placement positions of multiple indicators to be detected on the display interfaces of multi-parameter monitors of different brands, automatically determine the positions and specific values of the values corresponding to the multiple indicators to be detected, thereby realizing automated detection of multi-parameter monitors of different brands and improving detection efficiency.
[0071] According to the embodiments of the present disclosure, Figure 2 The method for automatically measuring a multi-parameter monitor shown in the figure also includes: setting operating parameters corresponding to the standard device so that the standard device generates an analog signal corresponding to the standard indicator value included in the operating parameters according to the operating parameters, and sending the analog signal to the multi-parameter monitor, when the multi-parameter monitor displays the reference indicator value corresponding to the standard indicator value based on the analog signal generated by the standard device. Before obtaining the target image, the display interface of the multi-parameter monitor is collected.
[0072] According to an embodiment of the present disclosure, the operating parameters may include parameters for controlling the operation of the standard instrument and parameters for controlling the operation of the industrial camera.
[0073] For example, after starting the measurement, the parameters for controlling the operation of the standard device and the parameters for controlling the operation of the industrial camera can be set in the beat configuration module, and then the standard device control module can be used to set the operation parameters of the standard device based on the parameters set in the beat configuration module, such as continuously sending an ECG instruction of 30 to the standard device within 0-25 seconds, so that the standard device generates an analog signal corresponding to the standard index value of 30, and sends the analog signal to the multi-parameter monitor. Using the photo control module, based on the parameters set in the beat configuration module, the industrial camera continuously sends photo instructions to the industrial camera so that the industrial camera takes photos of the multi-parameter monitor screen.
[0074] According to the embodiments of the present disclosure, Figure 2 The operation S210 shown, when 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. It can include the following operations: according to a first predetermined time beat, the display interface of the multi-parameter monitor is continuously collected to obtain a first predetermined number of initial images; according to a second predetermined time beat, the first predetermined number of initial images are stored to obtain a target image.
[0075] According to the embodiments of the present disclosure, the first predetermined time beat, the second predetermined time beat and the first predetermined number can be selected according to the actual situation, and are not limited here. For example, for the detection index name ECG, the first predetermined time beat can be set to collect a frame of image every 1s, the second predetermined time beat can be collected at 0s, 25s, 30s, 45s, 60s, 70s, 80s, 90s, 100s, and a frame of image is collected, 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 measures 4 groups of data, each group is measured twice. The standard control module is used to set the operating parameters of the standard based on the parameters set in the beat configuration module: within 0-25 seconds, the ECG instruction of 60 is continuously sent to the standard, within 25-30 seconds, the ECG instruction of 60 is continuously sent to the standard, within 30-45 seconds, the ECG instruction of 90 is continuously sent to the standard, within 45-60 seconds, the ECG instruction of 90 is continuously sent to the standard, within 60-70 seconds, the ECG instruction of 120 is continuously sent to the standard, within 70-80 seconds, the ECG instruction of 120 is continuously sent to the standard, within 80-90 seconds, the ECG instruction of 160 is continuously sent to the standard, and within 90-100 seconds, the ECG instruction of 160 is continuously sent to the standard. The industrial camera can continuously capture the initial image according to the first predetermined time beat, and after capturing the next image, use the next image to cover and replace the previous image, and store the initial image according to the second predetermined time beat 0s, 25s, 45s, 60s, 70s, 80s, 90s, 100s to obtain the target image.
[0077] According to the embodiments of the present disclosure, after obtaining the target image, it can be displayed on the visual operation monitoring interface, and the image recognition module can be used to read the image taken by the industrial camera through the USB interface, and perform character and data analysis and reading, and match, to obtain the name and reference index value of the relevant measurement items, for example, ECG, 61. Then, according to the obtained name and reference index value of the relevant measurement items.
[0078] According to the embodiments of the present disclosure, Figure 2 The operation S240 shown, matching the reference characters corresponding to each of the M character areas with the name of the indicator to be detected, and determining the target area from the M character areas, may include the following operations: matching the reference characters corresponding to each of the M character areas with the name of the indicator to be detected, and obtaining at least one initial target area that matches the name of the indicator to be detected; determining the target area area corresponding to each of the at least one initial target area based on the angular coordinates corresponding to each of the at least one initial target area; determining the target area with the largest target area from the at least one initial target area based on the target area area corresponding to each of the at least one initial target area.
[0079] According to the embodiments of the present disclosure, since a multi-parameter monitor of any brand may display the same name of the indicator to be detected at multiple different positions on the display interface of the multi-parameter monitor, the display font of the name of the indicator to be detected that is actually needed is usually larger than others, and the target area corresponding to the name of the indicator to be detected that is actually needed is larger than others. Therefore, by determining the target area with the largest target area from at least one initial target area according to the target area area corresponding to each of the at least one initial target area, the target area corresponding to the name of the indicator to be detected that is actually needed can be obtained, so that when the name of the indicator to be detected appears multiple times on the display interface of the multi-parameter monitor, the actual position of the name of the indicator to be detected that is actually needed on the display interface of the multi-parameter monitor can be determined based on the maximum target area.
[0080] According to the embodiments of the present disclosure, Figure 2 The operation S250 shown, determining the deviation distances and deviation angles between multiple reference areas and the target area and the reference area areas of the multiple reference areas according to the angular coordinates corresponding to each of the M character areas, may include the following operations: determining the center coordinates corresponding to the multiple reference areas and the center coordinates corresponding to the target area according to the angular coordinates corresponding to each of the M character areas; determining the deviation distances and deviation angles between the multiple reference areas and the target area according to the center coordinates corresponding to the multiple reference areas and the center coordinates corresponding to the target area.
[0081] According to an embodiment of the present disclosure, the angular coordinates corresponding to multiple reference areas and the angular coordinates corresponding to the target area can be first determined from the angular coordinates corresponding to each of the M character areas, and then the central coordinates corresponding to the multiple reference areas and the central coordinates corresponding to the target area can be determined based on the angular coordinates corresponding to the multiple reference areas and the angular coordinates corresponding to the target area.
[0082] For example, the center coordinate CENTER corresponding to each of the multiple 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 figure schematically shows the character area obtained by the method for automatically measuring the multi-parameter monitor according to the embodiment of the present disclosure.
[0085] like Figure 3As shown, character area 301 includes the name of the indicator to be detected, ECG, and character area 302 includes the reference character 85. Character area 301 is the target area, and character area 302 is the reference area. According to formula (2), the center coordinates corresponding to each area in character area 301 and character area 302 can be calculated. For example, the center coordinate corresponding to character area 301 is A-CENTER, and the center coordinate corresponding to character area 302 is B-CENTER.
[0086] According to an embodiment of the present disclosure, for any reference area, the distance between the center coordinates of the reference area and the center coordinates of the target area can be calculated using the Euclidean distance formula to obtain the deviation distance between the reference area and the target area.
[0087] According to an embodiment of the present disclosure, for any reference area, the lateral distance along the x-axis between the center coordinates of the reference area and the center coordinates of the target area can be calculated, for example, the lateral distance = the lateral coordinate of the center coordinate of the reference area - the lateral coordinate of the center coordinate of the target area, and then the lateral distance is divided by the deviation distance, and the obtained ratio is processed 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 multiple reference areas and the angular coordinates corresponding to the target area, and then the deviation distances and deviation angles between the multiple reference areas and the target area are calculated according to the above calculation method to obtain a two-dimensional array of deviation distances and deviation angles. According to the two-dimensional data of deviation distances and deviation angles and the reference area areas corresponding to the multiple reference areas, a three-dimensional array of deviation distances, deviation angles and reference area areas can be obtained.
[0089] According to the embodiments of the present disclosure, Figure 2 The operation S260 shown, determining the detection value area from multiple reference areas based on the deviation distances and deviation angles between the multiple reference areas and the target area respectively and the reference area areas of the multiple reference areas, may include the following operations: normalizing the deviation distances and deviation angles between the multiple reference areas and the target area respectively and the reference area areas of the multiple reference areas to obtain the normalized deviation distances, normalized deviation angles and normalized reference area areas corresponding to each of the multiple reference areas; performing weighted summation of the normalized deviation distances, normalized deviation angles and normalized reference area areas corresponding to each reference area to obtain a weighted value; determining the detection value area from the multiple reference areas based on the weighted values corresponding to each of the multiple reference areas.
[0090] For example, the deviation distance, the deviation angle, and the reference area area may all be mapped to between 0 and 1. In the case where the larger the deviation distance, the larger the mapped value, the larger the deviation angle, the larger the mapped value, the larger the reference area area, and the smaller the mapped value, the reference area corresponding to the smallest weighted value among the multiple reference areas may be determined as the detection value area. In the case where the larger the deviation distance, the smaller the mapped value, the larger the deviation angle, the smaller the mapped value, the larger the reference area area, and the larger the mapped value, the reference area corresponding to the largest weighted value among the multiple reference areas may be determined as the detection value area.
[0091] Figure 4 A schematic diagram of a character area obtained by a method for automatically measuring a multi-parameter monitor according to another embodiment of the present disclosure is schematically shown.
[0092] like Figure 4 As shown, character area 401 includes the name of the indicator to be detected as ECG, character area 402 includes the reference character 85, and character area 403 includes the reference character 45. Character area 401 is the target area, and character area 402 and character area 403 are reference areas. Character area 402 is located at the lower right of character area 401, and character area 403 is located at the lower right of character area 401 and at the lower left of character area 402. The reference area area of character area 402 is larger than the reference area area of character area 403.
[0093] The center coordinate corresponding to the character area 401 is A-CENTER. The center coordinate corresponding to the character area 402 is B-CENTER, the deviation distance corresponding to the character area 402 is distance (AB), and the deviation angle corresponding to the character area 402 is angle (AB). The center coordinate corresponding to the character area 403 is C-CENTER, the deviation distance corresponding to the character area 403 is distance (AC), and the deviation angle corresponding to the character area 403 is angle (AC). Angle (AB) is smaller than angle (AC), and distance (AB) is smaller than distance (AC).
[0094] Depend on Figure 4It can be seen that if the distance to "ECG" is close, the deviation angle is in the range of 0-60 degrees, and the reference area is large, then the value is most likely to belong to the ECG value. Therefore, the distance (AB), angle (AB) and the reference area area of character area 402 can be weighted and summed to obtain the weighted value of character area 402, and the distance (AC), angle (AC) and the reference area area of character area 403 can be weighted and summed to obtain the weighted value of character area 403. In the case where the larger the deviation distance, the smaller the mapped value, the larger the deviation angle, the smaller the mapped value, the larger the reference area area, and the larger the mapped value, the weighted value of character area 402 is greater than the weighted value of character area 403, so character area 402 is determined as the detection value area. That is, it is determined that reference character 85 in character area 402 is related to ECG, and reference character 45 in character area 403 is not related to ECG.
[0095] According to an embodiment of the present disclosure, Figure 2 The method of automatically measuring the multi-parameter monitor in the present invention may also include: detecting multiple indicators to be detected simultaneously. For example, multiple data corresponding to electrocardiogram, blood oxygen, and blood pressure may be collected simultaneously.
[0096] According to an embodiment of the present disclosure, Figure 2 The method for automatically measuring a multi-parameter monitor may further include: when the difference between the reference index value and the standard index value exceeds a predetermined index range, reminding an operator to check and adjust the connection relationship between the detection devices.
[0097] According to an embodiment of the present disclosure, Figure 2 The method for automatically measuring multi-parameter monitors in the embodiment may further include: for a predetermined type of multi-parameter monitor, recording the position of the detection value area corresponding to the reference index value, so that when the predetermined type of multi-parameter monitor is automatically measured later, the reference index value is obtained based on the position of the detection value area corresponding to the reference index value. In this way, when the data distribution of a certain type of monitor has been confirmed, the reference index value can be directly called out next time according to the model, thereby speeding up the detection speed.
[0098] According to an embodiment of the present disclosure, Figure 2The method for automatically measuring a multi-parameter monitor in the present invention may also include: adding a ruler to the display interface of the multi-parameter monitor, and when the multi-parameter monitor displays a reference waveform corresponding to the standard waveform height value based on an analog signal corresponding to the standard waveform height value generated by a standard device, the display interface of the multi-parameter monitor is collected to obtain a target waveform image, wherein the target waveform image includes the standard scale value displayed by the ruler and the reference waveform displayed on 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; subtracting the reference waveform height value from the standard waveform height value, and when the obtained difference is within a preset height difference range, determining that the reference waveform displayed by the multi-parameter monitor meets the quality inspection requirements.
[0099] For example, a ruler can be added to a display corresponding to the display interface. After taking a photo, the height of the reference waveform displayed by the monitor can be indirectly measured by comparing the standard scale displayed on the ruler with the pixels of the distance scale. The height can be compared with the standard waveform height to determine whether the waveform displayed by the monitor meets the requirements.
[0100] According to an embodiment of the present disclosure, the standard waveform height value may be a height value of a waveform corresponding to a sine wave, a square wave, or a triangle wave.
[0101] According to the embodiments of the present disclosure, when it is determined that the reference waveform displayed by the multi-parameter monitor meets the quality inspection requirements, it can be determined that the multi-parameter monitor can accurately display the waveform corresponding to the detection value of the indicator to be detected.
[0102] According to an embodiment of the present disclosure, according to Figure 2 According to the method for automatically measuring a multi-parameter monitor, after obtaining the name of the indicator to be detected and the reference indicator value corresponding to the name of the indicator to be detected, the obtained name of the indicator to be detected and the reference indicator value corresponding to the name of the indicator to be detected can also be displayed.
[0103] According to an embodiment of the present disclosure, Figure 2 The method of automatic measurement of multi-parameter monitors shown can be based on the video shooting of industrial cameras and the control technology of human vital signs standard instruments. The multi-parameter monitor screen is photographed and the simulation parameters of the standard instrument are set according to a certain rhythm. Then, the collected monitor screen image is recognized and analyzed, and compared and recorded with the simulation parameters of the standard instrument matching the same period, forming a multi-parameter monitor measurement verification raw data report. At the same time, Figure 2 The operation of the method for automatically measuring the multi-parameter monitor shown does not depend on the communication protocol of the monitor manufacturer, but is completely based on visual technology and is applicable to the automated measurement of multi-parameter monitor products of all manufacturers.
[0104] It should be noted that, unless it is explicitly stated that there is a sequence of execution between different operations shown in the flowchart in the embodiments of the present disclosure, or there is a sequence of execution between different operations in technical implementation, otherwise, the execution order of multiple operations may not be prioritized, and multiple operations may also be executed simultaneously.
[0105] Figure 5 The system architecture diagram of the automatic metering multi-parameter monitor according to an embodiment of the present disclosure is schematically shown.
[0106] like Figure 5 As shown, the system 500 for automatically measuring a multi-parameter monitor includes an industrial camera 510 , a standard 520 , and digital measurement tool software 530 .
[0107] The digital metrology tool software 530 is used to set operating parameters corresponding to the standard device 520 and to set operating parameters corresponding to the industrial camera 510 .
[0108] The standard device 520 is used to generate an analog signal corresponding to the 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 communicate serially. The industrial camera 510 is used to collect the display interface of the multi-parameter monitor 501 based on the operating parameters set by the digital metrology tool software 530, when the multi-parameter monitor 501 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 520, and obtain the target image.
[0109] The digital metrology tool software 530 is also used to Figure 2 Operations S220 to S260 in the process process the target image, obtain the name of the indicator to be detected and the reference indicator value corresponding to the name of the indicator to be detected, and display the obtained name of the indicator to be detected and the reference indicator value corresponding to the name of the indicator to be detected.
[0110] Depend on Figure 5 It can be seen that the system of automatic measurement of multi-parameter monitors provided by the embodiments of the present disclosure utilizes technologies such as data transmission protocol information collection, machine vision, and intelligent character recognition (for example, OCR technology) to achieve real-time automatic control of the analog signal output of the measurement standard, and real-time automatic collection and automatic storage of the measurement data of the multi-parameter monitor. Compared with the traditional measurement field, the application of measurement digitalization technology in the calibration of multi-parameter monitors promotes the intelligent and digital transformation of measurement standards, ultimately reducing manual operations and improving work efficiency and quality.
[0111] Figure 6The structure block diagram of the automatic metering multi-parameter monitor according to the embodiment of the present disclosure is schematically shown.
[0112] like Figure 6 As shown, the device 600 for automatically measuring a multi-parameter monitor may include a rhythm configuration module 610 , a standard device control module 620 , a photographing control module 630 , an image recognition module 640 , a visual operation monitoring module 650 , and a measurement data processing report generation module 660 .
[0113] The beat configuration module 610 can be used to set the parameters for controlling the operation of the standard device and the parameters for controlling the operation of the industrial camera. The standard device control module 620 can be used to set the operating parameters of the standard device based on the parameters set in the beat configuration module 610, so that the standard device generates an analog signal corresponding to the standard index value included in the operating parameters according to the operating parameters, and sends the analog signal to the multi-parameter monitor. The photo control module 630 can be used to continuously send photo instructions to the industrial camera based on the parameters set in the beat configuration module, so that the industrial camera takes photos of the multi-parameter monitor screen.
[0114] The image recognition module 640 is used to read the image taken by the industrial camera through the USB interface, obtain the target image, and Figure 2 Operations S220 to S260 in the process process the target image to automatically obtain the name of the indicator to be detected and the reference indicator value corresponding to the name of the indicator to be detected.
[0115] The metrology data processing report generation module 660 is used to collect metrology parameter values identified at each stage, such as standard indicator values, names of indicators to be tested and reference indicator values, etc., fill in and calculate data according to the template required by the multi-parameter metrology regulations, and generate an original record sheet.
[0116] The visual operation monitoring module 650 can be used to interact with the client, so that the client sets various parameters in the beat configuration module 610 based on the visual operation monitoring module 650, and controls the metering data processing report generation module 660 to generate an original record sheet. The visual operation monitoring module 650 is also used to display the original record sheet.
[0117] According to an embodiment of the present disclosure, Figure 6 Any of the multiple modules included in the device 600 for automatically measuring a multi-parameter monitor can be combined into one module, or any of the modules can be split into multiple modules. Therefore, based on the above-mentioned method for automatically measuring a multi-parameter monitor, the present disclosure also provides a device for automatically measuring a multi-parameter monitor. Figure 7 The device is described in detail.
[0118] Figure 7A structural block diagram of an automatic metering multi-parameter monitor according to another embodiment of the present disclosure is shown.
[0119] like Figure 7 As shown, the automatic metering multi-parameter monitor device 700 of this embodiment may 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 .
[0120] The acquisition module 710 is used to acquire the display interface of the multi-parameter monitor to obtain the target image when 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. In one embodiment, the acquisition module 710 can be used to perform the operation S210 described above, which will not be repeated here.
[0121] The character recognition module 720 is used to perform character recognition on the target image to obtain M character regions including character frames, where M is a positive integer. In one embodiment, the character recognition module 720 can be used to perform the operation S220 described above, which will not be described in detail here.
[0122] The feature extraction module 730 is used to extract features from the M character regions respectively, and obtain reference characters and angular coordinates corresponding to each of the M character regions, wherein the angular coordinates represent the coordinates corresponding to each corner of the character box. In one embodiment, the feature extraction module 730 can be used to perform the operation S230 described above, which will not be repeated here.
[0123] The matching module 740 is used to match the reference characters corresponding to the M character regions with the names of the indicators to be detected, and determine the target region from the M character regions. In one embodiment, the matching module 740 can be used to perform the operation S240 described above, which will not be described in detail here.
[0124] The first determination module 750 is used to determine the deviation distances and deviation angles between the multiple reference areas and the target area and the reference area areas of the multiple reference areas according to the angular coordinates corresponding to the M character areas, wherein the reference area represents the character area of the M character areas except the character area where the reference character matches the name of the indicator to be detected. In one embodiment, the first determination module 750 can be used to perform the operation S250 described above, which will not be repeated here.
[0125] The second determination module 760 is used to determine the detection value area from the multiple reference areas according to the deviation distances and deviation angles between the multiple reference areas and the target area and the reference area areas of the multiple reference areas, and determine the reference characters included in the detection value area as the reference indicator value. In one embodiment, the second determination module 760 can be used to perform the operation S260 described above, which will not be repeated here.
[0126] According to an embodiment of the present disclosure, any multiple modules of the acquisition module 710, the character recognition module 720, the feature extraction module 730, the matching module 740, the first determination module 750, and the second determination module 760 can be combined in one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions 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 determination module 750, and the second determination 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 a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation modes of software, hardware, and firmware or in a suitable 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 determination module 750 and the second determination module 760 can be at least partially implemented as a computer program module, and when the computer program module is executed, the corresponding function can be performed.
[0127] Figure 8 The block diagram schematically shows an electronic device suitable for implementing the method of automatically measuring a multi-parameter monitor according to an embodiment of the present disclosure.
[0128] like Figure 8As shown, the electronic device 800 according to an embodiment of the present disclosure includes a processor 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage part 808 to a random access memory (RAM) 803. The processor 801 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a dedicated microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 801 may also include an onboard memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0129] In RAM 803, various programs and data required for the operation of electronic device 800 are stored. Processor 801, ROM 802 and RAM 803 are connected to each other via bus 804. Processor 801 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 802 and / or RAM 803. It should be noted that the program can also be stored in one or more memories other than ROM 802 and RAM 803. Processor 801 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0130] According to an embodiment of the present disclosure, the electronic device 800 may further include an input / output (I / O) interface 805, which is also connected to the bus 804. The system 800 may further include one or more of the following components connected to the input / output (I / O) interface 805: an input portion 806 including a keyboard, a mouse, etc.; an output portion 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 808 including a hard disk, etc.; and a communication portion 809 including a network interface card such as a LAN card, a modem, etc. The communication portion 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 needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed, so that the computer program read therefrom is installed into the storage portion 808 as needed.
[0131] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 809, and / or installed from the removable medium 811. When the computer program is executed by the processor 801, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.
[0132] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0133] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include, but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device.
[0134] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may 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] An embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method provided by the embodiment of the present disclosure. When the computer program product is run on an electronic device, the program code is used to enable the electronic device to implement the method of the automatic metering multi-parameter monitor provided by the embodiment of the present disclosure.
[0136] When the computer program is executed by the processor 801, the above functions defined in the system / device of the embodiment of the present disclosure are executed. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0137] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 809, and / or installed from a removable medium 811. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0138] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0139] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0140] It will be appreciated by those skilled in the art that the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations or combinations are not explicitly described in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0141] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is limited by the various embodiments and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A method for automatically measuring a multi-parameter monitor, comprising: When the multi-parameter monitor displays a reference index value corresponding to the standard index value based on an 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; Performing character recognition on the target image to obtain M character regions including character frames, where M is a positive integer; Performing feature extraction on the M character regions respectively to obtain reference characters and angular coordinates corresponding to the M character regions respectively, wherein the angular coordinates represent coordinates corresponding to each corner of the character frame; Matching the reference characters corresponding to the M character regions respectively with the names of the indicators to be detected, and determining the target region from the M character regions; Determine, according to the angular coordinates corresponding to each of the M character regions, the deviation distances and deviation angles between the multiple reference regions and the target region, and the reference region areas of the multiple reference regions, wherein the reference regions represent the character regions of the M character regions except the character regions where the reference characters match the name of the indicator to be detected; According to the deviation distances and deviation angles between the multiple reference areas and the target area respectively and the reference area areas of the multiple reference areas, a detection value area is determined from the multiple reference areas, and the reference characters included in the detection value area are determined as the reference indicator values.
2. The method according to claim 1, wherein: The step of determining the deviation distances and deviation angles between the plurality of reference areas and the target area and the reference area areas of the plurality of reference areas according to the angular coordinates corresponding to the M character areas respectively comprises: Determining the center coordinates corresponding to the plurality of reference areas and the center coordinates corresponding to the target area according to the angular coordinates corresponding to the M character areas respectively; Determine the deviation distances and deviation angles between the plurality of reference areas and the target area according to the center coordinates corresponding to the plurality of reference areas and the center coordinates corresponding to the target area.
3. The method according to claim 1 or 2, wherein: The step of matching the reference characters corresponding to the M character regions with the names of the indicators to be detected respectively, and determining the target region from the M character regions comprises: Matching the reference characters corresponding to the M character regions with the names of the indicators to be detected, respectively, to obtain at least one initial target region matching the name of the indicator to be detected; Determining the target area corresponding to each of the at least one initial target areas according to the angular coordinates corresponding to each of the at least one initial target areas; According to the target area areas respectively corresponding to the at least one initial target area, a target area with the largest target area is determined from the at least one initial target area.
4. The method according to claim 3, wherein: Determining the detection value area from the multiple reference areas according to the deviation distances and deviation angles between the multiple reference areas and the target area and the reference area areas of the multiple reference areas comprises: Normalizing the deviation distances and deviation angles between the multiple reference areas and the target area and the reference area areas of the multiple reference areas to obtain normalized deviation distances, normalized deviation angles and normalized reference area areas corresponding to the multiple reference areas respectively; Performing weighted summation on the normalized deviation distance, the normalized deviation angle, and the normalized reference area area corresponding to each reference area to obtain a weighted value; A detection value region is determined from among the plurality of reference regions according to the weight values corresponding to the respective reference regions.
5. The method according to claim 1 or 2, wherein: When 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 the target image, which includes: Continuously collecting the display interface of the multi-parameter monitor according to a first predetermined time rhythm to obtain a first predetermined number of initial images; The first predetermined number of initial images are stored according to a second predetermined time rhythm to obtain the target image.
6. The method according to claim 1 or 2, wherein: In the case where 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, before collecting the display interface of the multi-parameter monitor to obtain the target image, the method further includes: The operating parameters corresponding to the standard device are set so that the standard device generates an analog signal corresponding to the standard index value included in the operating parameters according to the operating parameters, and sends the analog signal to the multi-parameter monitor.
7. A device for automatically measuring a multi-parameter monitor, comprising: An acquisition module, used for acquiring a 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 an analog signal corresponding to the standard index value generated by a standard device; A character recognition module, used for performing character recognition on the target image to obtain M character regions including character frames, where M is a positive integer; A feature extraction module, used for performing feature extraction on the M character regions respectively, to obtain reference characters and angular coordinates corresponding to the M character regions respectively, wherein the angular coordinates represent coordinates corresponding to each corner of the character frame; A matching module, used for matching the reference characters corresponding to the M character regions with the names of the indicators to be detected, and determining the target region from the M character regions; A first determination module is used to determine the deviation distances and deviation angles between a plurality of reference areas and the target area and the reference area areas of the plurality of reference areas according to the angular coordinates corresponding to the respective M character areas, wherein the reference area represents the character area of the M character areas except the character area where the reference character matches the name of the indicator to be detected; The second determination module is used to determine the detection value area from the multiple reference areas according to the deviation distances and deviation angles between the multiple reference areas and the target area respectively and the reference area areas of the multiple reference areas, and determine the reference characters included in the detection value area as the reference indicator value.
8. An electronic device comprising: one or more processors; a memory for storing 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 instruction stored thereon, wherein: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product comprising a computer program or instructions, wherein: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
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
Parameter identification method and system for non-contact converter station workstation equipment
CN112183194A
Character recognition method and device, electronic equipment and storage medium
CN114387588A