Debugging method of blood card interpretoscope and blood card interpretoscope
By automatically adjusting the hardware and software parameters of the imaging components in the blood card reader, the problem of inconsistent debugging results among different inspectors is solved, ensuring the consistency of image quality and the accuracy of interpretation results.
Patent Information
- Application Number
- CN202510720429.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-30
- Publication Date
- 2025-09-12
AI Technical Summary
During the debugging process, the existing blood card reader relies on the human eye to identify the clarity of the image, resulting in inconsistent debugging results among different inspectors, affecting the accuracy of the reading results.
By setting the imaging component on the blood card reader, the image data of the test blood card is obtained, and the hardware and software parameters of the imaging component are automatically adjusted according to the preset reading conditions until the image data meets the reading conditions, including adjusting the lens focal length, aperture, imaging parallelism and three primary color parameters, etc., to ensure the consistency of image quality.
The accuracy and consistency of blood card reading results are achieved, debugging differences caused by human factors are reduced, and the reliability and efficiency of debugging results are improved.
Smart Images

Figure CN120636742A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of blood card readers, and in particular to a debugging method of a blood card reader and a blood card reader. Background Art
[0002] Currently available blood card reader products all obtain images of the blood card by taking photos, and then analyze and process the images to obtain the reading results.
[0003] The debugging of existing blood card readers relies on the naked eye identification of image clarity by the inspectors, which is highly influenced by subjective factors. The images taken by products debugged by different inspectors will still have certain differences. As a result, when the same blood card to be tested is photographed and interpreted on different readers, the output results will be inconsistent, affecting the accuracy of the interpretation results. Summary of the Invention
[0004] Based on this, it is necessary to provide a debugging method for a blood card reader and a blood card reader that can improve the accuracy of blood card reading results in response to the above technical problems.
[0005] In a first aspect, the present application provides a debugging method for a blood card reader, wherein the blood card reader includes an imaging component; the method comprises:
[0006] Placing the test blood card in a preset position of the blood card reader;
[0007] Utilizing the imaging component, acquiring image data of the test blood card;
[0008] If the image data does not meet the preset interpretation conditions, adjusting the hardware and software parameters of the imaging component according to the image data; wherein the hardware and software parameters include at least one of hardware parameters and software parameters; the hardware parameters are used to represent the spatial relationship between the imaging component and the test blood card; and the software parameters are used to represent the image processing performance of the imaging component;
[0009] The adjusted imaging component is used to perform the step of obtaining the image data of the test blood card again until the image data of the test blood card meets the preset interpretation condition.
[0010] In one embodiment, the imaging assembly includes at least a camera, and the camera includes a focus adjustment structure and a first locking structure connected to each other;
[0011] The hardware parameters include the focal length of the camera lens, and the preset judgment condition includes whether the modulation transfer function value of the image data satisfies a preset clarity range. Wherein, when the image data does not satisfy the preset judgment condition, adjusting the hardware and software parameters of the imaging component according to the image data includes:
[0012] When the modulation transfer function value of the image data does not meet a preset clarity range, adjusting the positioning position of the focus adjustment structure according to the modulation transfer function value of the image data to adjust the focal length of the camera lens;
[0013] The method further includes: fixing the focus adjustment structure using the first locking structure when the modulation transfer function value of the image data meets a preset clarity range.
[0014] In one embodiment, the test blood card includes a first reference point and a second reference point arranged relative to each other in a first direction and symmetrically along the central axis of the test blood card; the software parameters include imaging parallelism, and the preset interpretation condition further includes that the absolute value of the difference between the coordinate position of the first reference point in the second direction and the coordinate position of the second reference point in the second direction is less than or equal to a preset coordinate difference threshold; and the first direction is perpendicular to the second direction;
[0015] When the image data does not meet the preset interpretation conditions, adjusting the software and hardware parameters of the imaging component according to the image data includes:
[0016] When the absolute value of the difference between the coordinate position of the first reference point in the second direction and the coordinate position of the second reference point in the second direction in the image data is greater than a preset coordinate difference threshold, the image data is corrected according to a preset image processing algorithm based on the coordinate position of the first reference point in the second direction and the coordinate position of the second reference point in the second direction.
[0017] In one embodiment, the software parameters include three primary color parameters, and the preset interpretation condition further includes the three primary color parameters in the first target area of the image data reaching three primary color reference values;
[0018] When the image data does not meet the preset interpretation conditions, adjusting the software and hardware parameters of the imaging component according to the image data includes:
[0019] selecting a first target area in the image data, the first target area corresponding to a white area in the test blood card;
[0020] When the three primary color parameters in the first target area do not meet the three primary color reference values, the three primary color parameters in the first target area are adjusted until the three primary color parameters in the first target area reach the three primary color reference values.
[0021] In one embodiment, the software parameters include three primary color parameters, and the preset interpretation condition further includes the three primary color parameters in the second target area of the image data reaching the three primary color target values;
[0022] When the image data does not meet the preset interpretation conditions, adjusting the software and hardware parameters of the imaging component according to the image data includes:
[0023] selecting a second target area in the image data, wherein the second target area corresponds to a microcolumn area in the test blood card;
[0024] When the three primary color parameters in the second target area do not meet the three primary color target values, the three primary color parameters in the second target area are adjusted until the three primary color parameters in the second target area reach the three primary color target values.
[0025] In one embodiment, the imaging assembly includes at least a camera, the camera includes an aperture adjustment structure and a second locking structure connected to each other, and the hardware parameter includes an aperture of the camera; the method further includes:
[0026] Adjusting the aperture adjustment structure so that the aperture size of the imaging component meets a preset aperture threshold;
[0027] When the aperture size of the imaging component meets a preset aperture threshold, the aperture adjustment structure is fixed by using the second locking structure.
[0028] In one embodiment, the blood card reader further includes a base, a shell, and a blood card positioning structure. The imaging assembly is located in the space enclosed by the base and the shell. The blood card positioning structure is located on a side surface of the shell opposite to the base and is slidably connected to the shell. The test blood card is suitable for being inserted into the space enclosed by the base and the shell through the blood card positioning structure.
[0029] The method further comprises:
[0030] In the case that the image of the test blood card in the image data is incomplete or the image of the test blood card is not located at the center of the overall image, the positional relationship between the blood card positioning structure and the shell is adjusted so that the image of the test blood card is complete and located at the center of the overall image.
[0031] In one embodiment, the blood card reader further comprises a base, and the imaging assembly comprises a camera and a camera bracket;
[0032] Wherein, the camera bracket is fixedly connected to the base through a fixing threaded hole, and the camera is fixedly connected to the camera bracket through the fixing threaded hole.
[0033] In one embodiment, the method further comprises:
[0034] When the image data of the test blood card meets the preset interpretation conditions, the software parameters of the imaging component are derived, and other blood card readers are debugged according to the software parameters.
[0035] In a second aspect, the present application provides a blood card reader, which is debugged and produced based on the debugging method of the blood card reader described in any of the above embodiments.
[0036] The debugging method and blood card reader of the above-mentioned blood card reader place the test blood card at a preset position of the blood card reader, use the imaging component to capture image data of the test blood card, and adjust the hardware parameters and software parameters of the imaging component until the image data of the test blood card captured by the imaging component meets the preset interpretation conditions. By using a set of quantifiable preset interpretation conditions to debug the imaging component during the production process of the blood card reader, the problem of inconsistent results due to subjective judgments of different personnel can be avoided, the consistency of the debugging results can be improved, and the accuracy of the blood card interpretation results can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments of the present application or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying any creative work.
[0038] Figure 1 1 is a flow chart of a method for debugging a blood card reader according to an embodiment;
[0039] Figure 2 This is a schematic diagram of the structure of a blood test card in one embodiment;
[0040] Figure 3 A schematic diagram of the structure of a microcolumn in a test blood card in one embodiment;
[0041] Figure 4 Schematic diagram of the process of step S103 in one embodiment;
[0042] Figure 5 is a flow chart of step S103 in another embodiment;
[0043] Figure 6 1 is a flow chart of a debugging method of a blood card reader in another embodiment;
[0044] Figure 7 Schematic diagram of the structure of a blood card reader (housing not shown) in one embodiment;
[0045] Figure 8 This is a schematic structural diagram of a housing in a blood card reader according to one embodiment;
[0046] Figure 9 This is a schematic diagram of the structure of a blood card reader (housing not shown) in a top view according to one embodiment;
[0047] Figure 10 This is an exploded view of the structure of a blood card reader (housing not shown) in another embodiment.
[0048] Explanation of the accompanying drawings: 10-imaging component, 11-camera, 12-camera bracket, 20-base, 30-blood card positioning structure, 200-test blood card, 201-microcolumn, 2011-sample adding section, 2012-reaction section, 2013-separation section, 202-central axis, 203-first reference point, 204-second reference point. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0050] In an exemplary embodiment, see Figure 1 The present application provides a debugging method for a blood card reader, which includes an imaging component; the method includes steps S101 to S104.
[0051] S101: Place the test blood card at a preset position on the blood card reader.
[0052] It can be understood that when debugging the blood card reader, a test blood card needs to be placed in a preset position of the blood card reader. The preset position refers to the card slot in the blood card reader for placing the blood card.
[0053] S102: Using an imaging component, obtain image data of the blood card.
[0054] The blood card reader may also have a sensor component. When it detects that a test blood card is placed in the card slot, it can drive the imaging component to take a picture of the test blood card to obtain image data of the test blood card.
[0055] S103: When the image data does not meet the preset interpretation conditions, the hardware and software parameters of the imaging component are adjusted according to the image data; wherein the hardware and software parameters include at least one of hardware parameters and software parameters; the hardware parameters are used to represent the spatial relationship between the imaging component and the blood card; the software parameters are used to represent the image processing performance of the imaging component.
[0056] In this embodiment, in order to improve the accuracy of the interpretation results, a set of quantifiable preset interpretation conditions can be pre-set. After obtaining the image data of the test blood card, it is determined whether the image data of the test blood card meets the preset interpretation conditions. If the image data does not meet the preset interpretation conditions, the hardware parameters and / or software parameters of the imaging component are adjusted to make the image data meet the preset interpretation conditions.
[0057] S104: Using the adjusted imaging component, the step of acquiring the image data of the test blood card is performed again until the image data of the test blood card meets the preset interpretation conditions.
[0058] After the adjustment of the imaging component is completed, the image data of the test blood card can be obtained again through the adjusted imaging component to determine whether the image data of the test blood card meets the preset judgment conditions. If the image data meets the preset judgment conditions, it means that the blood card reader is successfully debugged; if the image data still does not meet the preset judgment conditions, continue to adjust the hardware parameters and / or software parameters of the imaging component until the image data of the test blood card captured by the imaging component meets the preset judgment conditions.
[0059] The debugging method of the above-mentioned blood card reader is to place the test blood card in a preset position of the blood card reader, use the imaging component to capture image data of the test blood card, and adjust the hardware parameters and software parameters of the imaging component until the image data of the test blood card captured by the imaging component meets the preset interpretation conditions. By using a set of quantifiable preset interpretation conditions to debug the imaging component during the production process of the blood card reader, the problem of inconsistent results due to subjective judgments of different personnel can be avoided, the consistency of the debugging results can be improved, and the accuracy of the blood card interpretation results can be improved.
[0060] In an exemplary embodiment, the imaging component includes at least a camera, which includes a focus adjustment structure and a first locking structure connected to each other; the hardware parameters include the focal length of the camera lens, and the preset judgment conditions include the modulation transfer function value of the image data satisfying a preset clarity range.
[0061] Step S103, when the image data does not meet the preset interpretation conditions, the software and hardware parameters of the imaging component are adjusted according to the image data, including the step of adjusting the positioning position of the focus adjustment structure according to the modulation transfer function value of the image data when the modulation transfer function value of the image data does not meet the preset clarity range, and adjusting the focal length of the camera lens.
[0062] The debugging method of the present application further includes: when the modulation transfer function value of the image data meets a preset clarity range, the step of fixing the focus adjustment structure using a first locking structure.
[0063] In one example, the blood card reader used has its own camera software, and the blood card reader can have a display component to display the blood card image taken by the imaging component in real time; or, the blood card reader can be connected to a host computer, and the host computer has a display screen to display the blood card image taken by the imaging component in real time.
[0064] In the application, relevant technicians can see the images captured by the imaging component in real time. Through the camera software that comes with the blood card reader, relevant technicians can observe the MTF (Modulation Transfer Function) value displayed in real time by the camera software. The MTF value is one of the key parameters for measuring the imaging performance of an optical system. It mathematically expresses the system's ability to transmit details of different spatial frequencies. A high MTF value means that the system can clearly transmit more detail information, while a low MTF value indicates that the loss of detail is more serious. Therefore, the MTF value is indispensable in evaluating the performance of imaging devices such as camera lenses and display screens. In this application, the clarity of the captured image data is judged with the help of the MTF value displayed in real time by the camera software. In an example, the optimal MTF value of the image data can be between 0.65 and 0.75. For example, the optimal MTF value of the image data can be 0.7.
[0065] When the imaging component photographs the test blood card, if the MTF value displayed by the camera software is not the optimal MTF value, the relevant technicians can change the focal length of the camera lens through the focus adjustment structure of the camera to adjust the MTF value of the image data. For example, the focus adjustment structure can be a focus adjustment ring provided by the camera. The relevant technicians can change the focal length of the camera lens by rotating the focus adjustment ring, thereby changing the MTF value displayed in real time by the camera software. When the MTF value displayed in real time by the camera software is the optimal MTF value of the image data, the relevant technicians can stop rotating the focus adjustment ring and fix the position of the focus adjustment structure through the first locking structure, so that the focal length of the camera lens is fixed, thereby fixing the MTF value of the image data captured by the camera.
[0066] Through the debugging method of the present application, the clarity of images taken by the blood card reader produced using the debugging method of the present application can be guaranteed to be consistent, thereby improving the accuracy of the blood card reading results.
[0067] In an exemplary embodiment, the test blood card includes a first reference point and a second reference point arranged relative to each other in a first direction; the software parameters include imaging parallelism, and the preset judgment conditions also include that the absolute value of the difference between the coordinate position of the first reference point in the second direction and the coordinate position of the second reference point in the second direction is less than or equal to a preset coordinate difference threshold; the first direction is perpendicular to the second direction.
[0068] Step S103, when the image data does not meet the preset interpretation conditions, the software and hardware parameters of the imaging component are adjusted according to the image data, including the step of correcting the image data according to a preset image processing algorithm based on the coordinate position of the first reference point in the second direction and the coordinate position of the second reference point in the second direction when the absolute value of the difference between the coordinate position of the first reference point in the second direction and the coordinate position of the second reference point in the second direction in the image data is greater than a preset coordinate difference threshold.
[0069] In the application, see Figure 2 and Figure 3 The test blood card involved in the present application can be a microcolumn gel card, which includes a plurality of microcolumns 201 arranged side by side along a first direction, the first direction being the X-axis direction shown in the figure, and the second direction being the Y-axis direction shown in the figure. The microcolumn 201 can be composed of a sample addition section 2011, a reaction section 2012, and a separation section 2013. The microcolumn gel card can have a first reference point 203 and a second reference point 204 symmetrically arranged along the central axis 202 of the microcolumn gel card. In one example, the first reference point 203 and the second reference point 204 are respectively Figure 2 There are two gaps framed by the dotted circle.
[0070] Similarly, relevant technicians can see the image captured by the imaging component in real time, and use the XY coordinates or frame coordinates provided by the camera software to find the coordinate positions of the first reference point and the second reference point of the test blood card in the second direction. In one example, if the absolute value of the deviation of the coordinate positions of the first reference point and the second reference point in the second direction is less than or equal to 10, it means that the parallelism of the blood card is within the specified range; if the absolute value of the deviation of the coordinate positions of the first reference point and the second reference point in the second direction exceeds 10, it means that the captured blood card image is tilted, and the image data can be corrected by a preset image processing algorithm. For example, the captured blood card image can be rotated to obtain a blood card image that meets the requirements.
[0071] Through the debugging method of the present application, it can be ensured that the parallelism of the blood card images taken by the blood card reader produced by the debugging method of the present application is within the specified range, thereby improving the accuracy of the blood card reading results.
[0072] In an exemplary embodiment, the software parameters include three primary color parameters, and the preset interpretation condition further includes the three primary color parameters in the first target area in the image data reaching the three primary color reference values;
[0073] See also Figure 4 , step S103, when the image data does not meet the preset interpretation conditions, adjusting the software and hardware parameters of the imaging component according to the image data, including step S401 and step S402.
[0074] Step S401: Select a first target area in the image data, where the first target area corresponds to the white area in the test blood card.
[0075] Relevant technicians can see the images captured by the imaging component in real time, and use the mouse or the algorithm provided by the camera software to select the white area in the image data.
[0076] Step S402 : When the three primary color parameters in the first target area do not meet the three primary color reference values, adjust the three primary color parameters in the first target area until the three primary color parameters in the first target area reach the three primary color reference values.
[0077] In the application, the camera software comes with a built-in white balance button, which allows relevant technicians to eliminate color casts in images captured by the imaging component to ensure color consistency. In one example, the three primary color parameters of the white area in the selected image data are "R=245, G=255, B=230", indicating that the image is yellowish. The camera's white balance parameters can then be adjusted using the white balance button in the camera software to correct the three primary color parameters of the white area until the three primary color parameters in the first target area stabilize at the three primary color reference values of "R=255, G=255, B=255".
[0078] Through the debugging method of the present application, it can be ensured that the three primary color parameters of the white area of the image captured by the blood card reader produced by the debugging method of the present application are all "R=255, G=255, B=255", thereby eliminating color deviation, ensuring color consistency, and thus improving the accuracy of the blood card reading results.
[0079] In an exemplary embodiment, the software parameters include three primary color parameters, and the preset interpretation condition further includes the three primary color parameters in the second target area in the image data reaching the three primary color target values;
[0080] See also Figure 5, step S103, when the image data does not meet the preset interpretation conditions, adjusting the software and hardware parameters of the imaging component according to the image data, including step S501 and step S502.
[0081] S501: Select a second target area in the image data, where the second target area corresponds to a microcolumn area in the test blood card.
[0082] As described in the above example, the test blood card used in this application can be a microcolumn gel card. The test blood card includes multiple microcolumns 201 arranged side by side, and each microcolumn contains gel. When used, the red blood cells of the sample to be tested are diluted with physiological saline to form a red blood cell suspension, which is added to each microcolumn respectively. After centrifugation, the test blood card is read using a blood card reader.
[0083] Since the actual object to be monitored when the blood card reader interprets the test blood card is red red blood cells, relevant technicians can use a mouse or the algorithm provided by the camera software to select the microcolumn area in the image data, that is, the second target area.
[0084] S502 : When the three primary color parameters in the second target area do not meet the three primary color target values, adjust the three primary color parameters in the second target area until the three primary color parameters in the second target area reach the three primary color target values.
[0085] After selecting the second target area, relevant technicians can use the three primary color parameters displayed in real time by the software to adjust camera parameters, such as white balance and exposure, so that the displayed three primary color parameters reach the specified three primary color target values. For example, the three primary color target values can be "R: 148.00-165.00, median 156.00; G: 0.00-1.00, median 0.00; B: 0.00-1.00, median 0.00". In this way, the red channel in the image can be dominant, and the green / blue channels have almost no interference, which is helpful for detecting red blood cells in the microcolumns.
[0086] Through the debugging method of the present application, it is possible to ensure that the images captured by the blood card reader produced using the debugging method of the present application are subjected to efficient and standardized color quality control, thereby improving the accuracy of the blood card reading results.
[0087] In an exemplary embodiment, the imaging assembly includes at least a camera, the camera includes an aperture adjustment structure and a second locking structure connected to each other, and the hardware parameters include the aperture of the camera; see Figure 6 , the method also includes step S601 and step S602.
[0088] S601: Adjusting the aperture adjustment structure so that the aperture size of the imaging component meets a preset aperture threshold.
[0089] In the present application, in order to perform quantitative and standardized debugging of the blood card reader, the amount of light entering the camera of each blood card reader can also be controlled to be consistent. Specifically, relevant technicians can adjust the aperture of the camera by adjusting the aperture adjustment structure on the camera to adjust the size of the camera's aperture, thereby controlling the amount of light entering the camera. In one example, the aperture adjustment structure can be an aperture adjustment ring on the camera. Relevant technicians can change the aperture of the camera by rotating the aperture adjustment ring. For example, the aperture adjustment ring can be rotated so that the indicator on the aperture adjustment ring is located at the number 4, thereby fixing the aperture of the camera to f / 4.
[0090] S602: When the aperture size of the imaging component meets a preset aperture threshold, the aperture adjustment structure is fixed by using a second locking structure.
[0091] Afterwards, the aperture adjustment structure can be secured using a second locking structure on the camera to prevent the aperture from changing due to vibration or accidental touch. In one example, the second locking structure can be a locking valve, specifically a screw or buckle on the camera that is used to prevent accidental aperture changes.
[0092] Through the debugging method of the present application, it can be ensured that the blood card reader produced using the debugging method of the present application has the same amount of light when taking images, avoiding inconsistent image brightness due to aperture differences, thereby improving the accuracy of blood card reading results.
[0093] In an exemplary embodiment, see Figure 7 and Figure 8 The blood card reader also includes a base 20, a shell 40 and a blood card positioning structure 30. When the base 20 and the shell 40 are connected, the imaging component 10 is located in the space enclosed by the base 20 and the shell 40. The blood card positioning structure 30 is located on the side surface of the shell 40 opposite to the base and is slidably connected to the shell 40. The test blood card 200 is suitable for being inserted into the space enclosed by the base 20 and the shell 40 through the blood card positioning structure 30.
[0094] The debugging method of the present application also includes: when the image of the test blood card in the image data is incomplete or the image of the test blood card is not located at the center of the overall image, the step of adjusting the positional relationship between the blood card positioning structure and the shell so that the image of the test blood card is complete and the image of the test blood card is located at the center of the overall image.
[0095] In practice, to simplify the image analysis process when the test blood card is subsequently used with the reader, the position of the blood card positioning structure 30 can be adjusted during the debugging phase to ensure that the test blood card is always centered in the camera's field of view and displayed completely, avoiding positional deviation. Furthermore, to ensure that the image of the test blood card is complete and located at the center of the overall image, the position of the blood card positioning structure 30 is fixed to ensure that the test blood card is always centered in the camera's field of view and displayed completely when the reader is subsequently used to interpret the test blood card.
[0096] Through the debugging method of the present application, it can be ensured that when a blood card image is taken by a blood card reader produced using the debugging method of the present application, the position and posture of the blood card in the camera field of view are consistent, thereby improving the accuracy of the blood card reading results.
[0097] In an exemplary embodiment, please refer to Figure 7 The blood card reader further includes a base 20, and the imaging assembly includes a camera 11 and a camera bracket 12. The camera bracket 12 is fixedly connected to the base 20 through a fixed threaded hole, and the camera 11 is fixedly connected to the camera bracket 12 through a fixed threaded hole.
[0098] In this embodiment, in order to improve the accuracy of the blood card reading results, the present application also ensures in advance the uniqueness of the position of the camera in the blood card reader. Specifically, in this application, the camera 11 is fixed to the camera bracket 12 through a fixed threaded hole, and the camera bracket 12 is connected to the base 20 of the blood card reader through a fixed threaded hole, avoiding the differences caused by the use of U-shaped holes for fixing the blood card reader in the related art.
[0099] In an exemplary embodiment, the debugging method of the present application also includes: when the image data of the test blood card meets the preset interpretation conditions, exporting the software parameters of the imaging component, and debugging other blood card readers according to the software parameters.
[0100] In order to improve the efficiency of debugging the blood card reader in the application, the software parameters of the camera in the debugged blood card reader can be saved by exporting the configuration file, and the exported software parameters can be imported into other cameras that have not been debugged for use.
[0101] For a detailed example, see Figures 7 to 10 The structure of the blood card reader used in this application can be as follows Figures 7 to 10 shown.
[0102] In this example, the blood card reader may include an imaging assembly 10, a base 20, a blood card positioning structure 30, and a housing 40. The imaging assembly 10 includes a camera 11 and a camera bracket 12. The camera 11 has an aperture adjustment ring, a focus adjustment ring, and a first locking valve and a second locking valve connected to the aperture adjustment ring and the focus adjustment ring, respectively. The camera bracket 12 is connected to the base 20 via a fixed threaded hole, and the camera 11 is connected to the camera bracket 12 via a fixed threaded hole to ensure the unique position of the camera 11 in the blood card reader.
[0103] Afterwards, the aperture size is adjusted to a preset aperture threshold by rotating the aperture adjustment ring of the camera 11. For example, the aperture adjustment ring is rotated so that the indicator on the aperture adjustment ring is located at the number 4, and the first locking valve on the aperture adjustment ring is locked to fix the aperture size of the camera at f / 4.
[0104] Then, the test blood card 200 can be inserted into the blood card positioning structure 30 on the housing 40, and the camera software can be opened at the same time. With the help of the MTF value displayed in real time by the software, the focus adjustment ring of the camera can be adjusted, and the MTF value displayed in real time by the software can be observed until the MTF value is adjusted to reach the optimal MTF value, which can be between 0.65 and 0.75. Then, the second locking valve on the focus adjustment ring is locked to fix the focus position, thereby ensuring a certain clarity for each camera.
[0105] Afterwards, observe whether the test blood card is in the center position in the camera's field of view and is fully displayed. If the test blood card is not in the center position in the camera's field of view or is not fully displayed, adjust the positional relationship between the blood card positioning structure 30 and the shell 40 so that the test blood card can be fully displayed in the software interface without deviation up, down, left, or right, and ensure that the test blood card is in the center position. In this way, it can be ensured that the position of the blood card photographed by each camera is fixed in the camera's field of view.
[0106] Afterwards, the XY coordinates or frame-selected coordinates provided by the camera software are used to find the coordinate positions of the first reference point 203 and the second reference point 204 of the test blood card in the second direction. If the absolute value of the deviation of the coordinate positions of the first reference point 203 and the second reference point 204 in the second direction is greater than the preset coordinate difference threshold, the image data can be corrected. For example, the captured blood card image can be rotated so that the absolute value of the deviation of the coordinate positions of the first reference point 203 and the second reference point 204 in the second direction is less than or equal to the preset coordinate difference threshold to ensure that the parallelism of the blood card is within the specified range.
[0107] Afterwards, relevant technicians can select the first target area in the image data, that is, the white area, and by debugging the "white balance" button on the camera software, stabilize the three primary color parameters in the first target area at the three primary color reference values of "R=255, G=255, B=255". This ensures that the white balance of each camera is consistent, thereby eliminating color cast and ensuring color consistency.
[0108] Afterwards, relevant technicians can select the second target area in the image data, namely the micro-column area, and use the three primary color parameters displayed in real time by the software to stabilize the three primary color parameters in the second target area at the three primary color target values of "R: 148.00-165.00, median 156.00; G: 0.00-1.00, median 0.00; B: 0.00-1.00, median 0.00". In this way, the color of the pictures taken by each camera can be guaranteed to be constant.
[0109] After the above debugging of the blood card reader, since each item of debugging has corresponding requirements and standards, such as camera fixation, aperture adjustment, focus adjustment, center position, and white balance, there are corresponding debugging methods and standards. Therefore, the debugging method of this application can reduce the differences caused by subjective debugging, and ensure that each blood card reader produced by the debugging method of this application has the same output results when reading the same blood card, thereby improving the accuracy of the reading results.
[0110] Moreover, the debugging method in this application establishes standards for digital debugging. With the help of the real-time acquisition function of the camera software during the debugging process, the numerical values (such as MTF value, three primary color parameters, etc.) are displayed on the host computer display interface, which is convenient for relevant technical personnel to view in real time. Debugging and calibration are carried out according to identifiable, readable and viewable digital indicators, thereby improving the standardization, accuracy and operability of debugging.
[0111] In application, using the debugging method of this application to debug the blood card reader helps to improve the standardization of debugging operations: quantitative standard debugging replaces traditional subjective thinking debugging, providing operators with visual, quantifiable and clear instructions. Operators only need to debug according to operating requirements and standards to complete debugging and calibration work, avoiding differences in debugging due to the subjectivity of operators, and also avoiding operational errors, so that debugging work can be carried out according to prescribed standards; the entire calibration and debugging involves multiple projects, and quantifiable and standardized debugging makes the entire debugging process closely connected. Each link has corresponding inspection and debugging standards, further avoiding the further amplification of operational misjudgments due to subjective judgments, improving efficiency, and reducing errors.
[0112] Debugging the blood card reader using the debugging method of this application can also help improve the efficiency of debugging and testing: the visual and quantifiable debugging method in this application can avoid debates on inconsistent results due to subjective judgments of different operators, improve the consistency and uniformity of debugging, and the camera software automatically displays debugging data in real time, which can improve recognition rate and efficiency.
[0113] Using the debugging method of the present application to debug the blood card reader can also help improve the accuracy, authenticity and traceability of the records: the camera software automatically displays the debugging data in real time, replacing the traditional subjective judgment, making the debugging more authentic; the camera software is used to display the debugging data in real time, and can also take photos and screenshots, export configuration parameters, etc., to further improve the authenticity of the debugging data and make the debugging more traceable; further, the debugging data and results in the present application can be saved, exported, and imported. Even if the data debugging results are deleted, they can be restored using the backup, making the debugging more secure.
[0114] Using the debugging method of the present application to debug the blood card reader can also reduce the skill requirements for the operator: the traditional debugging method requires the operator to have a high level of skills, as well as an understanding and familiarity with the equipment to perform debugging and calibration. The current visual and quantitative debugging method and detailed operation SOP guidance allow the operator to debug and calibrate the reader in accordance with the specification requirements; and since the software parameters of the blood card reader debugged in the present application can be exported, by importing the software parameters of the debugged blood card reader into the blood card reader that has not been debugged, operator errors can be further avoided.
[0115] Using the debugging method of this application to debug the blood card reader can also improve the thinking of the operator: due to the reduced debugging requirements and the shortened debugging and calibration time, the operator can be given more thinking space and thinking methods, and the space for innovation can be increased. At the same time, the operator's sense of identity, experience and satisfaction with the work can also be improved.
[0116] In an exemplary embodiment, the present application provides a blood card reader, which is debugged and produced based on the debugging method of the blood card reader in any of the above embodiments.
[0117] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0118] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile memory and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), a programmable logic unit (PLC), a data processing logic unit based on quantum computing, an artificial intelligence (AI) processor, and the like.
[0119] The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0120] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. A method for debugging a blood card reader, characterized in that: The blood card reader includes an imaging component; the method includes: Placing the test blood card in a preset position of the blood card reader; Utilizing the imaging component, acquiring image data of the test blood card; If the image data does not meet the preset interpretation conditions, adjusting the hardware and software parameters of the imaging component according to the image data; wherein the hardware and software parameters include at least one of hardware parameters and software parameters; the hardware parameters are used to represent the spatial relationship between the imaging component and the test blood card; and the software parameters are used to represent the image processing performance of the imaging component; The adjusted imaging component is used to perform the step of obtaining the image data of the test blood card again until the image data of the test blood card meets the preset interpretation condition.
2. The debugging method of the blood card reader according to claim 1, characterized in that: The imaging assembly comprises at least a camera, wherein the camera comprises a focus adjustment structure and a first locking structure connected to each other; The hardware parameters include the focal length of the camera lens, and the preset judgment condition includes whether the modulation transfer function value of the image data satisfies a preset clarity range. Wherein, when the image data does not satisfy the preset judgment condition, adjusting the hardware and software parameters of the imaging component according to the image data includes: When the modulation transfer function value of the image data does not meet a preset clarity range, adjusting the positioning position of the focus adjustment structure according to the modulation transfer function value of the image data to adjust the focal length of the camera lens; The method further includes: fixing the focus adjustment structure using the first locking structure when the modulation transfer function value of the image data meets a preset clarity range.
3. The debugging method of the blood card reader according to claim 1, characterized in that: The test blood card includes a first reference point and a second reference point arranged relative to each other in a first direction and symmetrically along the central axis of the test blood card; the software parameters include imaging parallelism, and the preset interpretation condition also includes that the absolute value of the difference between the coordinate position of the first reference point in the second direction and the coordinate position of the second reference point in the second direction is less than or equal to a preset coordinate difference threshold; the first direction is perpendicular to the second direction; When the image data does not meet the preset interpretation conditions, adjusting the software and hardware parameters of the imaging component according to the image data includes: When the absolute value of the difference between the coordinate position of the first reference point in the second direction and the coordinate position of the second reference point in the second direction in the image data is greater than a preset coordinate difference threshold, the image data is corrected according to a preset image processing algorithm based on the coordinate position of the first reference point in the second direction and the coordinate position of the second reference point in the second direction.
4. The debugging method of the blood card reader according to claim 1, characterized in that: The software parameters include three primary color parameters, and the preset interpretation condition further includes the three primary color parameters in the first target area of the image data reaching the three primary color reference values; When the image data does not meet the preset interpretation conditions, adjusting the software and hardware parameters of the imaging component according to the image data includes: selecting a first target area in the image data, the first target area corresponding to a white area in the test blood card; When the three primary color parameters in the first target area do not meet the three primary color reference values, the three primary color parameters in the first target area are adjusted until the three primary color parameters in the first target area reach the three primary color reference values.
5. The debugging method of the blood card reader according to claim 1, characterized in that: The software parameters include three primary color parameters, and the preset interpretation condition further includes the three primary color parameters in the second target area of the image data reaching the three primary color target values; When the image data does not meet the preset interpretation conditions, adjusting the software and hardware parameters of the imaging component according to the image data includes: selecting a second target area in the image data, wherein the second target area corresponds to a microcolumn area in the test blood card; When the three primary color parameters in the second target area do not meet the three primary color target values, the three primary color parameters in the second target area are adjusted until the three primary color parameters in the second target area reach the three primary color target values.
6. The debugging method of the blood card reader according to claim 1, characterized in that: The imaging assembly includes at least a camera, the camera includes an aperture adjustment structure and a second locking structure connected to each other, and the hardware parameters include the aperture of the camera; the method further includes: Adjusting the aperture adjustment structure so that the aperture size of the imaging component meets a preset aperture threshold; When the aperture size of the imaging component meets a preset aperture threshold, the aperture adjustment structure is fixed by using the second locking structure.
7. The debugging method of the blood card reader according to claim 1, characterized in that: The blood card reader further includes a base, a shell, and a blood card positioning structure. The imaging assembly is located in the space enclosed by the base and the shell. The blood card positioning structure is located on a side surface of the shell opposite to the base and is slidably connected to the shell. The test blood card is suitable for being inserted into the space enclosed by the base and the shell through the blood card positioning structure. The method further comprises: In the case that the image of the test blood card in the image data is incomplete or the image of the test blood card is not located at the center of the overall image, the positional relationship between the blood card positioning structure and the shell is adjusted so that the image of the test blood card is complete and located at the center of the overall image.
8. The debugging method of the blood card reader according to claim 1, characterized in that: The blood card reader further comprises a base, and the imaging assembly comprises a camera and a camera bracket; Wherein, the camera bracket is fixedly connected to the base through a fixing threaded hole, and the camera is fixedly connected to the camera bracket through the fixing threaded hole.
9. The debugging method of the blood card reader according to any one of claims 1 to 7, characterized in that: The method further comprises: When the image data of the test blood card meets the preset interpretation conditions, the software parameters of the imaging component are derived, and other blood card readers are debugged according to the software parameters.
10. A blood card reader, characterized in that: The blood card reader is debugged and produced based on the debugging method of the blood card reader according to any one of claims 1 to 9.