A method, system, and storage medium for storing detection data for research and development instruments
By using image recognition and database entry technologies, the system automatically collects and classifies experimental instrument screen data, solving the problem of data recognition difficulties caused by the large number of instrument models and achieving efficient data storage and automatic correction.
Patent Information
- Application Number
- CN202211190121.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-28
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2042-09-28
AI Technical Summary
In the process of pharmaceutical research and development, there are many models of experimental instruments and a lack of a unified database, which makes it impossible to automatically identify and store the test data on the instrument screen. This requires manual comparison of images, which wastes time.
By acquiring instrument model information, capturing images of the screen area, performing image recognition, identifying screen positions, recognizing and recording them into the database, and storing instrument model, screen area shape, measurement data layout, and measurement unit information.
It enables automatic acquisition and classification of screen data from various experimental instruments, establishes a database, supports subsequent automatic identification and correction, and reduces manual intervention.
Smart Images

Figure CN115757389B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of information technology, and in particular to a method, system, and storage medium for storing detection data in research and development instruments. Background Technology
[0002] In pharmaceutical research and development, a large number of instruments and equipment are used. During experiments, researchers need to record the data displayed on the instrument screens into an experimental data record document after each instrument test. This document records the test data from various instruments at different times, during different testing procedures, or throughout the experiment. To ensure the traceability and verifiability of the test data, it is also necessary to take pictures of the instrument screens displaying the test data and upload them to the experimental data record document for comparison during quality control. However, currently, due to the large number of different models of experimental instruments, there is no unified database to store the identification information of various instruments. Therefore, even if image analysis algorithms can identify the numbers in the instrument screen images, it is impossible to determine which measurement parameter of the corresponding instrument those numbers correspond to. Consequently, manual comparison of images still has to be performed during quality control, wasting valuable time. Summary of the Invention
[0003] This invention addresses the shortcomings of existing technologies by providing a method for storing detection data in research and development instruments, comprising the following steps:
[0004] S1, obtain the input instrument model information and collect an instrument image of the screen area containing the displayed data;
[0005] S2, perform image recognition on the instrument image to identify the screen location area to be analyzed in the instrument image;
[0006] S3. Identify and classify the numbers, texts and / or letters in the image area marked as the screen location and record the position of each type of content in the screen area. After binding the identified information with the corresponding instrument model, enter it into the instrument information database. The instrument information database stores one or more pieces of information, including the instrument model, the shape of the screen area bound to each instrument model, measurement data layout information, measurement unit, or measurement unit conversion relationship group.
[0007] Preferably, the measurement data layout information includes one or more of the following: the position of the digital feature area on the screen, the position of the text feature area on the screen, or the position of the letter feature area on the screen.
[0008] Preferably, step S2 specifically includes:
[0009] S21, identify the closed region formed by pixels with color difference values less than a threshold in the instrument image;
[0010] S22, Analyze the edge shape of the closed area. If the edge shape meets the preset graphic conditions, then the closed area is determined to be a screen area.
[0011] Preferably, step S2 further includes:
[0012] S23, analyze whether there is a pattern with a different color difference from the edge of the identified screen area. If there is no pattern with a different color difference, abandon the identification of the area and send supplementary photo information.
[0013] Preferably, step S3 includes:
[0014] S31, segment the regions containing different display features in the image region identified as the screen location;
[0015] S32 performs content recognition and classification on each display feature area, obtains the position information of the digital feature area on the screen and the position information of the text or letter feature area on the screen, and binds them with the corresponding instrument model and enters them into the instrument information database.
[0016] S33 identifies the displayed information within the text or letter area, and then records the identified text or letter information as a unit of measurement, bound to the corresponding instrument model, and enters it into the instrument information database.
[0017] Preferably, step S32 includes:
[0018] If the spacing between multiple display feature regions is greater than the spacing between other display features, then the display feature regions that are closer to each other will be grouped together.
[0019] If the first display feature group contains both numerical features and text / letter features, it is treated as a measurement data display block. The shape of the display block, its position on the screen, and the text / letter information it contains are bound to the instrument model and recorded as a set of measurement data layout information for that instrument model in the instrument information database.
[0020] If the first display feature group contains only multiple digital features and some of the digital features are arranged vertically, then the first display feature group is divided into multiple vertically arranged digital display blocks, and it is checked whether a second display feature group exists.
[0021] If there is no second display feature group, the shape of each display block and its position on the screen will be bound to the instrument model and then entered into the instrument information database as the layout information of multiple sets of measurement data for that instrument model.
[0022] If a second display feature group exists, determine whether the second display feature group only contains text / letter features. If so, the second display feature group is also vertically divided into multiple text / letter display blocks arranged vertically. The number display blocks are then merged with the corresponding text / letter display blocks from top to bottom to form a measurement data display block. The shape of each display block, its position on the screen, and the text / letter information it contains are bound to the instrument model and recorded as a set of measurement data layout information for that instrument model in the instrument information database.
[0023] This invention also discloses a data storage system for testing instruments used in research and development, comprising: an information acquisition module for acquiring input instrument model information and collecting instrument images of screen areas containing display data; an identification module for performing image recognition on the instrument images and identifying the screen location areas to be analyzed in the instrument images; and a database entry module for identifying and classifying the numbers, text, and / or letters in the image areas identified as screen locations and recording the position of each type of content in the screen area, binding the identified information with the corresponding instrument model, and entering it into an instrument information database. The instrument information database stores one or more pieces of information, including the instrument model, the shape of the screen area bound to each instrument model, measurement data layout information, unit of measurement, or unit of measurement conversion relationship group.
[0024] Preferably, the measurement data layout information includes one or more of the following: the position of the digital feature area on the screen, the position of the text feature area on the screen, or the position of the letter feature area on the screen.
[0025] The present invention also discloses a detection data storage device for research and development instruments, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of any of the methods described above.
[0026] The present invention also discloses a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of any of the methods described above.
[0027] This invention discloses a method, system, and storage medium for storing detection data in research and development instruments. By performing image recognition on instrument images, the system identifies the screen regions to be analyzed within the instrument images. It then identifies and categorizes the numerical, textual, and / or alphabetic information within these screen regions, recording the position of each type of content within the screen region. The identified information is then bound to the corresponding instrument model and entered into an instrument information database. This database establishes an instrument information database containing various information such as the instrument model, the shape of the screen region bound to each instrument model, measurement data layout information, units of measurement, and unit conversion relationships. This enables the acquisition and classification of data from numerous types of experimental instruments and various measurement data display methods with different UI layouts on instrument screens. It completes the classification and acquisition of screen recognition information for numerous types of experimental instruments, providing database support for subsequent functions such as direct recognition and correction based on screen image information.
[0028] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0029] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0030] Figure 1 This is a schematic flowchart of a detection data storage method for research and development instruments, as disclosed in one embodiment.
[0031] Figure 2 This is a schematic diagram of the specific process of step S2 disclosed in one embodiment.
[0032] Figure 3 This is a schematic diagram of the specific process of step S3 disclosed in one embodiment.
[0033] Figure 4 This is a schematic diagram of the specific process of step S32 disclosed in one embodiment.
[0034] Figure 5 The following is a detailed flowchart of step S32 disclosed in another embodiment. Detailed Implementation
[0035] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the described embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0036] In this invention, unless otherwise expressly specified and limited, the technical or scientific terms used herein shall have the ordinary meaning understood by one of ordinary skill in the art to which this invention pertains. The terms "first," "second," and similar terms used in the specification and claims of this patent application do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Similarly, the terms "an" or "a," and similar terms, do not indicate a quantity limitation, but rather indicate the presence of at least one.
[0037] This embodiment discloses a method for storing detection data in research and development instruments, used to identify, acquire, and record the display screen characteristic information of various experimental instruments into a storage database, as shown in the attached figure. Figure 1 As shown, the method may include the following steps.
[0038] Step S1: Obtain the input instrument model information and capture an image of the instrument in the screen area containing the displayed data.
[0039] The computer can send a shooting command to the mobile device to capture an image of the instrument. The mobile device then takes a picture of the instrument screen after the test is completed and sends the image information containing the captured area of the instrument screen back to the computer. It is crucial to capture a picture of the instrument screen corresponding to the completed test; only then will the test data be displayed on the screen. If a picture is taken of the instrument screen when it is powered off or in standby mode, the resulting image will lack the display features of measurement parameters or units of measurement, making it impossible to identify and analyze the information on the screen in subsequent steps.
[0040] Step S2: Perform image recognition on the instrument image to identify the screen location area to be analyzed within the instrument image. (See attached image.) Figure 2 As shown, this step may specifically include the following:
[0041] Step S21: Identify the closed region formed by pixels with color difference values less than a threshold in the instrument image.
[0042] Step S22: Analyze the edge shape of the closed region. If the edge shape meets the preset graphic conditions, the closed region is determined to be a screen region. In instrument images, the display screen is often a closed region. Even if there is displayed data in the middle, its transition edge is still a closed region. Therefore, the screen region in the image can be searched by identifying the closed region.
[0043] In one specific embodiment, step S2 may further include:
[0044] Step S23: Analyze whether there is a pattern with a different color difference from the edge of the identified screen area. If no pattern with a different color difference is found, the identification of that area is abandoned and supplementary image information is sent. Specifically, if there is no pattern with a different color difference in the screen area of the identified screen area, that is, no other features are displayed on the screen, it indicates that the experimental instrument on which the screen is located has not been turned on, resulting in no display data on the screen, or the identified area is not the real screen area, that is, the image was captured incorrectly. In this case, supplementary image information needs to be sent to obtain a new instrument image of the screen area containing display data.
[0045] In another embodiment, after identifying no different color difference patterns in the screen area of the screen region, a prompt is issued to confirm whether the instrument model and screen are correct. After obtaining the screen area information of the recorded instrument model, a prompt is issued to ask the instrument screen to take a picture again; until a pattern with a different color difference from the edge of the area is identified in the image.
[0046] Step S3: Identify and classify the numbers, text and / or letters in the image area marked as the screen location, and record the position of each type of content in the screen area. After binding the identified information with the corresponding instrument model, enter it into the instrument information database. The instrument information database stores one or more pieces of information, including the instrument model, the shape of the screen area bound to each instrument model, measurement data layout information, unit of measurement, or unit of measurement conversion relationship group.
[0047] In this embodiment, the measurement data layout information includes one or more of the following: the position of the digital feature area on the screen, the position of the text feature area on the screen, or the position of the letter feature area on the screen. The digital feature area refers to the area occupied by the measurement result number displayed on the screen after the instrument completes the test. This area can be the largest rectangular area that can enclose the number. Its position on the screen can be the relative position of this rectangular area within the screen area, the relative coordinates of each vertex of the rectangular area with respect to a reference point on the screen, or other positional information. Of course, the screen reference point can be preset, such as selecting the lower right corner of the screen area, and the relative position of the feature area within the screen area can be obtained by calculating the relative coordinates of each vertex of the feature area with respect to the reference point. The text feature refers to the corresponding unit of measurement of the measurement parameter displayed on the screen after the test is completed, such as milligrams or grams on an electronic balance. Since the text feature area is the area occupied by the unit of measurement, this area can also be the largest rectangular area that can enclose the text, and its position on the screen can be the relative position of this rectangular area within the screen area. On other experimental instruments, the units of measurement are often displayed in letters, such as kg and g. Therefore, it is necessary to obtain these letter feature areas on the instrument screen and calculate the position of the letter feature areas on the screen.
[0048] In this embodiment, as shown in the appendix Figure 3 As shown, step S3 may also include the following:
[0049] Step S31: Divide the regions containing different display features in the image region identified as the screen location.
[0050] Step S32: Perform content recognition and classification on each display feature area to obtain the position information of the digital feature area and the position information of the text or letter feature area on the screen, and then bind them with the corresponding instrument model and enter them into the instrument information database.
[0051] When the instrument can measure multiple sets of parameters with different meanings, it will display multiple sets of measurement parameters and their units of measurement on its screen. Therefore, in the content recognition and classification of each display feature area, it is necessary to identify each measurement parameter and its corresponding unit of measurement and bind them together. The digital feature area representing the measurement parameter can be paired with the non-digital feature area representing the unit of measurement to form a measurement data group. Finally, multiple measurement data groups are formed by combining the identified measurement parameters and their corresponding units of measurement within the screen area. The non-digital feature areas and digital feature areas of each measurement data group are combined into a measurement data display block, and the shape and position of the measurement data display block on the screen are entered into the instrument information database. In other words, when multiple measurement parameters and their corresponding units of measurement are arranged horizontally on the instrument display screen, the areas containing the measurement parameters and their units of measurement are combined into a measurement data display block, and the shape and position of the measurement data display block on the screen are entered into the instrument information database for subsequent parameter recognition and comparison.
[0052] In this embodiment, as shown in the appendix Figure 4 As shown, step S32 includes:
[0053] Step S321: If there are multiple display feature areas with a spacing greater than the spacing of other display features, then the display feature areas that are closer to each other are grouped together into a measurement data display block.
[0054] Step S322: If there are numeric features and text / letter features in the first display feature group, then treat it as a measurement data display block. Bind the shape of the display block, its position on the screen, and the text / letter information it contains to the instrument model and record it as a set of measurement data layout information for that instrument model into the instrument information database.
[0055] Step S323: If the first display feature group contains only multiple digital features and some of the digital features are arranged vertically, then the first display feature group is divided into multiple vertically arranged digital display blocks, and it is checked whether a second display feature group exists.
[0056] Step S324: If there is no second display feature group, the shape of each display block and its position on the screen are bound to the instrument model and then entered into the instrument information database as the layout information of multiple sets of measurement data for that instrument model.
[0057] Step S325: If a second display feature group exists, determine whether the second display feature group only contains text / letter features. If so, the second display feature group is also vertically divided into multiple text / letter display blocks arranged vertically. The number display blocks are merged with the corresponding text / letter display blocks from top to bottom to form a measurement data display block. The shape of each display block, its position on the screen, and the text / letter information it contains are bound to the instrument model and recorded as a set of measurement data layout information for that instrument model in the instrument information database.
[0058] The above steps can effectively identify and classify various layouts of multiple measurement parameters and units of measurement in the screen display area, such as horizontal and vertical arrangement. The area where the corresponding parameters and units of measurement are located can be treated as a whole measurement data display block, and the information on the shape and position on the screen can be obtained and entered to facilitate subsequent data identification and analysis.
[0059] Step S33: Identify the displayed information within the text or letter area, and then bind the identified text or letter information as a unit of measurement with the corresponding instrument model and enter it into the instrument information database.
[0060] In another embodiment, as shown in the appendix Figure 5 As shown, step S3 may also include the following steps.
[0061] Step S101: Divide the regions containing different display features in the image region identified as the screen location.
[0062] Step S102 involves content recognition and classification for each display feature area. If only numeric feature areas exist in the screen image area, they are divided into multiple measurement data display blocks based on the spacing and / or arrangement of these numeric feature areas, and measurement unit input commands are issued sequentially. Specifically, the distance between the recognized numeric numbers can be used to determine whether they represent the same measurement parameter. When the numeric numbers are arranged vertically, the two sets of numeric numbers are assigned to different measurement parameters.
[0063] Step S103: Bind the corresponding measurement data display blocks according to the entered measurement units, and enter the shape of the display block, its position on the screen, the bound measurement units, and the corresponding instrument model as a set of measurement data layout information for the instrument model into the instrument information database.
[0064] In this embodiment, the unit conversion relationship group information of each instrument model can also be supplemented in the instrument information database according to the stored measurement units and other conversion units that may appear on the various display screens. This includes the conversion relationships between each convertible unit and the conversion relationships between units, which facilitates the identification and conversion of the measurement units on the screen in the future.
[0065] This invention discloses a data storage method for testing instruments used in research and development. By performing image recognition on instrument images, the method identifies the screen regions to be analyzed within the images. It then identifies and categorizes the numerical, textual, and / or alphabetic information within these screen regions, recording the position of each type of content within the screen region. The identified information is then bound to the corresponding instrument model and entered into an instrument information database. This database contains various information, including the instrument model, the shape of the screen region associated with each instrument model, measurement data layout information, units of measurement, and unit conversion relationships. This method enables data acquisition and classification for numerous types of experimental instruments and various measurement data display methods with different UI layouts on instrument screens. It categorizes and acquires screen recognition information for a wide variety of experimental instruments, providing database support for subsequent functions such as direct recognition and correction based on screen image information.
[0066] In another embodiment, a detection data storage system for research and development instruments is also disclosed, comprising: an information acquisition module for acquiring input instrument model information and capturing an instrument image of a screen area containing display data; an identification module for performing image recognition on the instrument image and identifying the screen location area to be analyzed in the instrument image; and a database entry module for identifying and classifying the numerical, textual, and / or alphabetic information in the image area identified as a screen location and recording the position of each type of content in the screen area, binding the identified information with the corresponding instrument model, and entering it into an instrument information database. The instrument information database stores one or more of the following information: instrument model, screen area shape bound to each instrument model, measurement data layout information, unit of measurement, or unit of measurement conversion relationship group. The measurement data layout information includes one or more of the following: the position of a numerical feature area on the screen, the position of a textual feature area on the screen, or the position of an alphabetic feature area on the screen.
[0067] The specific functions of the above-described detection data storage system for R&D instruments correspond one-to-one with the detection data storage methods for R&D instruments disclosed in the preceding embodiments. Therefore, they will not be described in detail here. For details, please refer to the various embodiments of the detection data storage methods for R&D instruments disclosed above. It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to mutually.
[0068] In other embodiments, a detection data storage device for a research and development instrument is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the detection data storage method for a research and development instrument as described in the above embodiments.
[0069] The data storage device for the testing instruments used in the research and development may include, but is not limited to, a processor and a memory. The server may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that the schematic diagram is merely an example of a server and does not constitute a limitation on the server device. It may include more or fewer components than illustrated, or combine certain components, or different components. For example, the server device may also include input / output devices, network access devices, buses, etc.
[0070] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the server device, connecting various parts of the server device via various interfaces and lines.
[0071] The memory can be used to store the computer programs and / or modules. The processor implements various functions of the server device by running or executing the computer programs and / or modules stored in the memory and by calling data stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function, etc. In addition, the memory may include high-speed random access memory and non-volatile memory, such as hard disk, RAM, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0072] If the detection data storage method for the research and development instrument is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electrical carrier signals and telecommunication signals.
[0073] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
[0074] In summary, the above description is only a preferred embodiment of the present invention. All equivalent changes and modifications made within the scope of the claims of the present invention should be covered by the present invention.
Claims
1. A method for storing detection data in research and development instruments, characterized in that, The method comprises the following steps: S1, obtaining input instrument model information, collecting instrument pictures containing screen areas with display data; S2, performing image recognition on the instrument pictures to identify screen position areas required for analysis in the instrument pictures; S3, identifying and classifying the digital, character and / or letter information in the image areas identified as screen positions and recording the positions of the types of content in the screen areas, binding the identified information to corresponding instrument models and recording in an instrument information database, wherein the instrument information database stores instrument models and one or more of screen area shapes, measurement data layout information, measurement units or measurement unit conversion relationship groups bound to the instrument models; the step S3 comprises: S31, dividing the areas with different display features in the image areas identified as screen positions; S32, respectively identifying and classifying the contents of the display feature areas, obtaining the screen position information of the digital feature areas and the screen position information of the character or letter feature areas, and recording in the instrument information database after binding to corresponding instrument models; If there are multiple display feature areas with a distance greater than that of other display features, the display feature areas with a closer distance are grouped; If there are digital features and character / letter features in the first display feature group, they are taken as a measurement data display block, and the display block shape, the position information of the display block in the screen and the contained character / letter information are bound to the instrument model and recorded in the instrument information database as a group of measurement data layout information of the instrument model; If there are only multiple digital features in the first display feature group and some of the digital features are arranged longitudinally, the first display feature group is divided into multiple vertically arranged digital display blocks, and it is determined whether there is a second display feature group; If there is no second display feature group, the shapes of the display blocks and the position information of the display blocks in the screen are bound to the instrument model and recorded in the instrument information database as multiple groups of measurement data layout information of the instrument model; If there is a second display feature group, it is determined whether the second display feature group only contains character / letter features, if so, the second display feature group is also divided into multiple vertically arranged character / letter display blocks, and the digital display blocks are sequentially combined with the corresponding character / letter display blocks from top to bottom to form a measurement data display block, and the shapes of the display blocks, the position information of the display blocks in the screen and the contained character / letter information are bound to the instrument model and recorded in the instrument information database as a group of measurement data layout information of the instrument model; S33, identifying the display information in the character or letter area, and recording the identified character or letter information as a measurement unit in the instrument information database after binding to the corresponding instrument model.
2. The method for storing test data of a research and development instrument according to claim 1, characterized by, The measurement data layout information comprises one or more of the positions of the digital feature areas in the screen, the positions of the character feature areas in the screen or the positions of the letter feature areas in the screen.
3. The method for storing test data of a research instrument according to claim 2, wherein, The step S2 specifically comprises: S21, identifying a closed area formed by pixels with a color difference value less than a threshold in the instrument picture; S22, analyze the edge shape of the closed region, if the edge shape meets the preset pattern condition, the closed region is judged as a screen region.
4. The method for storing test data of a research instrument according to claim 3, wherein, The step S2 further comprises: S23, analyze whether there is a pattern with different color difference from the region edge in the identified screen region, if there is no pattern with different color difference, the identification of the region is abandoned and supplementary shooting information is issued.
5. A detection data storage system for a research instrument, comprising: Comprise: An information acquisition module, configured to acquire input instrument model information and collect an instrument picture of a screen region containing display data; An identification module, configured to perform image recognition on the instrument picture to identify a screen position region required for analysis in the instrument picture; The database entry module is used for identifying and classifying the digital, character and / or letter information in the image area identified as the screen position, recording the occupied position of each type of content in the screen area, entering the identified information into the instrument information database after binding the information with the corresponding instrument model, and storing the instrument model, the screen area shape, the measurement data layout information, the measurement unit, or one or more information in the measurement unit conversion relationship group in the instrument information database; cutting the area where different display features in the image area identified as the screen position; respectively identifying and classifying the contents of each display feature area, obtaining the screen position information of the digital feature area and the screen position information of the character or letter feature area, and entering the information into the instrument information database after binding the information with the corresponding instrument model; if there are multiple display feature areas with a distance greater than that of other display features, the display feature areas with a relatively close distance are grouped; if there are digital features and character / letter features in the first display feature group, the first display feature group is taken as a measurement data display block, and the display block shape, the occupied position information of the display block in the screen, and the contained character / letter information are entered into the instrument information database as a group of measurement data layout information of the instrument model after binding the information with the instrument model; if there are only multiple digital features in the first display feature group and part of the digital features are arranged longitudinally, the first display feature group is cut into multiple digital display blocks arranged in an up-down manner, and it is determined whether there is a second display feature group; if there is no second display feature group, the shape of each display block and the occupied position information of the display block in the screen are entered into the instrument information database as multiple groups of measurement data layout information of the instrument model after binding the information with the instrument model; if there is a second display feature group, it is determined whether the second display feature group only has character / letter features, if yes, the second display feature group is also cut into multiple character / letter display blocks arranged in an up-down manner in a longitudinal direction, and the digital display blocks and the corresponding character / letter display blocks are merged from top to bottom to form a measurement data display block, and the shape of each display block, the occupied position information of the display block in the screen, and the contained character / letter information are entered into the instrument information database as a group of measurement data layout information of the instrument model after binding the information with the instrument model; the display information in the character or letter area is identified, and the identified character or letter information is entered into the instrument information database as the measurement unit after binding the information with the corresponding instrument model.
6. The detection data storage system for a research instrument of claim 5, wherein, The measurement data layout information includes one or more of the digital feature area in the screen, the character feature area in the screen, or the letter feature area in the screen.
7. A detection data storage device for a research instrument, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: The computer program is executed by the processor to implement the steps of the method of any one of claims 1-4.
8. A computer-readable storage medium, the computer-readable storage medium storing a computer program, characterized in that: The computer program is executed by the processor to implement the steps of the method of any one of claims 1-4.
Citation Information
Patent Citations
Image recognition meter reading system and method
CN103955694A
Intelligent recognition system and method for dynamic region in screen
CN108460344A
Domestic health instrument digital reading identification method and device
CN114267043A