CN112749632A - Method and system for checking quantity of medicines in logistics warehouse - Google Patents

Method and system for checking quantity of medicines in logistics warehouse Download PDF

Info

Publication number
CN112749632A
CN112749632A CN202011532538.9A CN202011532538A CN112749632A CN 112749632 A CN112749632 A CN 112749632A CN 202011532538 A CN202011532538 A CN 202011532538A CN 112749632 A CN112749632 A CN 112749632A
Authority
CN
China
Prior art keywords
picture
storage space
dimensional code
terminal
icon
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.)
Pending
Application number
CN202011532538.9A
Other languages
Chinese (zh)
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.)
Shenzhen Ziyu Jieen Technology Co ltd
Original Assignee
Shenzhen Ziyu Jieen 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 Shenzhen Ziyu Jieen Technology Co ltd filed Critical Shenzhen Ziyu Jieen Technology Co ltd
Priority to CN202011532538.9A priority Critical patent/CN112749632A/en
Publication of CN112749632A publication Critical patent/CN112749632A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10712Fixed beam scanning
    • G06K7/10722Photodetector array or CCD scanning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06MCOUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
    • G06M11/00Counting of objects distributed at random, e.g. on a surface

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Electromagnetism (AREA)
  • Data Mining & Analysis (AREA)
  • Toxicology (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Medical Preparation Storing Or Oral Administration Devices (AREA)

Abstract

The application provides a method and a system for checking the medicine quantity of a logistics warehouse, wherein the method comprises the following steps: the method comprises the steps that a terminal collects a first picture on the front face of a first storage space of a logistics warehouse, and collects a second overlooking picture of the first storage space after a set angle is selected; the terminal classifies and identifies the first picture to determine n two-dimensional codes in the first picture, and divides the n two-dimensional codes into n two-dimensional code areas according to the RGB values of the peripheral pixels of each two-dimensional code; classifying and identifying the second picture to determine w icons in the second picture, and acquiring w icon areas corresponding to the w icons; and the terminal determines the medicine quantity S of the first storage space according to the n and the w, and verifies the record quantity of the first storage space according to the medicine quantity S. The technical scheme that this application provided has efficient advantage.

Description

Method and system for checking quantity of medicines in logistics warehouse
Technical Field
The application relates to the technical field of images and logistics, in particular to a method and a system for checking medicine quantity in a logistics warehouse.
Background
The warehouse is a necessary place in the field of logistics, for hospitals, the checking of the medicine quantity is more important than the quantity comparison of common logistics enterprises, but for the existing hospitals, the checking of the medicine quantity is manually compared, and the comparison mode is very troublesome, low in efficiency and low in accuracy.
Disclosure of Invention
The embodiment of the application provides a method for checking the quantity of medicines in a logistics warehouse, which can automatically check the quantity of medicines through images, automatically check the quantity of medicines in the logistics warehouse, and improve the efficiency and accuracy.
In a first aspect, an embodiment of the present application provides a method for checking a quantity of a drug in a logistics warehouse, where the method is applied to a terminal, and the method includes the following steps;
the method comprises the steps that a terminal collects a first picture on the front side of a first storage space of a logistics warehouse, and collects a second overlook picture of the first storage space after a set angle is selected;
the terminal classifies and identifies the first picture to determine n two-dimensional codes in the first picture, and divides the n two-dimensional codes into n two-dimensional code areas according to the RGB values of the peripheral pixels of each two-dimensional code; classifying and identifying the second picture to determine w icons in the second picture, and acquiring w icon areas corresponding to the w icons;
and the terminal determines the medicine quantity S of the first storage space according to the n and the w, and verifies the record quantity of the first storage space according to the medicine quantity S.
In a second aspect, a system for checking the quantity of drugs in a logistics warehouse is provided, wherein the system is applied to a terminal and comprises;
the system comprises a collecting unit, a judging unit and a display unit, wherein the collecting unit is used for collecting a first picture on the front surface of a first storage space of a logistics warehouse and collecting a second overlooking picture of the first storage space after a set angle is selected;
the processing unit is used for classifying and identifying the first picture to determine n two-dimensional codes in the first picture, and dividing the n two-dimensional codes into n two-dimensional code areas according to the RGB values of the peripheral pixels of each two-dimensional code; classifying and identifying the second picture to determine w icons in the second picture, and acquiring w icon areas corresponding to the w icons; and determining the quantity S of the medicines in the first storage space according to the n and the w, and verifying the recorded quantity of the first storage space according to the quantity S of the medicines.
In a third aspect, a computer-readable storage medium is provided, which stores a program for electronic data exchange, wherein the program causes a terminal to perform the method provided in the first aspect.
The embodiment of the application has the following beneficial effects:
the technical scheme includes that a terminal collects a front first picture of a first storage space of a logistics warehouse, and collects a top-view second picture of the first storage space after a set angle is selected; the terminal classifies and identifies the first picture to determine n two-dimensional codes in the first picture, and divides the n two-dimensional codes into n two-dimensional code areas according to the RGB values of the peripheral pixels of each two-dimensional code; classifying and identifying the second picture to determine w icons in the second picture, and acquiring w icon areas corresponding to the w icons; and the terminal determines the medicine quantity of the first storage space according to the n and the w. Therefore, the quantity of the medicines can be automatically determined, and the quantity of the medicines in the logistics warehouse can be verified.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a terminal.
Fig. 2 is a schematic structural diagram of a terminal provided in an embodiment of the present application.
Fig. 3 is a cross-sectional view a-a as shown in fig. 2 provided by an embodiment of the present application.
Fig. 4 is a schematic flowchart of a method for checking the number of drugs in a logistics warehouse according to an embodiment of the present application.
Fig. 5 is a schematic view of a medicine placement provided by the present application.
Fig. 6 is a schematic view of another drug placement provided by the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it should be understood that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any inventive effort, shall fall within the scope of protection of the present application.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, result, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Referring to fig. 1, fig. 1 provides a terminal, which may specifically include: the device comprises a processor, a memory, a camera and a display screen, wherein the components can be connected through a bus or in other ways, and the application is not limited to the specific way of the connection. In practical applications, the payment terminal may further add other components, such as an audio component (microphone) or a communication component (e.g. an antenna, etc.).
Fig. 2 is a schematic structural diagram of a terminal 1 according to an embodiment of the present application, and fig. 3 is a sectional view a-a of the structure in fig. 2. The terminal 1 comprises an operating component 10, a sliding component 20, a guide 30 and a supporting component 40, wherein the operating component 10 is fixedly arranged at one end of the sliding component 20, the guide 30 is slidably arranged at the other end opposite to the sliding component 20, the supporting component 40 is arranged at the bottom of the guide 30, and the supporting component 40 and the guide 30 can rotate 360 degrees.
The operating assembly 10 includes a housing 100, a display screen 110, a camera module 120, an identification module 130, a charging module (not shown), a processor (not shown) and a memory (not shown), wherein the display screen 110, the camera module 120 and the identification module 130 are arranged outside the housing 100 in parallel at a time, the processor is located inside the housing 100, the display screen 110, the camera module 120 and the identification module 130 are all electrically connected to the processor, and the processor is used for controlling the display screen 110, the camera module 120 and the identification module 130 to work.
The sliding assembly 20 comprises a sleeve 210 and an extension rod 220, the sleeve 210 comprises a body 211 and an extension part 212 protruding from one side of the body 211, the body 211 is sleeved outside the guide 30 and can slide up and down relative to the guide 30, the extension part 212 is hollow and used for accommodating the extension rod 220, the extension rod 220 is in clearance fit with one end of the extension rod and the extension part 212, the clearance can be 0.01mm, and the other end of the extension rod 220 is fixedly connected with the operation assembly 10. The side wall of the extension part 212 is provided with a first threaded hole, the first threaded hole is provided with a first screw 230 in a matching manner, the relative position between the telescopic rod 220 and the extension part 212 can be adjusted by rotating the first screw 230, and then the distance between the operation assembly 10 and the sliding assembly 20 is adjusted, so that the flexibility of adjusting the terminal 1 in the horizontal direction is improved.
The surface of guide 30 has relative convex part 310 and concave part 320, convex part 310 is located the one side that deviates from operating element 10 on guide 30, body 211 cover is located on guide 30, and respectively in convex part 310 and concave part 320 looks adaptation, be clearance fit between body 211 and convex part 310 and the concave part 320, the clearance can be 0.005mm, the second screw hole has been seted up on the convex part 310, second screw 330 is installed in the cooperation of second screw hole, can adjust the relative position between subassembly 20 and the guide 30 that slides through rotatory second screw 330, and then adjust the upper and lower distance between subassembly 20 and the guide 30 that slides, so that improve the flexibility that terminal 1 height direction adjusted. Wherein, the second screw 330 is larger than the first screw 230 so as to better bear the common weight of the operating assembly 10 and the sliding assembly 20, which contributes to the improvement of the service life.
The support assembly 40 includes first casing 410 and second casing 420 of connection can dismantle, first casing 410 and second casing 420 enclose to establish and form the accommodation area, the one end that the subassembly 20 was kept away from to guide member 30 extends to in the accommodation area, support assembly 40 still includes main part 430, main part 430 is located the accommodation area, and connect in the boss position of guide member 30 through the screw, a plurality of roll portion 435 has evenly been arranged respectively to the upper and lower both sides of main part 430, the quantity of roll portion 435 can be 12, each 6 about, and upper and lower two sets of roll portion 435 misplaces respectively and arranges, namely in vertical direction, a roll portion 435 is located between two adjacent roll portions 435 on the upper row. The first case 410 and the second case 420 are provided with a support piece 440 at a side facing the main body part 430, the second case 420 is a lower case, and the support piece 440 provided on the second case 420 has a hardness greater than that of the support piece 440 provided on the first case 410. When the guide member 30 rotates relative to the first housing 410 and the second housing 420, the rolling portion 435 abuts against the surface of the support plate 440 to roll, a first bearing 445 is disposed between the first housing 410 and the guide member 30, a second bearing 450 is disposed between the second housing 420 and the guide member 30, the first bearing 445 includes a first inner ring and a first outer ring which can rotate relatively, the second bearing 450 includes a second inner ring and a second outer ring which can rotate relatively, the guide member 30 is disposed outside the first housing 410 and is provided with a first snap spring 465, the first snap spring 465 abuts against the first inner ring and does not interfere with the relative movement of the first bearing 445, the guide member 30 is disposed outside the second housing 420 and is provided with a second snap spring 470, and the second snap spring 470 abuts against the second inner ring and does not interfere with the relative movement of the second bearing 450. The supporting assembly 40 further includes an upper cover 475 and a lower cover 480, the upper cover 475 is covered outside the first housing 410, a third bearing 455 is disposed between the upper cover 475 and the guiding element 30, the lower cover 480 is covered outside the second housing 420, a fourth bearing 460 is disposed between the lower cover 480 and the guiding element 30, the fourth bearing 460 is a tapered roller bearing, the fourth bearing 460 partially abuts against the second snap spring 470, and the fourth bearing 460 is used for providing a vertical supporting force for the guiding element 30.
Referring to fig. 4, fig. 4 provides a method for checking the quantity of drugs in a logistics warehouse, which may be executed by the terminal shown in fig. 1, and the method shown in fig. 4 includes the following steps:
s401, a terminal collects a first picture on the front side of a first storage space of a logistics warehouse, and collects a second overlook picture of the first storage space after a set angle is selected;
the above-mentioned setting angle can be realized by the supporting member 40 and the guiding member 30 as shown in fig. 2, for example, by rotating 90 °, 270 °, and so on.
S402, the terminal classifies and identifies the first picture to determine n two-dimensional codes in the first picture, and divides the n two-dimensional codes into n two-dimensional code areas according to the RGB values of the peripheral pixels of each two-dimensional code; classifying and identifying the second picture to determine w icons in the second picture, and acquiring w icon areas corresponding to the w icons;
the icon may be a manufacturer identifier, or may be other unchangeable identifiers on the packaging box, such as a human face icon of a speaker, and the like. The w icon regions and the n two-dimensional code regions can be determined by the existing region confirmation mode, and the classification identification can also be identified by a neural network model, which is not described herein again.
Step S403, the terminal determines the number of the drugs in the first storage space according to n and w, and verifies the recorded number of the first storage space according to the number S of the drugs.
And if the verification is consistent with the record number, the verification is determined to be passed, otherwise, the verification is not passed. The recorded number may be the number on the document at the time of the inventory, i.e., the number to be authenticated.
According to the technical scheme, a terminal collects a first picture on the front face of a first storage space of a logistics warehouse, and collects a second overlooking picture of the first storage space after a set angle is selected; the terminal classifies and identifies the first picture to determine n two-dimensional codes in the first picture, and divides the n two-dimensional codes into n two-dimensional code areas according to the RGB value of the pixels at the periphery of each two-dimensional code; classifying and identifying the second picture to determine w icons in the second picture, and acquiring w icon areas corresponding to the w icons; and the terminal determines the medicine quantity of the first storage space according to the n and the w. Therefore, the quantity of the medicines can be automatically determined, and the quantity of the medicines in the logistics warehouse can be verified.
In an optional scheme, the implementation method for determining, by the terminal, the number of medicines in the first storage space according to n and w may specifically include:
if the number of the pixel points in the n two-dimensional code regions is the same and the number of the pixel points in the w icon regions is also the same, determining that the number S of the medicines is n x w.
For the placement of medicines, medicines of the same type are certainly placed in a storage space, and a simpler mode is adopted, namely when the medicines placed in the storage space are stacked, the height direction and the depth direction of the medicines are the same, the number of pixels in a first picture and a second picture which are n two-dimensional code areas of the medicines is reflected to be the same, and the number of pixels in w icon areas of the medicines is reflected to be the same.
However, for the medicine, the above situation is generally the case when the first storage space is relatively full, and in most cases, the first storage space is not too slow, that is, as shown in fig. 5, the boxes of the medicine have differences in the height direction, and the differences in the height direction inevitably cause changes of the pixel points of the n two-dimensional code regions and the w icon regions in the first picture and the second picture, so that the corresponding pixel point changes can be tested in the following manner, and the number of the medicine in the first storage space is estimated.
In another optional scheme, the implementation method for determining, by the terminal, the number of medicines in the first storage space according to the n and the w may specifically include:
arranging the n two-dimensional code regions in descending order according to the height direction (the H direction shown in figure 5) of the first storage space to obtain a first sequence, and counting the number X of pixel points of the first two-dimensional code region in the first sequence1The number X of pixel points in the nth two-dimension code areanComparison, if X1<XnSequentially extracting the number of pixel points and X of the next two-dimensional code region in the first sequencenUp to XiAnd XnThe same, i is more than 1 and less than n, i is the serial number of the two-dimensional code area in the first sequence, i is an integer, and n is an integer more than or equal to 3;
arranging the w icon regions in ascending order according to the depth direction (D direction shown in FIG. 5) of the first storage space to obtain a second sequence, and counting the number Y of pixel points in the first icon region in the second sequence1Number of pixels Y in the w-th icon regionwComparison, if X1<XwSequentially extracting the number of pixel points and Y of the next icon region in the first sequencenUp to YmAnd YwThe same, m is the serial number of the icon area in the second sequence; m is more than 1 and less than n, m is an integer, and w is an integer more than or equal to 3;
the number X of pixel points in the i-1 th two-dimensional code areai-1=X1(ii) a And determining the medicine quantity S ═ (n-i +1) × (m-1) + n ═ w-m + 1.
For convenience of explanation of the principle of the above alternative, taking fig. 6 as an example, n is 4 and w is 5 in fig. 6, and assuming that i is 3 and m is 3 as shown in fig. 6, the number S of medicines is (4-3+1) × (3-1) +4 (5-3+1) × 16. The principle is that the embodiment of the present application assumes that the gaps are uniform in the height direction, and if they are not uniform, there is another calculation method, and in this case, as shown in fig. 6, there are 2 values in the height direction, that is, the height value of the front 2 in the depth direction is 2, and the height value of 2 in the depth direction is 2 as shown in fig. 6, and for the front 2 columns, the number of cassettes is 4, that is, when there is a gap, the number of corresponding medicines is 2 × 2 — 4, and for the number of non-gaps, the number of medicines in the depth direction is 3, and the total number is determined to be 16.
For medicines, boxes of the appearances of the medicines are completely consistent, when the medicines are placed, if the distance between the medicines and the distance shot by a terminal is the same, the number of shot pixels is consistent, but due to the fact that the shooting depth direction is enlarged after the medicines are vacant, the number of the pixels in the corresponding specific area is reduced, the shooting is similar to that of a person, people are unchanged, the distance from the people is farther, the imaging is smaller on the premise that the focal distance is unchanged, and based on the principle, the calculation of the medicine number S is achieved through corresponding setting.
The application also provides a medicine quantity checking system of the logistics warehouse, the system is applied to a terminal, and the system comprises;
the system comprises a collecting unit, a judging unit and a display unit, wherein the collecting unit is used for collecting a first picture on the front surface of a first storage space of a logistics warehouse and collecting a second overlooking picture of the first storage space after a set angle is selected;
the processing unit is used for classifying and identifying the first picture to determine n two-dimensional codes in the first picture, and dividing the n two-dimensional codes into n two-dimensional code areas according to the RGB values of the peripheral pixels of each two-dimensional code; classifying and identifying the second picture to determine w icons in the second picture, and acquiring w icon areas corresponding to the w icons; and determining the quantity S of the medicines in the first storage space according to the n and the w, and verifying the recorded quantity of the first storage space according to the quantity S of the medicines.
The processing unit described above may also be used to perform a refinement of the embodiment shown in fig. 4, for example to perform the method of calculating the number S in the embodiment shown in fig. 4. And will not be described in detail herein.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any one of the methods as recited in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the methods and their core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (5)

1. A method for checking the medicine quantity of a logistics warehouse is characterized in that the method is applied to a terminal and comprises the following steps;
the method comprises the steps that a terminal collects a first picture on the front face of a first storage space of a logistics warehouse, and collects a second overlooking picture of the first storage space after a set angle is selected;
the terminal classifies and identifies the first picture to determine n two-dimensional codes in the first picture, and divides the n two-dimensional codes into n two-dimensional code areas according to the RGB values of the peripheral pixels of each two-dimensional code; classifying and identifying the second picture to determine w icons in the second picture, and acquiring w icon areas corresponding to the w icons;
and the terminal determines the medicine quantity S of the first storage space according to the n and the w, and verifies the record quantity of the first storage space according to the medicine quantity S.
2. The system of claim 1, wherein the terminal determining the number of the drugs in the first storage space according to n and w specifically comprises:
if the number of the pixel points in the n two-dimensional code regions is the same and the number of the pixel points in the w icon regions is also the same, determining that the number S of the medicines is n x w.
3. The system of claim 2,
arranging the n two-dimensional code areas in descending order according to the height direction of the first storage space to obtain a first sequence, and arranging the number X of pixel points in the first two-dimensional code area in the first sequence1The number X of pixel points in the nth two-dimension code areanComparison, if X1<XnSequentially extracting the number of pixel points and X of the next two-dimensional code region in the first sequencenUp to XiAnd XnThe same, i is more than 1 and less than n, i is the serial number of the two-dimensional code area in the first sequence, i is an integer, and n is more than or equal to 3;
arranging the w icon areas in ascending order according to the depth direction of the first storage space to obtain a second sequence, and counting the number Y of pixel points in the first icon area in the second sequence1Number of pixels Y in the w-th icon regionwComparison, if X1<XwSequentially extracting the number of pixel points and Y of the next icon region in the first sequencenUp to YmAnd YwThe same, m is the serial number of the icon area in the second sequence; m is more than 1 and less than w, m is an integer, and w is more than or equal to 3;
the number X of pixel points in the i-1 th two-dimensional code areai-1=X1(ii) a Determining the medicine quantity S ═ (n-i +1) × (m-1) + n ═ w-m + 1;
w and n are integers.
4. A medicine quantity checking system of a logistics warehouse is characterized in that the system is applied to a terminal and comprises a data processing module, a data processing module and a data processing module, wherein the data processing module is used for processing the data;
the system comprises a collecting unit, a judging unit and a display unit, wherein the collecting unit is used for collecting a first picture on the front surface of a first storage space of a logistics warehouse and collecting a second overlooking picture of the first storage space after a set angle is selected;
the processing unit is used for classifying and identifying the first picture to determine n two-dimensional codes in the first picture, and dividing the n two-dimensional codes into n two-dimensional code areas according to the RGB values of the peripheral pixels of each two-dimensional code; classifying and identifying the second picture to determine w icons in the second picture, and acquiring w icon areas corresponding to the w icons; and determining the quantity S of the medicines in the first storage space according to the n and the w, and verifying the recorded quantity of the first storage space according to the quantity S of the medicines.
5. A computer-readable storage medium storing a program for electronic data exchange, wherein the program causes a terminal to execute the method according to any one of claims 1 to 3.
CN202011532538.9A 2020-12-22 2020-12-22 Method and system for checking quantity of medicines in logistics warehouse Pending CN112749632A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011532538.9A CN112749632A (en) 2020-12-22 2020-12-22 Method and system for checking quantity of medicines in logistics warehouse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011532538.9A CN112749632A (en) 2020-12-22 2020-12-22 Method and system for checking quantity of medicines in logistics warehouse

Publications (1)

Publication Number Publication Date
CN112749632A true CN112749632A (en) 2021-05-04

Family

ID=75645774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011532538.9A Pending CN112749632A (en) 2020-12-22 2020-12-22 Method and system for checking quantity of medicines in logistics warehouse

Country Status (1)

Country Link
CN (1) CN112749632A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113493082A (en) * 2021-06-16 2021-10-12 深圳市联新移动医疗科技有限公司 Method and system for checking quantity of drugs in and out of warehouse

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113493082A (en) * 2021-06-16 2021-10-12 深圳市联新移动医疗科技有限公司 Method and system for checking quantity of drugs in and out of warehouse

Similar Documents

Publication Publication Date Title
US8958650B1 (en) Device and computer readable medium for sharing image content based on collection proximity
CN109920174B (en) Book borrowing method and device, electronic equipment and storage medium
US10409856B2 (en) Approaches for associating terms with image regions
CN101641950B (en) Device and method for adjusting orientation of a data representation displayed on a display
US20160026854A1 (en) Method and apparatus of identifying user using face recognition
US20060126944A1 (en) Variance-based event clustering
US9058655B2 (en) Region of interest based image registration
US11062137B2 (en) System, portable terminal device, server, program, and method for viewing confirmation
CN108520222A (en) Identification identification method, device, storage medium and electronic equipment based on face's intelligent scanning
CN112749632A (en) Method and system for checking quantity of medicines in logistics warehouse
CN103353881A (en) Method and device for searching application
CN110782464B (en) Calculation method of object accumulation 3D space occupancy rate, coder-decoder and storage device
CN111401238A (en) Method and device for detecting character close-up segments in video
CN112652076B (en) Parking payment management system and method for intelligent park
CN109543628B (en) Face unlocking method, bottom library inputting method, device and electronic equipment
CN114529843A (en) Cargo congestion identification method and device, electronic equipment and storage medium
CN112580601B (en) Management system and method for stereoscopic unmanned warehouse
JP6857373B1 (en) Information processing equipment, information processing methods, and programs
CN113792674B (en) Method and device for determining empty rate and electronic equipment
US20220336062A1 (en) Apparatus and method for providing medical institution information using non-reimbursement information
US20170161303A1 (en) Information querying method based on user location, device to device relay gateway system and controller
WO2018034999A1 (en) Leveraging audio/video recording and communication devices to reduce crime and enhance public safety
KR102178172B1 (en) Terminal and service providing device, control method thereof, computer readable medium having computer program recorded therefor and image searching system
US10375352B2 (en) Location-weighted remuneration for audio/video recording and communication devices
CN109034139A (en) Face identification method, device, storage medium and electronic equipment

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