CN113689378A - Method and device for judging accurate positioning of test strip, storage medium and terminal - Google Patents

Method and device for judging accurate positioning of test strip, storage medium and terminal Download PDF

Info

Publication number
CN113689378A
CN113689378A CN202110770945.1A CN202110770945A CN113689378A CN 113689378 A CN113689378 A CN 113689378A CN 202110770945 A CN202110770945 A CN 202110770945A CN 113689378 A CN113689378 A CN 113689378A
Authority
CN
China
Prior art keywords
contours
image
contour
nesting
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110770945.1A
Other languages
Chinese (zh)
Other versions
CN113689378B (en
Inventor
王飞
郑悦闻
李青
李鹏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced Institute of Information Technology AIIT of Peking University
Hangzhou Weiming Information Technology Co Ltd
Original Assignee
Advanced Institute of Information Technology AIIT of Peking University
Hangzhou Weiming Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Advanced Institute of Information Technology AIIT of Peking University, Hangzhou Weiming Information Technology Co Ltd filed Critical Advanced Institute of Information Technology AIIT of Peking University
Priority to CN202110770945.1A priority Critical patent/CN113689378B/en
Publication of CN113689378A publication Critical patent/CN113689378A/en
Application granted granted Critical
Publication of CN113689378B publication Critical patent/CN113689378B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/66Analysis of geometric attributes of image moments or centre of gravity

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Quality & Reliability (AREA)
  • Geometry (AREA)
  • Image Analysis (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

The invention discloses a method for judging the accurate positioning of a test strip, which comprises the following steps: generating an image containing a colorimetric plate, preprocessing the image to obtain a binary image, and extracting nesting hierarchical relationship information of a plurality of contours and each contour contained in the binary image; generating a plurality of groups of first nesting contours according to the nesting hierarchical relation information of the contours; determining a plurality of groups of second nested contours from the plurality of groups of first nested contours according to a preset area ratio; when the number of the second nested contours accords with the preset number of contours, calculating the mass center of each group of second nested contours and then generating a plurality of mass centers; screening according to the plurality of centroids to obtain fixed position identification points, and performing perspective transformation on the image containing the colorimetric plate according to the positions of the plurality of fixed position identification points to generate a perspective transformed image; and judging whether the test paper tape is accurately positioned according to the image after perspective transformation. Therefore, the method and the device solve the problem of inaccurate positioning caused by insufficient positioning point characteristics in the past, and reduce the low accuracy risk caused by no positioning verification.

Description

Method and device for judging accurate positioning of test strip, storage medium and terminal
Technical Field
The invention relates to the technical field of image processing, in particular to a method and a device for judging accurate positioning of a test strip, a storage medium and a terminal.
Background
The positioning and detection of the test paper tape are the basis of the automatic detection of the test paper tape, the conventional test paper tape positioning mode requires a user to shoot at a specific angle, and the edge of the test paper tape and a small number of characteristic points on the test paper tape are extracted by an image processing technology to be positioned, so that the mode has the defects of insufficient characteristic points, weak positioning capability and easy occurrence of wrong detection and missed detection.
In the feature point-based positioning mode, the two-dimensional code identification positioning scheme is the most common, and usually pixels of the whole image need to be traversed to calculate the ratio of black and white line segment lengths in the vertical direction and the horizontal direction. If the image has some perspective transformation, the proportion is incorrect; or when the image is blurred, the pixel-by-pixel mode can cause difficulty in positioning.
Meanwhile, the image positioning is usually based on the image after binarization, and the quality of binarization directly affects the positioning result. The binarization for common positioning is global mean binarization, photographs need to be shot in an environment with uniform illumination, and the global mean binarization is performed according to the mean value of the whole image. When the light is dark and the contrast is low, the result of binarization is not accurate enough.
Besides binarization, the positioning accuracy is interfered by other similar positioning points in the environment, the positioning of the test paper tape is inaccurate due to the existence of the interference points, and more time is consumed for positioning, so that the image is difficult to position in real time. Most positioning technologies do not check the positioning result after positioning, and the accuracy of the positioning result cannot be ensured.
Disclosure of Invention
The embodiment of the application provides a method and a device for judging the accurate positioning of a test strip, a storage medium and a terminal. The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview and is intended to neither identify key/critical elements nor delineate the scope of such embodiments. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description that is presented later.
In a first aspect, an embodiment of the present application provides a method for determining accurate positioning of a test strip, where the method includes:
shooting a paper tape to be tested in a preset clamping groove of a colorimetric plate at any angle to generate an image containing the colorimetric plate;
preprocessing an image containing a colorimetric plate to generate a binary image, and extracting nesting hierarchical relationship information of a plurality of contours and each contour contained in the binary image by adopting a contour detection technology;
generating a plurality of groups of first nesting contours according to the nesting hierarchical relationship information of the contours and each contour;
determining a plurality of groups of second nested contours from the plurality of groups of first nested contours according to a preset area ratio;
when the number of the plurality of groups of second nesting contours accords with the preset contour number, calculating the mass center of each group of second nesting contours in the plurality of groups of second nesting contours and then generating a plurality of mass centers;
screening according to the plurality of centroids to obtain a plurality of fixed position identification points, and performing perspective transformation on the image containing the colorimetric plate according to the positions of the plurality of fixed position identification points to generate a perspective transformed image;
and judging whether the test paper tape is accurately positioned according to the image after perspective transformation.
Optionally, generating a binarized image after preprocessing the image including the colorimetric plate, including:
zooming an image containing a color palette to generate a zoomed image;
graying the scaled image to generate a grayed image;
carrying out mean value smooth filtering on the gray images to generate noise reduction images;
and carrying out sliding window binarization on the noise-reduced image to generate a binarized image.
Optionally, generating a plurality of sets of first nested contours according to the nesting hierarchical relationship information between the plurality of contours and each contour includes:
obtaining a first contour from a plurality of contours;
when the first contour does not contain the embedded contour, acquiring nesting hierarchical relationship information of the first contour from the nesting hierarchical relationship information of each contour;
judging whether the first contour has a father contour or not according to the nesting hierarchical relation information of the first contour;
if no father contour exists, counting the nesting layer number of the first contour;
when the nesting layer number is within a preset nesting layer number interval, generating a group of nesting contours of a first contour;
and processing the plurality of contours one by one according to the steps to generate a plurality of groups of nested contours.
Optionally, determining multiple sets of second nested contours from the multiple sets of first nested contours according to a preset area ratio includes:
determining a first set of nested contours from the plurality of sets of first nested contours;
fully combining all the contours contained in the first group of nested contours to generate a plurality of combined contours;
respectively calculating the area proportion of each combined contour in the plurality of combined contours;
when the area proportion of each combined contour accords with the preset area proportion, determining the first group of nested contours as second nested contours;
and processing the plurality of groups of first nesting contours according to the steps to generate a plurality of groups of second nesting contours.
Optionally, the obtaining of the fixed position identification point according to the multiple centroid filtering includes:
performing full arrangement from the multiple centroids in a mode of extracting four centroids each time for multiple times to obtain multiple first arrangement results;
calculating angles formed by three points in each arrangement result in the plurality of arrangement results to obtain four angle values corresponding to each arrangement result;
when the four angle values corresponding to each arrangement result accord with the preset angle values, generating a plurality of second arrangement results;
judging whether four points of each second arrangement result in the plurality of second arrangement results form a clockwise direction or not by utilizing a Shoelace format principle;
if the result is clockwise, generating a plurality of third arrangement results;
calculating the color distance between a first point in each third arrangement result in the plurality of third arrangement results and a preset red color to generate a plurality of distance values;
and selecting a third arrangement result with the minimum distance from the plurality of distance values to obtain the fixed position identification point through screening.
Optionally, whether the test strip is accurately positioned is determined according to the image after perspective transformation, including:
intercepting a first area image corresponding to a preset mode matching area from the image after perspective transformation;
generating a first binarized area image after binarizing the first area image;
accumulating pixel points in the first binarized area image to generate a first gray value;
after binarization is carried out on a preset mode matching area, accumulating pixel points in the binarized mode matching area to generate a second gray value;
the first gray value and the second gray value are subjected to difference to generate a gray difference value;
when the gray difference value is larger than a first preset threshold value, determining that the positioning is accurate;
or,
and when the gray difference value is less than or equal to a first preset threshold value, determining that the positioning is inaccurate, and generating prompt information of the inaccurate positioning for displaying.
Optionally, the method further comprises:
intercepting a second area image corresponding to a preset test paper tape placing area from the image after perspective transformation;
generating a second binarization area image after binarizing the second area image;
obtaining all contours of the second binarization area image by adopting a contour detection technology;
calculating the area of each contour for all contour traversals;
when the area of each contour is within a preset interval, calculating the mass center of each contour;
when the mass center of each contour exceeds a test strip placement area, judging that the current test strip is not completely placed in the test strip placement area, and generating prompt information for displaying that the current test strip is not completely placed in the test strip placement area;
when the mass center of each contour does not exceed the test strip placement area, judging that the current test strip is completely placed in the test strip placement area, and marking each contour;
and when the number of each outline of the mark is smaller than a second preset threshold value, judging that the current test strip is not completely placed in the test strip placement area, and generating prompt information for displaying that the current test strip is not completely placed in the test strip placement area.
In a second aspect, an embodiment of the present application provides an apparatus for determining accurate positioning of a test strip, the apparatus including:
the image generation module is used for shooting the paper tape to be tested at any angle in a preset clamping groove of the colorimetric plate to generate an image containing the colorimetric plate;
the contour extraction module is used for generating a binary image after preprocessing the image containing the colorimetric plate and extracting nesting hierarchical relationship information of a plurality of contours and each contour contained in the binary image by adopting a contour detection technology;
the first nesting outline generating module is used for generating a plurality of groups of first nesting outlines according to the nesting hierarchical relation information of the outlines and each outline;
the second nesting outline generating module is used for determining a plurality of groups of second nesting outlines from the plurality of groups of first nesting outlines according to a preset area proportion;
the centroid calculation module is used for calculating the centroid of each group of second nested contours in the plurality of groups of second nested contours to generate a plurality of centroids when the number of the plurality of groups of second nested contours accords with the number of the preset contours;
the image perspective transformation module is used for screening according to the plurality of centroids to obtain a plurality of fixed position identification points, and performing perspective transformation on the image containing the colorimetric plate according to the positions of the plurality of fixed position identification points to generate a perspective transformed image;
and the accurate positioning judgment module is used for judging whether the test paper tape is accurately positioned according to the image after perspective transformation.
In a third aspect, embodiments of the present application provide a computer storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a fourth aspect, an embodiment of the present application provides a terminal, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in the embodiment of the application, a determination device for accurately positioning a test strip firstly shoots a paper strip to be tested at any angle preset in a preset clamping groove of a colorimetric plate, generates an image containing the colorimetric plate, then carries out pretreatment to obtain a binary image, and extracts nesting hierarchical relationship information of a plurality of contours and each contour contained in the binary image; generating a plurality of groups of first nesting contours according to the nesting hierarchical relation information of the contours; determining a plurality of groups of second nested contours from the plurality of groups of first nested contours according to a preset area ratio; when the number of the second nested contours accords with the preset number of contours, calculating the mass center of each group of second nested contours and then generating a plurality of mass centers; screening according to the plurality of centroids to obtain fixed position identification points, and performing perspective transformation on the image containing the colorimetric plate according to the positions of the plurality of fixed position identification points to generate a perspective transformed image; and judging whether the test paper tape is accurately positioned according to the image after perspective transformation. Because this application has solved the location inaccuracy that brings by the not enough characteristics of setpoint in the past through the mode of utilizing the detection discernment to fixed position identification point and location check, has reduced the low degree of accuracy risk that no location check caused.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic flow chart of a method for determining accurate positioning of a test strip according to an embodiment of the present disclosure;
fig. 2 is a chart of a color chart according to an embodiment of the present application;
fig. 3 is a schematic process diagram of a contour searching process based on sliding window binarization according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a nested profile forming process provided by an embodiment of the present application;
fig. 5 is a flowchart illustrating a fixed location identification point location according to an embodiment of the present disclosure;
FIG. 6 is a flow chart of pattern matching provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of an apparatus for determining the accurate positioning of a test strip according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The following description and the drawings sufficiently illustrate specific embodiments of the invention to enable those skilled in the art to practice them.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
In the description of the present invention, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The application provides a method and a device for judging the accurate positioning of a test strip, a storage medium and a terminal, which are used for solving the problems in the related technical problems. In the technical scheme provided by the application, because the mode of detecting, identifying and positioning and checking the fixed position identification points is utilized, the problem of inaccurate positioning caused by insufficient positioning point characteristics in the past is solved, the low accuracy risk caused by no positioning and checking is reduced, and the following detailed description is carried out by adopting an exemplary embodiment.
The method for determining the accurate positioning of the test strip according to the embodiment of the present application will be described in detail with reference to fig. 1 to 6. The method can be realized by relying on a computer program and can be operated on a judgment device for accurately positioning the test strip based on a Von Neumann system. The computer program may be integrated into the application or may run as a separate tool-like application. The determination device for accurately positioning the test strip in the embodiment of the present application may be a user terminal, including but not limited to: personal computers, tablet computers, handheld devices, in-vehicle devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and the like. The user terminals may be called different names in different networks, for example: user equipment, access terminal, subscriber unit, subscriber station, mobile station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user equipment, cellular telephone, cordless telephone, Personal Digital Assistant (PDA), terminal equipment in a 5G network or future evolution network, and the like.
Referring to fig. 1, a schematic flow chart of a method for determining accurate positioning of a test strip is provided in an embodiment of the present application. As shown in fig. 1, the method of the embodiment of the present application may include the following steps:
s101, shooting a paper tape to be tested in a preset clamping groove of a colorimetric plate at any angle to generate an image containing the colorimetric plate;
the colorimetric plate mainly includes a fixed position identification point and a pattern matching area, as shown in fig. 2. The fixed position identification points are mainly used for positioning the colorimetric plate, and the pattern matching area is mainly used for checking the accuracy of the positioning result to ensure that the positioning is accurate.
In a possible implementation manner, the test strip to be detected is placed in a preset slot of a colorimetric plate fitted with the test strip, and then an image containing the colorimetric plate is shot at any angle by a camera.
S102, generating a binary image after preprocessing an image containing a colorimetric plate, and extracting nesting hierarchical relationship information of a plurality of contours and each contour contained in the binary image by adopting a contour detection technology;
generally, in the binarization processing of an image, an image including a color palette is first scaled to generate a scaled image, then the scaled image is grayed to generate a grayed image, the grayed image is then subjected to mean value smoothing filtering to generate a noise reduction image, and finally the noise reduction image is subjected to sliding window binarization to generate a binarized image.
In a possible implementation manner, the original image is scaled to obtain an image with a fixed length, the length of the image may be 1440 pixels, then the obtained image with the fixed length is converted from an RGB color image into a gray-scale image, then image mean smoothing filtering is performed on the obtained gray-scale image to perform blurring and noise reduction, the size of a block of the mean filtering may be 7x7, and finally sliding window binarization is performed on the blurred and noise-reduced image to generate a binarized image, and the size of the sliding window may be 33x 33.
Further, searching for the contours of the binarized image, and specifically using a contour detection technology to obtain all contours of the image and nesting hierarchical relationship information of each contour.
For example, as shown in fig. 3, fig. 3 is a schematic process diagram of an outline searching process based on sliding window binarization, and the method includes firstly scaling an original image to obtain a scaled image, then performing graying processing on the scaled image to obtain a grayed image, then performing mean value smoothing filtering on the grayed image to obtain a noise-reduced image, then performing sliding window binarization on the noise-reduced image to obtain a binarized image, and finally extracting an outline from the binarized image to obtain all outline maps.
S103, generating a plurality of groups of first nesting contours according to the nesting hierarchical relation information of the contours and each contour;
in the embodiment of the application, when a plurality of groups of first nested contours are generated, a first contour is obtained from a plurality of contours, when the first contour does not contain an embedded contour, nested hierarchical relationship information of the first contour is obtained from nested hierarchical relationship information of each contour, whether a parent contour exists in the first contour is judged according to the nested hierarchical relationship information of the first contour, if no parent contour exists, the number of nested layers of the first contour is counted, when the number of nested layers is within a preset nested layer number interval, a group of nested contours of the first contour is generated, and finally, after the plurality of contours are processed one by one according to the steps, the plurality of groups of first nested contours are generated.
In a possible implementation mode, firstly, all the obtained contours are traversed, then whether the first contour contains an embedded contour or not is judged, namely whether the contour contains other contours or not is judged, if not, the parent contour is obtained according to the topology information of the parent contour and the child contour, the judgment is repeated until the parent contour cannot be obtained according to the topology information of the parent contour and the child contour, a group of nested contours are obtained, after all the contours are traversed, all the nested contours which meet the requirements on the whole image are finally obtained, and each nested contour carries a contour index.
For example, as shown in fig. 4, fig. 4 is a schematic diagram of a nested contour forming process according to an embodiment of the present application, first obtaining a first of all contours to determine whether a sub-contour is included, if so, obtaining a second of all contours to determine whether a sub-contour is included, if not, determining whether a parent contour is included, if so, adding 1 to the number of nested layers, if not, determining whether the total number of nested layers is within a threshold interval, if so, marking indexes of all contours in the nested contours, and if not, discarding, after all contours are traversed, generating a plurality of groups of first nested contours.
S104, determining a plurality of groups of second nested contours from the plurality of groups of first nested contours according to a preset area ratio;
in the embodiment of the application, when a plurality of groups of second nested contours are determined, a first group of nested contours are determined from a plurality of groups of first nested contours, then all contours contained in the first group of nested contours are combined to generate a plurality of combined contours, then the area ratio of each combined contour in the plurality of combined contours is calculated respectively, when the area ratio of each combined contour meets a preset area ratio, the first group of nested contours are determined to be the second nested contours, and finally, after the plurality of groups of first nested contours are processed according to the steps, the plurality of groups of second nested contours are generated.
In one possible implementation, all contours contained within a set of nested contours are first fully combined. Specifically, three contours are extracted at a time in all contours of the set of nested contours, that is, the combination is C (the number of nested layers of the set of nested contours, the number of required nested layers), specifically, the number of required nested layers may be selected to be 3.
And then, for the set of nested contours, traversing all combinations formed by the set of nested contours and calculating the proportion of the areas of the adjacent parent-child contours. If the proportion meets the requirement, recording the index of the minimum embedded contour in the combination, and stopping traversing the combination formed by the group of embedded contours.
And finally, repeating the steps until all the nested contours are traversed, obtaining the nested contours with all the area proportions meeting the requirements, and regarding the nested contours meeting the requirements as a plurality of groups of second nested contours.
S105, when the number of the plurality of groups of second nesting contours accords with the number of the preset contours, calculating the mass center of each group of second nesting contours in the plurality of groups of second nesting contours and then generating a plurality of mass centers;
where centroid refers to an imaginary point on the matter system where mass is considered to be concentrated.
In one possible implementation, if the number of nested contours that meet the requirement is too large or too small, it is indicated that the input image is not completely photographed on the color palette, or that the background of the input image contains an excessive number of points similar to the fixed-position identification points. Therefore, the fixed position identification point cannot be correctly detected, and the user is prompted to take a picture again. When the number of the nested contours meeting the requirement is proper, all the nested contours are traversed, and the centroids of all the nested contours are calculated in a traversal mode to generate a plurality of centroids.
S106, screening according to the plurality of centroids to obtain a plurality of fixed position identification points, and performing perspective transformation on the image containing the colorimetric plate according to the positions of the plurality of fixed position identification points to generate a perspective transformed image;
in the embodiment of the application, when the fixed position identification points are obtained by screening according to a plurality of centroids, firstly, the fixed position identification points are completely arranged from the plurality of centroids in a mode of extracting four centroids each time for a plurality of times to obtain a plurality of first arrangement results, then calculating the angle formed by three points in each arrangement result in a plurality of arrangement results to obtain the value of four angles corresponding to each arrangement result, and generating a plurality of second arrangement results when the four angle values corresponding to each arrangement result meet the preset angle values, secondly, judging whether four points of each second arrangement result in the plurality of second arrangement results form a clockwise direction by utilizing a Shoelace format principle, if so, generating a plurality of third arrangement results, finally calculating the color distance between a first point and a preset red color in each third arrangement result in the plurality of third arrangement results, generating a plurality of distance values, and selecting a third arrangement result with the minimum distance from the plurality of distance values to obtain the fixed position identification point by screening.
In a possible implementation, after obtaining all centroids of the nested contours that meet the requirement, the centroids are first arranged in a full manner, for example, all centroids are extracted 4 at a time to be arranged in a full manner, and then all arrangement results are obtained, angles formed by every three points in the arrangement are calculated to obtain four angle values, and finally each arrangement has four angle values, and then for the four angle values of each arrangement, if the angle values meet the requirement, specifically, in the selectable 60-120 ° interval, the arrangement is retained, and otherwise, the arrangement is discarded.
Further, all the permutations meeting the requirements are traversed, and whether four points in the permutation form clockwise is calculated by utilizing the Shoelace format principle. If the formation is clockwise, the set of permutations is retained, otherwise, the set of permutations is discarded.
Further, for each satisfactory arrangement, the color distance between the first point in each arrangement and the standard red color is calculated ergodically, and the arrangement with the smallest distance is recorded as the arrangement of the detected fixed position identification points.
For example, as shown in fig. 5, fig. 5 is a flowchart for positioning a fixed position identification point provided in the embodiment of the present application, first, a plurality of sets of second nested contours (i.e., contours that all levels meet requirements) are respectively subjected to full combination of contours, then area ratio determination is performed, a calculated centroid that meets the area ratio is selected, a plurality of centroids are obtained, then the centroids are fully arranged, a position relationship determination is performed for each group of arranged centroids, a contour that meets a clockwise position relationship is selected, and finally, a distance from a red color is calculated to obtain a fixed position identification.
Further, the image including the color chart may be subjected to perspective conversion according to the positions of the plurality of fixed position identification points to generate a perspective-converted image.
And S107, judging whether the test paper tape is accurately positioned according to the image after perspective transformation.
In the embodiment of the application, after an image after perspective transformation is obtained, a first area image corresponding to a preset mode matching area needs to be intercepted from the image after perspective transformation, then a first binarized area image is generated after the first area image is binarized, then pixel points in the first binarized area image are accumulated to generate a first gray value, then the preset mode matching area is binarized, the pixel points in the binarized mode matching area are accumulated to generate a second gray value, then the first gray value is subtracted from the second gray value to generate a gray difference value, and finally when the gray difference value is larger than a first preset threshold value, accurate positioning is determined; or when the gray difference value is less than or equal to the first preset threshold value, determining that the positioning is inaccurate, and generating prompt information of the inaccurate positioning for displaying.
In a possible implementation manner, a pattern matching area is known from fig. 2, the pattern matching area is preset, the position area is cut out from the image after perspective transformation, then binarization is performed on the cut-out area to obtain a binarized cut-out area, gray values of each point are accumulated to obtain a first gray value for a pixel point of the binarized cut-out area, gray values of each point are accumulated to obtain a second gray value for the binarized pattern matching area, finally, the gray values of the two points are subtracted to obtain a difference value, and the difference value is used as a judgment standard.
Specifically, if the difference is greater than the threshold, it is considered that when the colorimetric plate is shot, interference points with the same height as the nesting layer number, the arrangement mode and the nesting outline area ratio of the fixed position identification points exist in the background, and a user is prompted to shoot again; and if the difference is smaller than the threshold, determining that the positioning is accurate, and finishing the verification of the positioning.
For example, as shown in fig. 6, fig. 6 is a flowchart of pattern matching provided by the present application, first, a fixed position identification point performs perspective conversion to obtain an image after perspective conversion, then an image area corresponding to a pattern matching area (i.e., a check block) is cut out from the image after perspective conversion, the image area is binarized and gray values of each point are accumulated to obtain a first gray value, then, the check block is binarized and gray values of each point are accumulated to obtain a second gray value, a difference is made between the first gray value and the second gray value, and finally, whether the gray value is greater than a threshold value is determined according to the difference, if so, a positioning check is performed, otherwise, the positioning is inaccurate, and a picture is prompted to be taken again.
Further, after the mode matching is completed, a second area image corresponding to a preset test paper strip placement area is intercepted from the image after perspective transformation, then a second binarization area image is generated after the second area image is binarized, all contours of the second binarization area image are obtained by adopting a contour detection technology, then the area of each contour is calculated in a traversing mode aiming at all contours, when the area of each contour is in a preset interval, the mass center of each contour is calculated, when the mass center of each contour exceeds the preset test paper strip placement area, the current test paper strip is judged not to be completely placed in the test paper placement area, prompt information of the current test paper strip not to be completely placed in the test paper placement area is generated for displaying, and when the mass center of each contour does not exceed the preset test paper strip placement area, the current test paper strip is judged to be completely placed in the test paper placement area, and each contour is marked, or when the number of each outline of the mark is smaller than a second preset threshold value, judging that the current test strip is not completely placed in the test strip placement area, and generating prompt information for displaying that the current test strip is not completely placed in the test strip placement area.
In the embodiment of the application, a determination device for accurately positioning a test strip firstly shoots a paper strip to be tested at any angle preset in a preset clamping groove of a colorimetric plate, generates an image containing the colorimetric plate, then carries out pretreatment to obtain a binary image, and extracts nesting hierarchical relationship information of a plurality of contours and each contour contained in the binary image; generating a plurality of groups of first nesting contours according to the nesting hierarchical relation information of the contours; determining a plurality of groups of second nested contours from the plurality of groups of first nested contours according to a preset area ratio; when the number of the second nested contours accords with the preset number of contours, calculating the mass center of each group of second nested contours and then generating a plurality of mass centers; screening according to the plurality of centroids to obtain fixed position identification points, and performing perspective transformation on the image containing the colorimetric plate according to the positions of the plurality of fixed position identification points to generate a perspective transformed image; and judging whether the test paper tape is accurately positioned according to the image after perspective transformation. Because this application has solved the location inaccuracy that brings by the not enough characteristics of setpoint in the past through the mode of utilizing the detection discernment to fixed position identification point and location check, has reduced the low degree of accuracy risk that no location check caused.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention. For details which are not disclosed in the embodiments of the apparatus of the present invention, reference is made to the embodiments of the method of the present invention.
Fig. 7 is a schematic structural diagram of a device for determining accurate positioning of a test strip according to an exemplary embodiment of the present invention. The device for determining the accurate positioning of the test strip can be realized by software, hardware or a combination of the software and the hardware to form all or part of a terminal. The device 1 comprises an image generation module 10, an outline extraction module 20, a first nested outline generation module 30, a second nested outline generation module 40, a centroid calculation module 50, an image perspective transformation module 60 and a precise positioning judgment module 70.
The image generating module 10 is configured to perform shooting at any angle on a paper tape to be tested, which is preset in a preset card slot of a color comparison plate, and generate an image including the color comparison plate;
the contour extraction module 20 is configured to generate a binarized image after preprocessing an image including a color palette, and extract nesting hierarchical relationship information between a plurality of contours and each contour included in the binarized image by using a contour detection technology;
a first nesting contour generating module 30, configured to generate a plurality of sets of first nesting contours according to nesting hierarchical relationship information between a plurality of contours and each contour;
the second nesting contour generating module 40 is configured to determine multiple groups of second nesting contours from the multiple groups of first nesting contours according to a preset area ratio;
the centroid calculating module 50 is configured to calculate a centroid of each of the plurality of groups of second nested contours to generate a plurality of centroids when the number of the plurality of groups of second nested contours matches the preset number of contours;
the image perspective transformation module 60 is configured to obtain a plurality of fixed position identification points according to the plurality of centroid screens, perform perspective transformation on the image including the color palette according to the positions of the plurality of fixed position identification points, and generate a perspective transformed image;
and the accurate positioning judgment module 70 is used for judging whether the test paper tape is accurately positioned according to the image after perspective transformation.
It should be noted that, when the determination method for accurately positioning a test strip is executed, the determination device for accurately positioning a test strip provided in the above embodiment is exemplified by only dividing each functional module, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the functions described above. In addition, the determination device for accurately positioning the test strip and the determination method for accurately positioning the test strip provided by the embodiments belong to the same concept, and details of implementation processes are shown in the method embodiments and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the embodiment of the application, a determination device for accurately positioning a test strip firstly shoots a paper strip to be tested at any angle preset in a preset clamping groove of a colorimetric plate, generates an image containing the colorimetric plate, then carries out pretreatment to obtain a binary image, and extracts nesting hierarchical relationship information of a plurality of contours and each contour contained in the binary image; generating a plurality of groups of first nesting contours according to the nesting hierarchical relation information of the contours; determining a plurality of groups of second nested contours from the plurality of groups of first nested contours according to a preset area ratio; when the number of the second nested contours accords with the preset number of contours, calculating the mass center of each group of second nested contours and then generating a plurality of mass centers; screening according to the plurality of centroids to obtain fixed position identification points, and performing perspective transformation on the image containing the colorimetric plate according to the positions of the plurality of fixed position identification points to generate a perspective transformed image; and judging whether the test paper tape is accurately positioned according to the image after perspective transformation. Because this application has solved the location inaccuracy that brings by the not enough characteristics of setpoint in the past through the mode of utilizing the detection discernment to fixed position identification point and location check, has reduced the low degree of accuracy risk that no location check caused.
The invention also provides a computer readable medium, on which program instructions are stored, and when the program instructions are executed by a processor, the method for determining the accurate positioning of the test strip provided by the above method embodiments is realized. The present invention also provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of determining the accurate positioning of a test strip of the various method embodiments described above.
Please refer to fig. 8, which provides a schematic structural diagram of a terminal according to an embodiment of the present application. As shown in fig. 8, terminal 1000 can include: at least one processor 1001, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002.
Wherein a communication bus 1002 is used to enable connective communication between these components.
The user interface 1003 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Processor 1001 may include one or more processing cores, among other things. The processor 1001 interfaces various components throughout the electronic device 1000 using various interfaces and lines to perform various functions of the electronic device 1000 and to process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1005 and invoking data stored in the memory 1005. Alternatively, the processor 1001 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1001 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 1001, but may be implemented by a single chip.
The Memory 1005 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable medium. The memory 1005 may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 8, a memory 1005, which is one type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a test strip accurate positioning determination application.
In the terminal 1000 shown in fig. 8, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; the processor 1001 may be configured to invoke a determination application program for accurately positioning the test strip stored in the memory 1005, and specifically perform the following operations:
shooting a paper tape to be tested in a preset clamping groove of a colorimetric plate at any angle to generate an image containing the colorimetric plate;
preprocessing an image containing a colorimetric plate to generate a binary image, and extracting nesting hierarchical relationship information of a plurality of contours and each contour contained in the binary image by adopting a contour detection technology;
generating a plurality of groups of first nesting contours according to the nesting hierarchical relationship information of the contours and each contour;
determining a plurality of groups of second nested contours from the plurality of groups of first nested contours according to a preset area ratio;
when the number of the plurality of groups of second nesting contours accords with the preset contour number, calculating the mass center of each group of second nesting contours in the plurality of groups of second nesting contours and then generating a plurality of mass centers;
screening according to the plurality of centroids to obtain a plurality of fixed position identification points, and performing perspective transformation on the image containing the colorimetric plate according to the positions of the plurality of fixed position identification points to generate a perspective transformed image;
and judging whether the test paper tape is accurately positioned according to the image after perspective transformation.
In one embodiment, when the processor 1001 generates the binarized image after performing preprocessing on the image including the color palette, the following operations are specifically performed:
zooming an image containing a color palette to generate a zoomed image;
graying the scaled image to generate a grayed image;
carrying out mean value smooth filtering on the gray images to generate noise reduction images;
and carrying out sliding window binarization on the noise-reduced image to generate a binarized image.
In one embodiment, when the processor 1001 executes the generation of the plurality of sets of first nested contours according to the nesting hierarchical relationship information of the plurality of contours and each contour, the following operations are specifically executed:
obtaining a first contour from a plurality of contours;
when the first contour does not contain the embedded contour, acquiring nesting hierarchical relationship information of the first contour from the nesting hierarchical relationship information of each contour;
judging whether the first contour has a father contour or not according to the nesting hierarchical relation information of the first contour;
if no father contour exists, counting the nesting layer number of the first contour;
when the nesting layer number is within a preset nesting layer number interval, generating a group of nesting contours of a first contour;
and processing the plurality of contours one by one according to the steps to generate a plurality of groups of first nested contours.
In an embodiment, when the processor 1001 determines a plurality of sets of second nesting contours from the plurality of sets of first nesting contours according to a preset area ratio, the following operations are specifically performed:
determining a first set of nested contours from the plurality of sets of first nested contours;
fully combining all the contours contained in the first group of nested contours to generate a plurality of combined contours;
respectively calculating the area proportion of each combined contour in the plurality of combined contours;
when the area proportion of each combined contour accords with the preset area proportion, determining the first group of nested contours as second nested contours;
and processing the plurality of groups of first nesting contours according to the steps to generate a plurality of groups of second nesting contours.
In one embodiment, when the processor 1001 obtains the fixed location identification point according to the multiple centroid filtering, the following operations are specifically performed:
performing full arrangement from the multiple centroids in a mode of extracting four centroids each time for multiple times to obtain multiple first arrangement results;
calculating angles formed by three points in each arrangement result in the plurality of arrangement results to obtain four angle values corresponding to each arrangement result;
when the four angle values corresponding to each arrangement result accord with the preset angle values, generating a plurality of second arrangement results;
judging whether four points of each second arrangement result in the plurality of second arrangement results form a clockwise direction or not by utilizing a Shoelace format principle;
if the result is clockwise, generating a plurality of third arrangement results;
calculating the color distance between a first point in each third arrangement result in the plurality of third arrangement results and a preset red color to generate a plurality of distance values;
and selecting a third arrangement result with the minimum distance from the plurality of distance values to obtain the fixed position identification point through screening.
In one embodiment, when determining whether the test paper strip is accurately positioned according to the perspective transformed image, the processor 1001 specifically performs the following operations:
intercepting a first area image corresponding to a preset mode matching area from the image after perspective transformation;
generating a first binarized area image after binarizing the first area image;
accumulating pixel points in the first binarized area image to generate a first gray value;
after binarization is carried out on a preset mode matching area, accumulating pixel points in the binarized mode matching area to generate a second gray value;
the first gray value and the second gray value are subjected to difference to generate a gray difference value;
when the gray difference value is larger than a first preset threshold value, determining that the positioning is accurate;
or,
and when the gray difference value is less than or equal to a first preset threshold value, determining that the positioning is inaccurate, and generating prompt information of the inaccurate positioning for displaying.
In the embodiment of the application, a determination device for accurately positioning a test strip firstly shoots a paper strip to be tested at any angle preset in a preset clamping groove of a colorimetric plate, generates an image containing the colorimetric plate, then carries out pretreatment to obtain a binary image, and extracts nesting hierarchical relationship information of a plurality of contours and each contour contained in the binary image; generating a plurality of groups of first nesting contours according to the nesting hierarchical relation information of the contours; determining a plurality of groups of second nested contours from the plurality of groups of first nested contours according to a preset area ratio; when the number of the second nested contours accords with the preset number of contours, calculating the mass center of each group of second nested contours and then generating a plurality of mass centers; screening according to the plurality of centroids to obtain fixed position identification points, and performing perspective transformation on the image containing the colorimetric plate according to the positions of the plurality of fixed position identification points to generate a perspective transformed image; and judging whether the test paper tape is accurately positioned according to the image after perspective transformation. Because this application has solved the location inaccuracy that brings by the not enough characteristics of setpoint in the past through the mode of utilizing the detection discernment to fixed position identification point and location check, has reduced the low degree of accuracy risk that no location check caused.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware that is related to instructions of a computer program, and the program can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (10)

1. A judgment method for accurate positioning of a test strip is characterized by comprising the following steps:
shooting a paper tape to be tested in a preset clamping groove of a colorimetric plate at any angle to generate an image containing the colorimetric plate;
preprocessing the image containing the colorimetric plate to generate a binary image, and extracting nesting hierarchical relationship information of a plurality of contours and each contour contained in the binary image by adopting a contour detection technology;
generating a plurality of groups of first nesting contours according to the nesting hierarchical relationship information of the contours and each contour;
determining a plurality of groups of second nesting contours from the plurality of groups of first nesting contours according to a preset area ratio;
when the number of the plurality of groups of second nesting contours accords with the number of preset contours, calculating the mass center of each group of second nesting contours in the plurality of groups of second nesting contours and then generating a plurality of mass centers;
screening according to the plurality of centroids to obtain a plurality of fixed position identification points, and performing perspective transformation on the image containing the colorimetric plate according to the positions of the plurality of fixed position identification points to generate a perspective transformed image;
and judging whether the test paper tape is accurately positioned according to the image after perspective transformation.
2. The method of claim 1, wherein the generating a binarized image after preprocessing the image containing a color palette comprises:
zooming the image containing the color palette to generate a zoomed image;
graying the scaled image to generate a grayed image;
carrying out mean value smooth filtering on the grayed image to generate a noise reduction image;
and carrying out sliding window binarization on the noise-reduced image to generate a binarized image.
3. The method of claim 1, wherein generating a plurality of sets of first nested contours according to nesting hierarchical relationship information of the plurality of contours and each contour comprises:
obtaining a first contour from the plurality of contours;
when the first contour does not contain an embedded contour, acquiring nesting hierarchical relationship information of the first contour from the nesting hierarchical relationship information of each contour;
judging whether the first contour has a father contour or not according to the nesting hierarchical relation information of the first contour;
if no father contour exists, counting the nesting layer number of the first contour;
when the nesting layer number is within a preset nesting layer number interval, generating a group of nesting contours of a first contour;
and processing the plurality of contours one by one according to the steps to generate a plurality of groups of first nested contours.
4. The method of claim 1, wherein determining a plurality of second nested contours from the plurality of first nested contours according to a predetermined area ratio comprises:
determining a first set of nested contours from the plurality of sets of first nested contours;
fully combining all contours contained in the first set of nested contours to generate a plurality of combined contours;
respectively calculating the area proportion of each combined contour in the plurality of combined contours;
when the area proportion of each combined contour meets a preset area proportion, determining the first group of nested contours as second nested contours;
and processing the plurality of groups of first nesting contours according to the steps to generate a plurality of groups of second nesting contours.
5. The method of claim 1, wherein said screening for fixed location identification points from said plurality of centroids comprises:
performing full arrangement on the plurality of centroids in a mode of extracting four centroids each time for multiple times to obtain a plurality of first arrangement results;
calculating angles formed by three points in each arrangement result in the plurality of arrangement results to obtain four angle values corresponding to each arrangement result;
when the four angle values corresponding to each arrangement result accord with preset angle values, generating a plurality of second arrangement results;
judging whether four points of each second arrangement result in the plurality of second arrangement results form a clockwise direction by utilizing a Shoelace format principle;
if the result is clockwise, generating a plurality of third arrangement results;
calculating the color distance between a first point in each third arrangement result in the plurality of third arrangement results and a preset red color to generate a plurality of distance values;
and selecting a third arrangement result with the minimum distance from the plurality of distance values to obtain a fixed position identification point through screening.
6. The method of claim 1, wherein determining whether the strip of test paper is accurately positioned according to the perspective transformed image comprises:
intercepting a first area image corresponding to a preset mode matching area from the image after perspective transformation;
generating a first binarized area image after binarizing the first area image;
accumulating pixel points in the first binarized area image to generate a first gray value;
after the preset mode matching area is binarized, accumulating pixel points in the binarized mode matching area to generate a second gray value;
the first gray value and the second gray value are subjected to difference to generate a gray difference value;
when the gray difference value is larger than a first preset threshold value, determining that the positioning is accurate;
or,
and when the gray difference value is less than or equal to a first preset threshold value, determining that the positioning is inaccurate, and generating prompt information of the inaccurate positioning for displaying.
7. The method of claim 6, further comprising:
intercepting a second area image corresponding to a preset test paper tape placing area from the image after perspective transformation;
generating a second binarization area image after binarizing the second area image;
obtaining all contours of the second binarization area image by adopting a contour detection technology;
calculating the area of each contour for all contour traversals;
when the area of each contour is within a preset interval, calculating the mass center of each contour;
when the mass center of each contour exceeds the set test strip placement area, judging that the current test strip is not completely placed in the test strip placement area, and generating prompt information for displaying that the current test strip is not completely placed in the test strip placement area;
when the mass center of each contour does not exceed the test strip placement area, judging that the current test strip is completely placed in the test strip placement area, and marking each contour;
and when the number of each marked outline is smaller than a second preset threshold value, judging that the current test strip is not completely placed in the test strip placement area, and generating prompt information for displaying that the current test strip is not completely placed in the test strip placement area.
8. A device for determining accurate positioning of a test strip, the device comprising:
the image generation module is used for shooting the paper tape to be tested at any angle in a preset clamping groove of the colorimetric plate to generate an image containing the colorimetric plate;
the contour extraction module is used for generating a binary image after preprocessing the image containing the colorimetric plate and extracting nesting hierarchical relationship information of a plurality of contours and each contour contained in the binary image by adopting a contour detection technology;
the first nesting outline generating module is used for generating a plurality of groups of first nesting outlines according to the nesting hierarchical relation information of the plurality of outlines and each outline;
the second nesting outline generating module is used for determining a plurality of groups of second nesting outlines from the plurality of groups of first nesting outlines according to a preset area proportion;
the centroid calculation module is used for calculating the centroid of each group of second nested contours in the plurality of groups of second nested contours to generate a plurality of centroids when the number of the plurality of groups of second nested contours accords with the number of preset contours;
the image perspective transformation module is used for screening a plurality of fixed position identification points according to the plurality of centroids, and performing perspective transformation on the image containing the colorimetric plate according to the positions of the plurality of fixed position identification points to generate a perspective transformed image;
and the accurate positioning judgment module is used for judging whether the test paper tape is accurately positioned according to the image after perspective transformation.
9. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to perform the method steps according to any of claims 1-7.
10. A terminal, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1-7.
CN202110770945.1A 2021-07-07 2021-07-07 Determination method and device for accurate positioning of test strip, storage medium and terminal Active CN113689378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110770945.1A CN113689378B (en) 2021-07-07 2021-07-07 Determination method and device for accurate positioning of test strip, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110770945.1A CN113689378B (en) 2021-07-07 2021-07-07 Determination method and device for accurate positioning of test strip, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN113689378A true CN113689378A (en) 2021-11-23
CN113689378B CN113689378B (en) 2024-04-05

Family

ID=78576779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110770945.1A Active CN113689378B (en) 2021-07-07 2021-07-07 Determination method and device for accurate positioning of test strip, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN113689378B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114463222A (en) * 2022-02-21 2022-05-10 广州联合丽拓生物科技有限公司 Automatic positioning and assembling method for head end of intradermal or subcutaneous injection micro needle

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102654902B (en) * 2012-01-16 2013-11-20 江南大学 Contour vector feature-based embedded real-time image matching method
CN108986081B (en) * 2018-06-28 2021-11-23 湖南红太阳新能源科技有限公司 Method, device and equipment for detecting glass cracks of photovoltaic module and storage medium
CN210198567U (en) * 2019-01-17 2020-03-27 柳州康云互联科技有限公司 Color comparison card based on ARmarker
CN210198569U (en) * 2019-01-17 2020-03-27 柳州康云互联科技有限公司 Colorimetric card based on two-dimensional code
CN112651256A (en) * 2019-10-12 2021-04-13 大族激光科技产业集团股份有限公司 Two-dimensional code identification method and device, computer equipment and storage medium
CN111832659B (en) * 2020-07-21 2023-07-04 武汉纺织大学 Laser marking system and method based on feature point extraction algorithm detection
CN112820032A (en) * 2021-02-19 2021-05-18 安徽阿尔梅达健康科技有限公司 Self-service detection and selling system based on rapid detection

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114463222A (en) * 2022-02-21 2022-05-10 广州联合丽拓生物科技有限公司 Automatic positioning and assembling method for head end of intradermal or subcutaneous injection micro needle

Also Published As

Publication number Publication date
CN113689378B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
CN110619333B (en) Text line segmentation method, text line segmentation device and electronic equipment
CN104978578B (en) Mobile phone photograph text image method for evaluating quality
CN111178355B (en) Seal identification method, device and storage medium
CN110490181B (en) Form filling and auditing method, device and equipment based on OCR (optical character recognition) technology and computer storage medium
CN109901754B (en) Data self-calibration method and related device
CN109409377B (en) Method and device for detecting characters in image
CN110909640A (en) Method and device for determining water level line, storage medium and electronic device
CN111325717B (en) Mobile phone defect position identification method and equipment
CN111259891B (en) Method, device, equipment and medium for identifying identity card in natural scene
CN112749696B (en) Text detection method and device
CN113112511B (en) Method and device for correcting test paper, storage medium and electronic equipment
CN113781396B (en) Screen defect detection method, device, equipment and storage medium
CN113762229B (en) Intelligent identification method and system for building equipment in building site
CN111353485A (en) Seal identification method, device, equipment and medium
CN115761270A (en) Color card detection method and device, electronic equipment and storage medium
CN112802081A (en) Depth detection method and device, electronic equipment and storage medium
CN113283439B (en) Intelligent counting method, device and system based on image recognition
CN113689378B (en) Determination method and device for accurate positioning of test strip, storage medium and terminal
CN110619060B (en) Cigarette carton image database construction method and cigarette carton anti-counterfeiting query method
CN116993654B (en) Camera module defect detection method, device, equipment, storage medium and product
CN113688671B (en) Fingerprint similarity calculation method and device, storage medium and terminal
CN110853087B (en) Parallax estimation method, device, storage medium and terminal
CN113128299A (en) People flow density detection method and device, terminal equipment, server and storage medium
CN112634382A (en) Image recognition and replacement method and device for unnatural object
CN110674817A (en) License plate anti-counterfeiting method and device based on binocular camera

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant