WO2021098373A1 - Device, method and apparatus for adjusting and controlling shelf - Google Patents

Device, method and apparatus for adjusting and controlling shelf Download PDF

Info

Publication number
WO2021098373A1
WO2021098373A1 PCT/CN2020/117447 CN2020117447W WO2021098373A1 WO 2021098373 A1 WO2021098373 A1 WO 2021098373A1 CN 2020117447 W CN2020117447 W CN 2020117447W WO 2021098373 A1 WO2021098373 A1 WO 2021098373A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
storage layer
layer
moved
target
Prior art date
Application number
PCT/CN2020/117447
Other languages
French (fr)
Chinese (zh)
Inventor
周剑
明泉水
廖耿耿
宋启恒
郑辉
Original Assignee
支付宝(杭州)信息技术有限公司
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 支付宝(杭州)信息技术有限公司 filed Critical 支付宝(杭州)信息技术有限公司
Publication of WO2021098373A1 publication Critical patent/WO2021098373A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/30Scenes; Scene-specific elements in albums, collections or shared content, e.g. social network photos or video
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/006Details of the software used for the vending machines

Definitions

  • This application relates to the technical field of the Internet of Things, and in particular to a laminate control equipment, method and device.
  • self-service vending containers are usually equipped with multiple storage layers, and the space of each storage layer is fixed.
  • the storage layer with a fixed space size not only has a low space utilization rate, but also may cause consumers to purchase goods.
  • the tall and short products block each other, resulting in blind spots that cannot be captured by the camera, which leads to problems such as inaccurate identification of the products purchased by consumers.
  • the purpose of one or more embodiments of this specification is to provide a control device, method, and device that can flexibly control the position of the shelf in the sales container based on the image collected by the camera, which can not only improve the utilization of storage space, but also And it can increase the distance between the camera in the storage layer where the product is operated and the product, thereby reducing the blind spot and corner of the camera, improving the accuracy of the image collected by the camera, and improving the identification of the purchased product Accuracy of recognition results.
  • One or more embodiments of this specification provide a laminate control device, which is applied to a sales container, wherein the storage space inside the sales container is divided into multiple storage layers by the laminate, and the device includes: A camera on the top side of each of the storage layers; the camera collects the first image of the storage layer where it is when the door of the sales container is opened, and when the door of the sales container is closed Acquire a second image and a third image of the storage layer where oneself is located; wherein the first image and the second image include planar image information of the storage layer, and the third image includes the storage layer
  • the main control module which determines the first target storage layer where the operated commodity is located according to the first image and the second image collected by each of the cameras; and, according to each of the cameras
  • the acquired third image and the first target storage layer determine the to-be-moved floor in the floor and the moving information of the to-be-moved floor; the lifting module, which is connected to each of the floor Connected, and control the movement of the layer to be moved
  • One or more embodiments of the present specification provide a layer control method, which is applied to a sales container, wherein the storage space inside the sales container is divided into a plurality of storage layers by the layer, and the method includes: obtaining The first image of each storage layer when the door of the sales container is opened, and the second image and the third image of each storage layer when the door is closed; wherein, the first image, The second image and the third image are both obtained by a camera arranged on the top side of each of the storage layers to collect commodities placed in the storage layer where they are located; the first image and the second image Including the plane image information of the storage layer, the third image includes the depth image information of the storage layer; according to the first image and the second image, determine the first target storage where the operated commodity is located Object layer; according to the third image and the first target storage layer, determine the layer to be moved in the layer and the movement information of the layer to be moved; according to the movement of the layer to be moved Information to control the movement of the layer to be moved.
  • One or more embodiments of this specification provide a layer control device, which is applied to a sales container, wherein the storage space inside the sales container is divided into multiple storage layers by the layer, and the device includes: Module, which acquires the first image of each storage layer when the door of the sales container is opened, and the second image and the third image of each storage layer when the door is closed; wherein, the The first image, the second image, and the third image are all obtained by a camera set on the top side of each of the storage layers to collect commodities placed in the storage layer where they are located; the first image and the The second image includes planar image information of the storage layer, and the third image includes depth image information of the storage layer; a first determination module, which, according to the first image and the second image, Determine the first target storage layer where the operated commodity is located; a second determination module, which determines the layer to be moved in the layer and the layer to be moved according to the third image and the first target storage layer The movement information of the moving floor; a control module, which controls the movement of the floor to be moved
  • One or more embodiments of this specification provide a layer control device, including: a processor; and, a memory arranged to store computer-executable instructions that, when executed, cause the processor to : Acquire the first image of each storage layer when the door of the sales container is opened, and the second image and the third image of each storage layer when the door is closed; wherein, the first The image, the second image, and the third image are all obtained by a camera set on the top side of each of the storage layers to collect commodities placed in the storage layer where they are located; the first image and the first image The second image includes the plane image information of the storage layer, the third image includes the depth image information of the storage layer; according to the first image and the second image, the first image where the operated commodity is located is determined Target storage layer; according to the third image and the first target storage layer, determine the layer to be moved in the layer and the movement information of the layer to be moved; according to the layer to be moved To control the movement of the layer to be moved.
  • One or more embodiments of this specification provide a storage medium for storing computer-executable instructions that, when executed, realize the following process: Obtain each storage medium when the door of the sales container is opened.
  • the third image includes depth image information of the storage layer; according to the first image and the second image, the first target storage layer where the operated commodity is located is determined; according to the third image and the The first target storage layer determines the floor to be moved in the floor and the movement information of the floor to be moved; according to the movement information of the floor to be moved, the movement of the floor to be moved is controlled.
  • An embodiment of this specification realizes the flexible adjustment of the position of the shelf in the sales container, which not only improves the utilization rate of the storage space, but also increases the distance between the camera and the commodity in the storage layer where the commodity is operated, and reduces the distance between the camera and the commodity in the storage layer where the commodity is operated.
  • the blind spots and blind spots of the camera can improve the accuracy of the images collected by the camera and the accuracy of the recognition results for identifying the purchased goods.
  • FIG. 1 is a schematic diagram of an application scenario for self-service vending of vending containers provided by one or more embodiments of this specification;
  • FIG. 2 is a schematic diagram of the module composition of a laminate control device provided by one or more embodiments of this specification;
  • Figure 3 is a schematic structural diagram of a lifting module provided by one or more embodiments of this specification.
  • FIG. 4 is a schematic diagram of the first flow of a layer control method provided by one or more embodiments of this specification.
  • FIG. 5 is a detailed diagram of step S104 provided by one or more embodiments of this specification.
  • FIG. 6 is a schematic diagram of a matrix of binarized images provided by one or more embodiments of this specification.
  • FIG. 7 is a detailed diagram of step S106 provided by one or more embodiments of this specification.
  • FIG. 8 is a first detailed diagram of step S106-8 provided in one or more embodiments of this specification.
  • FIG. 9 is a second detailed diagram of step S106-8 provided in one or more embodiments of this specification.
  • FIG. 10 is a schematic diagram of the second flow of a layer control method provided by one or more embodiments of this specification.
  • FIG. 11 is a schematic diagram of the module composition of a laminate control device provided by one or more embodiments of this specification.
  • Figure 12 is a schematic structural diagram of a laminate control device provided by one or more embodiments of this specification.
  • One or more embodiments of this specification provide a layer control device, method, and device, which can be applied to a sales container, and can flexibly control the position of each layer in the sales container based on the image collected by the camera. Improve the utilization of storage space, and increase the distance between the camera in the storage layer where the product is operated and the product, thereby reducing the blind spots and blind spots of the camera, and improving the accuracy of the image collected by the camera , And improve the accuracy of the recognition results that identify the purchased goods.
  • FIG. 1 is a schematic diagram of an application scenario for self-service vending of vending containers provided by one or more embodiments of this specification.
  • Fig. 1 (a) for a vending container with a fixed floor height, the consumer scans Before using the QR code to open the cabinet door to purchase goods, the goods in each storage layer of the selling container are placed in an orderly manner; as consumers will pay attention to the shelf life, composition and other information of the goods when buying goods, they usually do Take multiple products for viewing and comparison, but consumers often do not pay special attention to the placement of the products, and randomly put the unwanted products back to the free position of the storage layer, and finally sell them after the consumers buy the products.
  • the goods in the container will be in the state shown in Figure 1(b).
  • one or more embodiments of this specification provide a layer control device, method and device, which can flexibly adjust the position of each layer based on the image collected by the camera and the space size of each storage layer in the sales container.
  • each storage layer is marked as storage layer 1, storage layer 2, storage layer 3, etc.
  • FIG 1 (b) The schematic diagram of is shown in Figure 1(c), it can be seen that by adjusting the layer plate, the space of the storage layer 2 can be enlarged, and the distance between the camera in the storage layer 2 and the goods in the storage layer 2 is increased , The shooting angle of the camera is increased, and the blind spot of the camera is reduced, so that the accuracy of the recognition result is improved when the product purchased by the consumer is recognized according to the image captured by the camera.
  • the camera is a 3D camera, and each video frame in the video stream captured by it includes an image containing planar image information and an image containing depth image information.
  • Image an image containing planar image information and an image containing depth image information.
  • depth image information such as three-dimensional space position, size and other information.
  • FIG 2 is a schematic diagram of the module composition of a laminate control device provided by one or more embodiments of this specification, which is applied to a sales container, where the storage space inside the sales container is divided into multiple storage layers by the laminate, such as As shown in Figure 2, the device includes the following.
  • the main control module 12 which determines the first target storage layer where the operated commodity is located according to the first image and the second image collected by each camera 11; and, according to the third image collected by each camera 11 and the determined second image For a target storage layer, determine the layer to be moved in the layer and the movement information of the layer to be moved.
  • the lifting module 13 is connected with each layer, and controls the movement of the layer to be moved according to the movement information of the layer to be moved.
  • the shelf control device provided by one or more embodiments of this specification can flexibly control the position of the shelf in the sales container based on the image collected by the camera, which can not only improve the utilization of storage space, but also increase the number of operations being performed.
  • the operated product is recognized based on the images captured by the camera before and after the consumer purchases the product, that is, the recognition is based on the image captured by the camera before the door of the selling container is opened and after the door is closed; Before and after the product is purchased, the status of the product has changed due to some malicious operations (such as shaking the selling container, etc.) or other factors, so that the problem of the operated product cannot be correctly identified.
  • Main The control module 12 sends a first image acquisition request to each camera 11 according to the first detection time of the door opening signal when detecting the door opening signal of the selling container door being opened; and, when detecting that the door of the selling container is When the door-closing signal is closed, the second image acquisition request is sent to each camera 11 according to the second detection time of the door-closing signal; correspondingly, the camera 11 receives the first image acquisition request according to the first detection time.
  • the detection time is the start time of the second preset duration, the deadline corresponding to the second preset duration is determined, and the video frame corresponding to the deadline is obtained from the captured video stream, and from the acquired video frame Extract the second image and the third image; or, when the camera 11 receives the second image acquisition request, the second detection time is used as the start time of the second preset duration, and the second image is acquired from the captured video stream.
  • any one of the video frames within the preset duration extract the second image and the third image from the acquired video frames; or, when the camera 11 receives the second image acquisition request, the second detection time is the second preset duration At the start time, any two video frames within the second preset duration are acquired from the captured video stream, the second image is extracted from one of the acquired video frames, and the third image is extracted from the other acquired video frame.
  • the first preset duration and the second preset duration are both very short.
  • the first preset duration and the second preset duration may be the same or different. They can be set according to actual needs; as an example, The first preset duration and the second preset duration are the same, and both are 1 second.
  • the camera 11 acquires the first image, it can also acquire the fifth image containing the depth image information of the storage layer at the same time.
  • video frames with a short interval from the first detection time are acquired according to the first detection time to extract the first image
  • video frames with a short interval from the second detection time are acquired according to the second detection time to extract the second image and The third image, and it is difficult for consumers or other users to perform malicious operations within this short time interval.
  • the first target storage layer where the operated product is located, the determination of the moving information of the floor to be moved, and the determination of the purchased product provide an effective data basis.
  • a transmission channel is established between each camera 11 and the main control module 12.
  • the camera 11 obtains the first image, it sends the first image to the main control module 12 through the corresponding transmission channel, and
  • the camera 11 acquires the second image and the third image it sends the second image and the third image to the main control module 12 through the corresponding transmission channel;
  • the main control module 12 receives the second image, based on the first image And the second image determines the first target storage layer where the operated commodity is located.
  • the main control module 12 determines the first image and the second image corresponding to each storage layer; and, the first image and the second image corresponding to each storage layer The two images are subjected to differential processing to obtain the differential image corresponding to each storage layer; the differential image corresponding to each storage layer is binarized to obtain the binarized image corresponding to each storage layer; The target binarized image that meets the preset conditions is determined in the image; the storage layer corresponding to the target binarized image is taken as the first target storage layer where the operated commodity is located.
  • the difference between the first image and the second image can be obtained.
  • the difference image of the difference between the two values; the difference image is binarized to obtain a binarized image with only black and white visual effects, and the interference of other noises is removed, so that the binarized image can be accurately determined.
  • the main control module 12 determines the third image corresponding to each storage layer; and, among the commodities included in the third image corresponding to each storage layer, Obtain the target product with the smallest vertical distance between the top of the product and the top of the storage layer where the product is located; use the vertical distance between the top of the target product and the top of the storage layer where the target product is located as the remainder of the storage layer where the target product is located
  • Floor height According to the remaining floor height of the storage layer, determine the floor to be moved in the floor and the movement information of the floor to be moved.
  • all the layers with moving space can be determined and used as the layer to be moved, so as to maximize the space of the first target storage layer, so that the first target storage layer can be maximized.
  • the distance between the camera in the object layer and the product is maximized, so that the camera can collect clear and complete images; according to the remaining height of the storage layer, a part of the floor with moving space can be determined and used as the floor to be moved , On the basis that the distance between the camera in the first target storage layer and the product reaches the preset distance that can collect clear and complete images, and do not move too many layers to ensure safety and stability.
  • the main control module 12 determines that there is a non-zero storage layer based on the remaining layer height and the preset safety distance of each storage layer except the first target storage layer For the storage layer with a movable distance, the floor to be moved is determined according to the positional relationship between the storage layer with a non-zero movable distance and the first target storage layer; and, according to the position of the storage layer to be moved and the first target storage layer The position relationship of the layers to determine the moving direction of the layer to be moved; according to the movable distance of the storage layer corresponding to the layer to be moved, the actual moving distance of the layer to be moved is determined; the moving direction of the layer to be moved is compared with the actual The movement distance is used as the movement information of the floor to be moved; or, if the main control module 12 determines that there is a distance according to the remaining height of each storage layer except the first target storage layer and the preset safety distance A second target storage layer with the closest target storage layer and the
  • the subsequent accurate control of the floor to be moved is performed based on the movement information, without damaging part of the products due to the different heights of the products in the same storage layer.
  • the lifting module 13 includes: a driving unit 13-1, a guide rail 13-2, and roller 13-3; among them, the roller 13-3 is arranged on the side of each layer, corresponding: the main control module 12, according to the moving information of the layer to be moved and the label of the layer, send the moving instruction of the layer To the drive unit 13-1; the drive unit 13-1, its output terminal 13-4 is connected to each layer, when receiving a layer movement instruction, according to the movement information to drive the corresponding layer plate identification to be moved through it
  • the roller 13-3 provided on the side moves along the guide rail 13-2.
  • the driving unit 13-1 is a structure with a limit function, such as a pneumatic cylinder, a hydraulic cylinder, and a ball wire. Structures such as bars, which can accurately control the actual moving distance of the layer to be moved in the corresponding direction according to the movement information, and then remain in the corresponding position without sliding down the guide rail 13-2 through the roller 13-3 due to gravity. .
  • the drive unit 13-1 can also be a structure without a limit function. If it is an ordinary motor, the lifting module 13 also includes a limit unit 13-5, which can be set at The side surface of the laminate can also be arranged on the guide rail 13-2. After the driving unit 13-1 controls the laminate to be moved to move the actual moving distance in the corresponding direction, the limit unit 13-5 is controlled to limit the position.
  • roller 13-3 can be arranged on the left side, and/or the right side, and/or the rear side of the shelf.
  • the guide rail 13-2 can be arranged on the left side of the storage space of the sales container, and /Or right side, and/or back side.
  • the guide rails 13-2 can be set in one-to-one correspondence with the laminates, and the same guide rails 13-2 can also be shared by all the laminates. In actual applications, it can be set according to the needs; it needs to be pointed out that When the guide rails 13-2 and the laminates are arranged in one-to-one correspondence, the positions of the rollers 13-3 on the sides of the different laminates can be the same or different. For ease of description, the layers are arranged in order from top to bottom.
  • the roller 13-3 arranged on the side of the layer 1 is set in the middle of the left side of the layer 1, and the roller 13-3 arranged on the side of the layer 2 is set In the middle position on the left side of the layer plate 2, the roller 13-3 arranged on the side of the layer plate 3 is set on the left side of the right side of the layer plate 3; when the layers share the same guide rail 13-2, the roller 13-3
  • the positions on the sides of each layer are the same, for example, they are set in the middle position of the left and right sides of the layer.
  • each layer board shares the same guide rail 13-2, and the roller 13-3 is set in the middle position between the left and right sides of the layer board.
  • the layer board is marked as 10, and its structure diagram is shown in Figure 3; Yes, the position of the driving unit 13-1 can be set according to actual needs, for example, set at the bottom of the sales container.
  • the main control module 12 after the lifting module 13 controls the movement of the floor to be moved, also acquires a fourth image of the first target storage layer, where the fourth image includes the first target Plane image information of the storage layer; and, determine the purchased product according to the first image and the fourth image corresponding to the first target storage layer, and send the product information of the purchased product to the corresponding consumer.
  • the lifting module 13 also controls the layer to be moved to return to the position before the movement.
  • the main control module 12 After determining the movement information of the floor to be moved, the main control module 12 records the movement information of the floor to be moved, and when receiving the movement completion signal sent by the lifting module 13, it sends the second signal according to the receiving time of the movement completion signal.
  • Three image acquisition requests are given to the camera 11 arranged in the first target storage layer, so that the camera 11 in the first target storage layer receives the third image acquisition request according to the receiving time included in the third image acquisition request , Acquire the corresponding video frame in the video stream it shoots, and extract the fourth image from the acquired video frame; when the main control module 12 receives the fourth image sent by the camera 11 in the first target storage layer, it will
  • the first image and the fourth image corresponding to a target storage layer are input into the pre-trained deep neural network for learning, and the product information of the purchased product is obtained.
  • the product information such as product name, product category, product price, etc.
  • the product information of the purchased product is sent to the corresponding consumer, and the recovery information of the floor to be moved is determined according to the recorded movement information of the floor to be moved, and the floor recovery instruction is sent to the lifting module 13 according to the recovery information to make the lifting
  • the module 13 controls the layer to be moved to be restored to the position before the movement according to the restoration information.
  • the lifting module 13 when the lifting module 13 receives the laminate moving instruction sent by the main control module 12, it records the moving information of the laminate to be moved; after the main control module 12 determines the purchased product, the main control module 12 sends the laminate recovery instruction to Lifting module 13; when the lifting module 13 receives the laminate restoration instruction, it determines the laminate restoration information according to the recorded laminate movement information, and controls the laminate to be moved to the position before the movement according to the laminate restoration information.
  • the process of acquiring the fourth image by the camera 11 is similar to the process of acquiring the second image by the aforementioned camera 11, which can be referred to the foregoing related description, and the repetitions will not be repeated here.
  • the purchased product is determined based on the fourth image obtained after moving the laminate, which improves the accuracy of the determination result.
  • By restoring the laminate to the position before the move it is ensured that when the subsequent consumer purchases the product, every The storage layer has a certain space to facilitate the operation of consumers.
  • the shelf control equipment provided by one or more embodiments of this specification is provided with a lifting device connected to each shelf.
  • the equipment realizes the flexible control of the position of the shelf in the sales container based on the image collected by the camera, and can not only improve storage
  • the utilization rate of the object space can increase the distance between the camera in the storage layer where the product is operated and the product, reduce the blind spots and blind spots of the camera, and improve the accuracy of the images collected by the camera. Identify the accuracy of the recognition result of the purchased product.
  • FIG. 4 is a schematic flow chart of a method for regulating and controlling laminates according to one or more embodiments of this specification. As shown in FIG. 4, the method includes the following steps.
  • Step S102 Obtain a first image of each storage layer when the door of the sales container is opened, and a second image and a third image of each storage layer when the door is closed; wherein the first image, the second image, and the The third image is obtained by the camera set on the top side of each storage layer to collect the goods placed in the storage layer where it is located; the first image and the second image include the plane image information of the storage layer, and the third image includes the storage layer. Depth image information of the object layer.
  • the camera is a 3D camera, and each video frame in the video stream captured by it includes an image containing plane image information and an image containing depth image information; where the depth image information is like a three-dimensional space Location, size and other information.
  • Step S104 according to the acquired first image and second image, determine the first target storage layer where the operated commodity is located.
  • the operated goods include goods that have been moved by consumers and goods that have been purchased by consumers.
  • Step S106 according to the third image and the first target storage layer, determine the to-be-moved floor in the floor and the movement information of the to-be-moved floor.
  • Step S108 controlling the movement of the laminate to be moved according to the movement information of the laminate to be moved.
  • the flexible adjustment of the position of the shelf in the sales container is realized, which can not only improve the utilization rate of storage space, but also increase the number of commodities to be operated.
  • the distance between the camera in the storage layer and the product thereby reducing the blind spots and blind spots of the camera, improving the accuracy of the image collected by the camera, and improving the accuracy of the recognition result of identifying the purchased product.
  • the steps Obtaining the first image of each storage layer when the door of the sales container is opened, and the second image and the third image of each storage layer when the door is closed in S102 includes the following steps.
  • Step A1 When the door opening signal of the door of the selling container is detected, the first image acquisition request is sent to each camera according to the first detection time of the door opening signal, so that each camera can capture the video according to the first detection time
  • the corresponding video frame is obtained from the stream, and the first image is extracted from the obtained video frame.
  • the camera when the camera receives the first image acquisition request, it acquires the previous video frame of the video frame corresponding to the first detection time in the captured video stream, and extracts the first image from the acquired video frame; or, when the camera receives When it comes to the first image acquisition request, use the first detection time as the cut-off time of the first preset duration, determine the start time corresponding to the first preset duration, and obtain the start time from the captured video stream
  • the corresponding video frame is to extract the first image from the acquired video frame; or, when the camera receives the first image acquisition request, the first detection time is used as the expiration time of the first preset duration, and the captured video stream Any one of the video frames within the first preset period of time is acquired in, and the first image is extracted from the acquired video frame. It should be pointed out that when the camera extracts the first image from the acquired video frame, it can also extract the fifth image containing the depth image information of the storage layer at the same time.
  • Step A2 when the door closing signal of the selling container is detected, the second image acquisition request is sent to each camera according to the second detection time of the door closing signal, so that each camera can record the video according to the second detection time
  • the corresponding video frame is obtained from the stream, and the second image and the third image are extracted from the obtained video frame.
  • the camera when the camera receives the second image acquisition request, it acquires the next video frame of the video frame corresponding to the second detection time from the captured video stream, and extracts the second image and the third image from the acquired video frame; or
  • the second detection time is used as the start time of the second preset duration
  • the deadline corresponding to the second preset duration is determined, and the captured video stream is acquired
  • the captured video stream is acquired For the video frame corresponding to the deadline, extract the second image and the third image from the acquired video frame; or, when the camera receives the second image acquisition request, use the second detection time as the start of the second preset duration Time, acquire any video frame within the second preset duration in the captured video stream, and extract the second image and the third image from the acquired video frame; or, when the camera receives the second image acquisition request, Taking the second detection time as the start time of the second preset duration, acquire any two video frames within the second preset duration from the captured video stream, and extract the second image from one of the acquired video frames, The third image is extracted from another acquired
  • the above-mentioned first preset duration and second preset duration are both very short.
  • the first preset duration and the second preset duration can be the same or different. They can be set according to actual needs; as an example, the first The first preset duration and the second preset duration are the same, and both are 1 second.
  • the time interval between the collection time of the first image collected by the camera and the first detection time is very short, and the second image is collected by the camera
  • the time interval between the acquisition time and the second detection time is very short. Within this short time interval, it is difficult for consumers or other users to perform malicious operations.
  • the first image and the second image are Accuracy, thereby providing an effective data basis for the subsequent determination of the first target storage layer where the operated product is located, the determination of the movement information of the floor to be moved, and the determination of the purchased product.
  • step S104 includes the following.
  • Step S104-2 Determine the first image and the second image corresponding to each storage layer.
  • step S102 further includes: establishing a transmission channel with each camera to obtain the corresponding camera location through the transmission channel. The acquired image; and establishing a corresponding relationship between the channel identification of the transmission channel and the storage layer identification of the storage layer where the corresponding camera is located; correspondingly, step S104-2 includes: according to the channel identification of the transmission channel through which the first image is acquired, Obtain the corresponding storage layer identifier in the corresponding relationship between the channel identifier and the storage layer identifier, and use the corresponding first image as the first image of the storage layer corresponding to the acquired storage layer identifier; and according to the acquisition of the second image
  • the corresponding storage layer identification is obtained from the corresponding relationship between the channel identification and the storage layer identification, and the corresponding second image is used as the second image of the storage layer corresponding to the acquired storage layer identification .
  • each storage layer is assigned a storage layer identifier to establish a camera
  • the corresponding relationship between the identifier and the storage layer identifier, and the image names of the first image, the second image, and the third image include the camera identifier of the camera that collected the image.
  • step S104-2 includes: according to each For the camera identification included in the image name of the first image, the corresponding storage layer identification is obtained from the corresponding relationship between the camera identification and the storage layer identification, and the corresponding first image is used as the storage corresponding to the acquired storage layer identification The first image of the layer; and, according to the camera identification included in the image name of each second image, the corresponding storage layer identification is obtained from the corresponding relationship between the camera identification and the storage layer identification, and the corresponding second image is taken as The acquired second image of the storage layer corresponding to the storage layer identifier.
  • Step S104-4 Perform differential processing on the first image and the second image corresponding to each storage layer to obtain a differential image corresponding to each storage layer.
  • the pixel values of the same pixels of the first image and the second image corresponding to each storage layer are subtracted to obtain the pixel value difference of the corresponding pixel; the pixel value difference is regarded as the corresponding pixel of the difference image The pixel value of the point to obtain the difference image corresponding to each storage layer.
  • Step S104-6 Binarize the difference image corresponding to each storage layer to obtain a binarized image corresponding to each storage layer.
  • a matrix including multiple elements to be filled is constructed; the pixel value of each pixel of the differential image of each storage layer is compared with the preset pixel The value threshold is compared. If the pixel value of the pixel of the differential image is greater than the preset pixel value threshold, the corresponding element to be filled in the corresponding matrix is filled with the first preset value; if the pixel value of the pixel of the differential image Not greater than the preset pixel value threshold, fill the corresponding element to be filled in the corresponding matrix with the second preset value; use the image corresponding to the matrix in which all the elements to be filled are filled as the binarization of the corresponding storage layer image.
  • the first preset value is, for example, 1, and the second preset value is, for example, 0.
  • a schematic diagram of a matrix in which all the elements to be filled are filled is shown in FIG. 6.
  • Step S104-8 Determine the target binarized image that meets the preset condition in the binarized image.
  • the number of the first preset values included in the matrix of each binarized image is counted, and if the counted number is greater than the first preset number, then the corresponding binarized image is determined to be the target binarized image; or Count the number of second preset values included in the matrix of each binarized image, and if the counted number is greater than the second preset number, then determine that the corresponding binarized image is the target binarized image.
  • the first number and the second number may be the same or different, and they can be set according to actual needs.
  • step S104-10 the storage layer corresponding to the target binarized image is used as the first target storage layer where the operated commodity is located.
  • the first target storage layer may be one or multiple ; For example, after the consumer picks up the orange juice in storage layer 1 and compares the Coke in storage layer 3, then puts the Coke back into storage layer 2, then storage layer 1, storage layer 2 and storage layer 3 are the first target storage layer; another example, the consumer picked up three bottles of coffee of different brands in storage layer 2, and finally bought two of them, and put the other bottle back in storage layer 2.
  • the second storage layer is the first target storage layer.
  • step S106 includes the following
  • the implementation method of this step is similar to the process of determining the first image and the second image corresponding to each storage layer in the foregoing step S104-2, and may refer to the foregoing related description, which will not be repeated here.
  • the third image corresponding to each storage layer measure the vertical distance between the top of each commodity included in it and the top of the storage layer where the commodity is located, and compare the measured vertical distance to obtain the minimum vertical distance , And use the product corresponding to the minimum vertical distance as the target product.
  • the vertical distance between the top of the target product and the top of the storage layer is taken as the remaining height of the storage layer where the target product is located.
  • S106-8 determine the to-be-moved floor in the floor and the movement information of the to-be-moved floor.
  • step S106-8 includes the following steps.
  • Step B2 if it is determined that there is a storage layer with a non-zero movable distance based on the remaining height of each storage layer except the first target storage layer and the preset safety distance, then according to the non-zero movable distance For the storage layer, determine the layer to be moved.
  • the remaining layer height of each storage layer except the first target storage layer is subtracted from the preset safety distance to obtain the subtraction result, and the subtraction result is used as the movable distance of the corresponding storage layer to determine Whether there is a non-zero movable distance, if so, it is determined that there is a storage layer with a non-zero movable distance; and, according to the number of storage layers with a non-zero movable distance, the number of the first target storage layer, and The positional relationship between the storage layer with a non-zero movable distance and the first target storage layer determines the layer to be moved.
  • the layer includes: if the number of storage layers with a non-zero movable distance is one, the number of the first target storage layer is one, and the storage layer with a non-zero movable distance and the first target storage layer Adjacent and located above/below the first target storage layer, the bottom/top side layer of the storage layer with a non-zero movable distance is determined to be the layer to be moved; for ease of description, follow the top-to-bottom In order, mark each layer as layer 1, layer 2, layer 3, etc. For example, the storage layer with non-zero movable distance is storage layer 2, and the first target storage layer is storage layer 3. It is determined that the bottom layer of the storage layer 2 is the layer to be moved, that is, the layer 2 is the layer to be
  • the number of storage layers with a non-zero movable distance is not unique, the number of the first target storage layer is one, and the storage layer with a non-zero movable distance is continuous and corresponds to the first target storage layer.
  • the storage layer adjacent to and located above/below the first target storage layer is determined from the bottom/top side layer of the storage layer with non-zero movable distance to the top/bottom side layer of the first target storage layer
  • the plate is the layer to be moved; for example, the storage layers with non-zero movable distance are the storage layer 4 and the storage layer 5, and the first target storage layer is the storage layer 3, then the top of the storage layer 5 is determined
  • the bottom layer from the side layer to the storage layer 3 is the layer to be moved, that is, the layer 4 and the layer 3 are the layer to be moved.
  • the number of storage layers with non-zero movable distance is not unique, the number of the first target storage layer is one, and the storage layer with non-zero movable distance is a discontinuous storage layer, then when there is a non-zero storage layer
  • the bottom/top layer of the storage layer with non-zero movable distance located at the top/bottom will be transferred to the first target storage layer
  • the top/bottom side of the layer is determined to be the layer to be moved; when the storage layer with non-zero movable distance is scattered on the upper and lower sides of the first target storage layer, it will be located at the top of the first target storage layer
  • the bottom side deck of the storage layer with a non-zero movable distance to the top side deck of the first target storage layer, and the storage layer with a non-zero movable distance located at the bottom of the first target storage layer From the top side deck of the first target storage layer to the bottom side deck of the first target storage layer
  • the storage layers with non-zero movable distance are storage layer 1 and storage layer 3, and the first target storage layer is storage layer 5, then the bottom layer of storage layer 1 is plated to storage layer 5.
  • the top layer is determined as the layer to be moved, that is, the layer 1, the layer 2, the layer 3, and the layer 4 are the layer to be moved; another example, the storage layer with a non-zero movable distance is the storage layer 1.
  • Storage layer 2 storage layer 5, the first target storage layer is storage layer 3, then the bottom layer of storage layer 1 to the top side of storage layer 3, and the storage layer
  • the top side layer of 5 to the bottom side of the storage layer 3 is determined to be a movable layer, that is, the layer 1, the layer 2, the layer 3, and the layer 4 are the layers to be moved;
  • the storage layers with zero movable distance are storage layer 2 and storage layer 4, and the first target storage layer is storage layer 3, then the bottom side layer of storage layer 2 and the top side layer of storage layer 4
  • the board is a movable laminate, that is, the laminate 2 and the laminate 3 are the laminates to be moved.
  • one of the first target storage layers can be used as the current target storage layer in turn, and the movable layer of the current target storage layer can be determined according to the above method. board. It is also possible to maximize the space of each first target storage layer at the same time as the goal, and calculate based on the movable distance of the storage layer with non-zero movable distance and the preset distance, so as to determine the movable layer according to the result of the calculation.
  • the first target storage layer is storage layer 2 and storage layer 5, the storage layers with non-zero movable distance are storage layer 1 and storage layer 4, and the movable storage layer 1
  • the distance is 9 cm
  • the movable distance of storage layer 4 is 2 cm
  • the preset distance is 5 cm; it can be determined that the bottom layer of storage layer 1 moves up by 5 cm to make the target storage layer 2 reach the preset
  • storage layer 1 still has a movable distance of 3 cm, and storage layer 5 cannot reach the preset distance after the bottom side of storage layer 4 moves up 2 cm.
  • the storage layer 5 can reach the shooting distance; alternatively, the bottom layer of the storage layer 1 can be moved up by 9 cm, and the top and bottom layers of the storage layer 3 can be moved up by 4 cm.
  • the top and bottom layers of the storage layer 3, and the bottom layer of the storage layer 4 are determined to be the layers to be moved, that is, the layer 1, the layer 2, the layer 3, and the layer 4 are the layers to be moved. Move the shelf. It should be understood that when the number of the first target storage layer is greater than one, the strategy for determining the movable layer can be configured by oneself, which can maximize the space of the target storage layer, and each determines the movable layer. The strategies are all within the scope of protection of this application, and no examples are given here.
  • Step B4 Determine the moving direction of the floor to be moved according to the positional relationship between the floor to be moved and the first target storage layer.
  • the moving direction of the layer to be moved is upward; if the layer to be moved is located at the first target Below the storage layer, the moving direction of the layer to be moved is downward.
  • the moving direction of the layer to be moved can be determined according to a specific calculation process.
  • Step B6 Determine the actual moving distance of the floor to be moved according to the movable distance of the storage layer corresponding to the floor to be moved.
  • the movable distance of the corresponding storage layer is determined to be the actual moving distance of the layer to be moved; for example, The target storage layer is storage layer 3, the layer to be moved is layer 2, and the movable distance of storage layer 2 corresponding to layer 2 is 1.5 cm, then the actual moving distance of the layer 2 to be moved is determined to be 1.5 cm .
  • the number of the first target storage layer is one, the number of the layer to be moved is not unique and it is located above/below the target storage layer, each layer to be moved will be the bottom in order from top to bottom/bottom to top. /The movable distance of the storage layer of the top side layer is accumulated, and the accumulated result is used as the actual moving distance of the corresponding movable layer; for example, the first target storage layer is storage layer 4, and the layer to be moved is layer Plate 1, layer 2, and layer 3.
  • the movable distance of storage layer 1 with layer 1 as the bottom layer is 1 cm
  • the movable distance of storage layer 2 with layer 2 as the bottom layer The distance is 1.5 cm
  • the movable distance of storage layer 3 with layer 3 as the bottom layer is 1 cm
  • the actual moving distance of layer 1 is determined to be 1 cm
  • the first target storage layer is storage layer 2
  • the layer to be moved is layer 2
  • layer 3 and Layer 4 the movable distance of storage layer 3 with layer 2 as the top side layer is 1 cm
  • the movable distance of storage layer 4 with layer 3 as the top side layer is 0 cm.
  • the moving distance of the layer to be moved can be determined according to a specific calculation process.
  • Step B8 Use the moving direction and the actual moving distance of the layer to be moved as the moving information of the layer to be moved.
  • step B2 to step B8 it is possible to determine all the layers with moving space according to the storage layer with non-zero movable distance and use them as the layer to be moved, so as to make the space of the first target storage layer Maximize.
  • step S106-8 includes the following.
  • Step C2 if it is determined that there is a distance that is closest to the first target storage layer and the total movable distance is not less than the preset safety distance according to the remaining height of each storage layer except the first target storage layer and the preset safety distance According to the second target storage layer of the distance, the layer to be moved is determined according to the second target storage layer.
  • the remaining layer height of each storage layer except the first target storage layer is subtracted from the preset safety distance, and the subtraction result is used as the movable distance of the corresponding storage layer; and, the current calculation layer
  • the number is counted as one, and it is judged whether the movable distance of a storage layer adjacent to the first target storage layer upward or downward based on the first target storage layer is not less than the preset distance, if yes, determine the one
  • the storage layer is the target storage layer.
  • determining the layer to be moved includes the following.
  • the number of the first target storage layer is one and the second target storage layer is located above/below the first target storage layer, it will be located on the bottom/top side of the top/bottom second target storage layer
  • the top/bottom layer from the layer to the first target storage layer is determined to be the layer to be moved; for example, the first target storage layer is storage layer 4, and the second target storage layer is storage layer 2.
  • the storage layer 3, the bottom side layer of the storage layer 2 to the top side layer of the storage layer 4 are determined as the layer to be moved, that is, the layer 2 and the layer 3 are the layer to be moved.
  • the first target storage layer is storage layer 3.
  • the second target storage layer is storage layer 2, storage layer 4, and storage layer 5.
  • the bottom side slab of storage layer 2 and the top side slab of storage layer 4 and storage layer 5 are determined as The layers to be moved, that is, the layer 2, the layer 3, and the layer 4, are the layers to be moved.
  • the number of the first target storage layer is greater than one, one of the first target storage layers can be used as the current target storage layer in turn, and the mobility of the current target storage layer can be determined according to the above method. Laminate. It is also possible to maximize the space of each first target storage layer at the same time as the goal, and calculate based on the movable distance of the storage layer with non-zero movable distance and the preset distance, so as to determine the movable layer according to the result of the calculation. board. It should be understood that when the number of the first target storage layer is greater than one, the strategy for determining the movable layer can be configured by oneself, which can maximize the space of the target storage layer, and each determines the movable layer. The strategies are all within the scope of protection of this application, and no examples are given here.
  • Step C4 Determine the moving direction of the floor to be moved according to the positional relationship between the floor to be moved and the first target storage layer.
  • Step C6 according to the movable distance of the second target storage layer, determine the actual moving distance of the layer to be moved.
  • Step C8 Use the moving direction and the actual moving distance of the layer to be moved as the moving information of the layer to be moved.
  • step C2 to step C8 the distance between the camera in the first target storage layer and the product can reach the preset distance that can collect clear and complete images without moving too many layers to ensure safety And stability.
  • the subsequent precise control of the to-be-moved laminate is performed based on the movement information, without damaging part of the goods due to the different heights of goods in the same storage layer.
  • step S108 Including: according to the moving information of the shelf to be moved and the shelf identification, sending the moving instruction of the shelf to the lifting module set in the sales container, so that the driving unit in the lifting module drives according to the moving information included in the moving instruction of the shelf
  • the layer plate to be moved corresponding to the layer plate identifier moves along the guide rails in the lifting module through the rollers provided on the side of the layer plate.
  • step S108 the following steps are further included.
  • Step S110 Obtain a fourth image of the first target storage layer, where the fourth image includes planar image information of the first target storage layer.
  • the third image acquisition request is sent to the camera set in the first target storage layer according to the receiving time of the movement completion signal; the first target storage The camera in the layer receives the third image acquisition request, according to the receiving time included in the third image acquisition request, acquires the corresponding video frame in the video stream it shoots, extracts the fourth image from the acquired video frame and returns it; receives the first The fourth image returned by the camera in the target storage layer.
  • Step S112 Determine the purchased commodity according to the first image and the fourth image corresponding to the first target storage layer.
  • the first image and the fourth image corresponding to the first target storage layer are input into a pre-trained deep neural network for learning, and the product information of the product to be taken out is obtained.
  • the product information such as product name, product category, Commodity prices, etc.
  • the training process of the deep neural network is a technical means well known to those skilled in the art.
  • the specific training process will not be repeated here, and the training process of the existing deep neural network can be referred to.
  • step S114 the product information of the purchased product is sent to the corresponding consumer, and the floor to be moved is controlled to be restored to the position before the movement.
  • the product information of the purchased product obtained through learning is sent to the corresponding consumer, so that the consumer can confirm and pay the corresponding fee;
  • the purchased product is determined based on the fourth image obtained after moving the laminate, which improves the accuracy of the determination result.
  • step S106-8 it further includes: recording the determined movement information of the laminate to be moved; correspondingly, controlling the recovery of the shelf to be moved to the position before the movement includes: determining the recovery information of the shelf to be moved according to the recorded movement information of the shelf to be moved, and sending the recovery instruction of the shelf to the sales container according to the recovery information.
  • the lifting module so that the lifting module controls the to-be-moved layer board to be restored to the position before the movement according to the restoration information.
  • controlling the shelf to be moved to be restored to the position before the movement includes: sending the shelf to restore The instruction is given to the lifting module in the sales container, so that the lifting module determines the recovery information of the floor according to the recorded floor movement information, and controls the floor to be moved to be restored to the position before the movement according to the recovery information of the floor.
  • the shelf adjustment method provided by one or more embodiments of this specification can determine the movement information of the shelf to be moved based on the images collected by each camera in the sales container; it realizes the flexible adjustment of the position of the shelf in the sales container, not only Improve the utilization of storage space, and increase the distance between the camera in the storage layer where the product is operated and the product, thereby reducing the blind spots and blind spots of the camera, and improving the accuracy of the image collected by the camera , And improve the accuracy of the recognition results that identify the purchased goods.
  • FIG. 11 is a schematic diagram of the module composition of the laminate control device provided by one or more embodiments of this specification. The device is used to implement the laminate control method described in FIG. 4 to FIG. 10. As shown in FIG. 11, the device includes the following modules .
  • the acquiring module 201 which acquires the first image of each storage layer when the door of the sales container is opened, and the second image and the third image of each storage layer when the door is closed; wherein, The first image, the second image, and the third image are all obtained by a camera arranged on the top side of each of the storage layers to collect commodities placed in the storage layer where they are located; the first image And the second image includes planar image information of the storage layer, and the third image includes depth image information of the storage layer.
  • the first determining module 202 determines the first target storage layer where the operated commodity is located according to the first image and the second image.
  • the second determining module 203 determines the to-be-moved floor in the floor and the movement information of the to-be-moved floor according to the third image and the first target storage layer.
  • the control module 204 controls the movement of the laminate to be moved according to the movement information of the laminate to be moved.
  • the flexible adjustment of the position of the shelf in the sales container is realized, which can not only improve the utilization rate of storage space, but also increase the number of commodities to be operated.
  • the distance between the camera in the storage layer and the product thereby reducing the blind spots and blind spots of the camera, improving the accuracy of the image collected by the camera, and improving the accuracy of the recognition result of identifying the purchased product.
  • the acquisition module 201 when detecting a door opening signal that the door of the sales container is opened, sends a first image acquisition request to each of the cameras according to the first detection time of the door opening signal to Make each of the cameras obtain the corresponding video frame in the captured video stream according to the first detection time, and extract the first image from the obtained video frame; and, when it is detected that the door of the sales container is When the door-closing signal is closed, a second image acquisition request is sent to each camera according to the second detection time of the door-closing signal, so that each camera obtains the corresponding image in the captured video stream according to the second detection time. The second image and the third image are extracted from the acquired video frame.
  • the first determining module 202 determines the first image and the second image corresponding to each storage layer; and, for the first image and the second image corresponding to each storage layer The second image is subjected to differential processing to obtain a differential image corresponding to each storage layer; the differential image corresponding to each storage layer is binarized to obtain a binary image corresponding to each storage layer; In the binarized image, a target binarized image that meets a preset condition is determined; the storage layer corresponding to the target binarized image is used as the first target storage layer where the operated commodity is located.
  • the second determining module 203 determines the third image corresponding to each storage layer; and, among the commodities included in the third image corresponding to each storage layer, obtains the commodity
  • the target product with the smallest vertical distance between the top and the top of the storage layer where the product is located; the vertical distance between the top of the target product and the top of the storage layer where the target product is located is taken as the storage layer where the target product is located.
  • the remaining layer height of the material layer according to the remaining layer height of the storage layer, determine the layer to be moved in the layer and the movement information of the layer to be moved.
  • the second determining module 203 determines that there is a storage with a non-zero movable distance based on the remaining layer height and a preset safety distance of each storage layer except the first target storage layer.
  • the position relationship of the target storage layer determines the moving direction of the layer to be moved;
  • the actual moving distance of the layer to be moved is determined according to the movable distance of the storage layer corresponding to the layer to be moved;
  • the moving direction and actual moving distance of the to-be-moved floor are used as the moving information of the to-be-moved floor; or, if it is based on the remaining floor height and pre-determined height of each storage layer except for the first target storage layer Set a safe distance, determine that there is a second target storage layer that is closest to the first target storage layer
  • control module 204 sends a floor movement instruction to the lifting module set in the sales container according to the moving information and the floor identifier of the floor to be moved, so that the lifting module According to the movement information, the driving unit drives the layer plate to be moved corresponding to the layer plate identifier to move along the guide rail in the lifting module through the roller provided on the side of the layer plate.
  • the acquisition module 201 further acquires a fourth image corresponding to the first target storage layer after the control module 204 controls the movement of the floor to be moved, wherein the fourth image Including the plane image information of the first target storage layer; and, determining the purchased commodity according to the first image and the fourth image corresponding to the first target storage layer;
  • the commodity information of the commodity is sent to the corresponding consumer; the control module 204 also controls the to-be-moved laminate to be restored to the position before the movement.
  • the layer control device provided in one or more embodiments of this specification can determine the movement information of the layer to be moved based on the images collected by each camera in the sales container; it realizes the flexible control of the position of the layer in the sales container, not only It can improve the utilization of storage space, and can increase the distance between the camera in the storage layer where the product is operated and the product, thereby reducing the blind spots and dead spots of the camera, and improving the accuracy of the image collected by the camera And improve the accuracy of the recognition results of the purchased goods.
  • FIG. 12 is a schematic structural diagram of a laminate control device provided by one or more embodiments of this specification.
  • the layer control device may have relatively large differences due to different configurations or performances, and may include one or more processors 301 and a memory 302, and the memory 302 may store one or more storage application programs. Or data. Among them, the memory 302 may be short-term storage or persistent storage.
  • the application program stored in the memory 302 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions in the layer control device.
  • the processor 301 may be configured to communicate with the memory 302, and execute a series of computer-executable instructions in the memory 302 on the layer control device.
  • the layer control device may also include one or more power supplies 303, one or more wired or wireless network interfaces 304, one or more input and output interfaces 305, one or more keyboards 306, and so on.
  • the layer control device includes a memory and one or more programs, wherein one or more programs are stored in the memory, and the one or more programs may include one or more modules, and Each module may include a series of computer-executable instructions for the layer control device, and the one or more programs configured to be executed by one or more processors include computer-executable instructions for performing the following.
  • the first image , The second image and the third image are both obtained by a camera set on the top side of each of the storage layers to collect commodities placed in the storage layer where they are located; the first image and the second image
  • the image includes the plane image information of the storage layer, the third image includes the depth image information of the storage layer; according to the first image and the second image, determine the first target where the operated commodity is located Storage layer; according to the third image and the first target storage layer, determine the layer to be moved in the layer and the moving information of the layer to be moved; according to the layer to be moved
  • the movement information controls the movement of the layer to be moved.
  • the flexible adjustment of the position of the shelf in the sales container is realized, which can not only improve the utilization of storage space, but also increase the location of the goods to be operated.
  • the distance between the camera in the storage layer and the goods thereby reducing the blind spots and blind spots of the camera, improving the accuracy of the images collected by the camera, and improving the accuracy of the recognition results for identifying the purchased goods.
  • the acquisition of the first image of each storage layer when the door of the sales container is opened, and the first image of each storage layer when the door is closed includes: when the door opening signal that the door of the sales container is opened is detected, a first image acquisition request is sent to each of the cameras according to the first detection time of the door opening signal to Make each of the cameras obtain the corresponding video frame in the captured video stream according to the first detection time, and extract the first image from the obtained video frame; when it is detected that the door of the sales container is closed When the door is closed, a second image acquisition request is sent to each camera according to the second detection time of the door close signal, so that each camera obtains the corresponding video from the captured video stream according to the second detection time Frame, extracting the second image and the third image from the acquired video frame.
  • the determining, based on the first image and the second image, the first target storage layer where the operated commodity is located includes: determining that each storage layer corresponds to The first image and the second image of each storage layer; perform differential processing on the first image and the second image corresponding to each storage layer to obtain a differential image corresponding to each storage layer; Binarize the difference image corresponding to the storage layer to obtain the binarized image corresponding to each storage layer; determine the target binarized image that meets the preset conditions in the binarized image; The storage layer corresponding to the binarized image serves as the first target storage layer where the operated commodity is located.
  • the third image and the first target storage layer are used to determine the layer to be moved in the layer and the size of the layer to be moved.
  • the movement information includes: determining the third image corresponding to each storage layer; among the commodities included in the third image corresponding to each storage layer, obtaining the difference between the top of the commodity and the top of the storage layer where the commodity is located.
  • the target product with the smallest vertical distance between the target product; the vertical distance between the top of the target product and the top of the storage layer where the target product is located is taken as the remaining height of the storage layer where the target product is located; according to the The remaining layer height of the storage layer is used to determine the layer to be moved in the layer and the movement information of the layer to be moved.
  • the determining the floor to be moved in the floor and the movement information of the floor to be moved according to the remaining height of the storage floor includes: If it is determined that there is a storage layer with a non-zero movable distance according to the remaining layer height and the preset safety distance of each storage layer except the first target storage layer, then according to the said storage layer with non-zero movable distance Determine the position relationship between the storage layer and the first target storage layer of the distance, determine the layer to be moved; determine the layer to be moved according to the position relationship between the layer to be moved and the first target storage layer The moving direction of the board; according to the movable distance of the storage layer corresponding to the to-be-moved floor, determine the actual moving distance of the to-be-moved floor; take the moving direction and the actual moving distance of the to-be-moved floor as The movement information of the floor to be moved; or, if it is determined that there is a distance from the first target storage layer according to the remaining
  • the position relationship of a target storage layer determines the moving direction of the layer to be moved; the actual moving distance of the layer to be moved is determined according to the movable distance of the second target storage layer; The moving direction and the actual moving distance of the moving laminate are used as the moving information of the to-be-moved laminate.
  • the controlling the movement of the floor to be moved according to the movement information of the floor to be moved includes: according to the movement information of the floor to be moved and the floor Identification, sending a floor moving instruction to the lifting module set in the sales container, so that the driving unit in the lifting module drives the floor to be moved corresponding to the floor identification to pass through it according to the movement information
  • the rollers arranged on the side move along the guide rails in the lifting module.
  • the method further includes: acquiring a fourth image corresponding to the first target storage layer, wherein the fourth image Including the plane image information of the first target storage layer; determine the purchased commodity according to the first image and the fourth image corresponding to the first target storage layer; The product information is sent to the corresponding consumer, and the laminate to be moved is controlled to be restored to the position before the movement.
  • the layer control equipment provided by one or more embodiments of this specification can determine the movement information of the layer to be moved based on the images collected by each camera in the selling container; it realizes the flexible control of the position of the layer in the selling container, which can not only improve
  • the utilization of storage space can increase the distance between the camera and the product in the storage layer where the product is operated, thereby reducing the blind spots and dead spots of the camera, and improving the accuracy of the image collected by the camera. And to improve the accuracy of the recognition results for identifying the purchased goods.
  • one or more embodiments of this specification also provide a storage medium for storing computer-executable instructions.
  • the storage medium may be a U disk, an optical disk, a hard disk, etc., and the computer executable instructions stored in the storage medium can implement the following process when executed by the processor.
  • the first image , The second image and the third image are both obtained by a camera set on the top side of each of the storage layers to collect commodities placed in the storage layer where they are located; the first image and the second image
  • the image includes the plane image information of the storage layer, the third image includes the depth image information of the storage layer; according to the first image and the second image, determine the first target where the operated commodity is located Storage layer; according to the third image and the first target storage layer, determine the layer to be moved in the layer and the moving information of the layer to be moved; according to the layer to be moved
  • the movement information controls the movement of the layer to be moved.
  • the flexible adjustment of the position of the shelf in the sales container is realized, which can not only improve the utilization of storage space, but also increase the location of the goods to be operated.
  • the distance between the camera in the storage layer and the goods thereby reducing the blind spots and blind spots of the camera, improving the accuracy of the images collected by the camera, and improving the accuracy of the recognition results for identifying the purchased goods.
  • the acquisition of the first image of each storage layer when the door of the sales container is opened, and when the door is closed The second image and the third image of each of the storage layers include: when the door opening signal of the selling container is detected, sending a first image acquisition request according to the first detection time of the door opening signal To each of the cameras so that each of the cameras obtains the corresponding video frame in the captured video stream according to the first detection time, and extracts the first image from the obtained video frame; when the sale is detected When the door of the container is closed with a door-closing signal, a second image acquisition request is sent to each camera according to the second detection time of the door-closing signal, so that each camera can capture the image according to the second detection time.
  • the corresponding video frame is acquired from the video stream, and the second image and the third image are extracted from the acquired video frame.
  • the determining the first target storage layer where the operated commodity is located according to the first image and the second image includes: Determine the first image and the second image corresponding to each storage layer; perform differential processing on the first image and the second image corresponding to each storage layer to obtain the corresponding storage layer Binarize the difference image corresponding to each storage layer to obtain the binarized image corresponding to each storage layer; determine the target binary value that meets the preset conditions in the binarized image The target binarized image; the storage layer corresponding to the target binarized image is used as the first target storage layer where the operated commodity is located.
  • the third image and the first target storage layer are used to determine the layer to be moved in the layer and
  • the movement information of the floor to be moved includes: determining the third image corresponding to each storage layer; among the commodities included in the third image corresponding to each storage layer, acquiring the top of the commodity and the commodity
  • the target product with the smallest vertical distance between the top of the storage layer; the vertical distance between the top of the target product and the top of the storage layer where the target product is located is taken as the value of the storage layer where the target product is located
  • the remaining floor height according to the remaining floor height of the storage layer, determine the floor to be moved in the floor and the movement information of the floor to be moved.
  • the layer to be moved and the layer to be moved in the layer are determined according to the remaining height of the storage layer
  • the movement information of the board includes: if it is determined that there is a storage layer with a non-zero movable distance according to the remaining layer height and the preset safety distance of each storage layer except the first target storage layer, then Determine the position relationship between the storage layer with non-zero movable distance and the first target storage layer to determine the layer to be moved; according to the position relationship between the layer to be moved and the first target storage layer , Determine the moving direction of the floor to be moved; determine the actual moving distance of the floor to be moved according to the movable distance of the storage layer corresponding to the floor to be moved; The moving direction and the actual moving distance are used as the moving information of the layer to be moved; or, if the existing distance is determined based on the remaining layer height of each storage layer except the first target storage layer and the preset safety distance If the first target storage layer is the
  • controlling the movement of the layer to be moved according to the movement information of the layer to be moved includes: according to the layer to be moved The movement information of the board and the shelf identification, and the shelf movement instruction is sent to the lifting module set in the sales container, so that the driving unit in the lifting module drives the corresponding to the shelf identification according to the movement information
  • the to-be-moved layer board moves along the guide rail in the lifting module through the rollers provided on the side of the layer.
  • the method further includes: acquiring a fourth image corresponding to the first target storage layer; Wherein, the fourth image includes plane image information of the first target storage layer; determining the purchased commodity according to the first image and the fourth image corresponding to the first target storage layer; The product information of the purchased product is sent to the corresponding consumer, and the laminate to be moved is controlled to be restored to the position before the movement.
  • the computer executable instructions stored in the storage medium provided by one or more embodiments of this specification are executed by the processor, they can determine the movement information of the shelf to be moved based on the images collected by the cameras in the sales container; the sales container is realized
  • the flexible adjustment of the position of the middle board can not only improve the utilization of storage space, but also increase the distance between the camera and the product in the storage layer where the product is operated, thereby reducing the blind spot and shooting corner of the camera, and improving The accuracy of the image collected by the camera and the accuracy of the recognition result for identifying the purchased product are improved.
  • the improvement of a technology can be clearly distinguished between hardware improvements (for example, improvements in circuit structures such as diodes, transistors, switches, etc.) and software improvements (improvements in method flow).
  • hardware improvements for example, improvements in circuit structures such as diodes, transistors, switches, etc.
  • software improvements improvements in method flow
  • the improvement of many methods and processes of today can be regarded as a direct improvement of the hardware circuit structure.
  • Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by the hardware entity module.
  • a programmable logic device Programmable Logic Device, PLD
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • ABEL Advanced Boolean Expression Language
  • AHDL Altera Hardware Description Language
  • HDCal JHDL
  • Lava Lava
  • Lola MyHDL
  • PALASM RHDL
  • VHDL Very-High-Speed Integrated Circuit Hardware Description Language
  • Verilog Verilog
  • the controller can be implemented in any suitable manner.
  • the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program codes (such as software or firmware) executable by the (micro)processor. , Logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers and embedded microcontrollers. Examples of controllers include but are not limited to the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicon Labs C8051F320, the memory controller can also be implemented as part of the memory control logic.
  • controllers in addition to implementing the controller in a purely computer-readable program code manner, it is entirely possible to program the method steps to make the controller use logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded logic.
  • the same function can be realized in the form of a microcontroller or the like. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as a structure within the hardware component. Or even, the device for realizing various functions can be regarded as both a software module for realizing the method and a structure within a hardware component.
  • a typical implementation device is a computer.
  • the computer may be, for example, a personal computer, a laptop computer, a cell phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or Any combination of these devices.
  • one or more embodiments of this specification can be provided as a method, a system, or a computer program product. Therefore, one or more embodiments of this specification may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-permanent memory in a computer readable medium, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer-readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
  • One or more embodiments of this specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules.
  • program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types.
  • One or more embodiments of this specification can also be practiced in distributed computing environments. In these distributed computing environments, tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

Abstract

A device, method and apparatus for adjusting and controlling a shelf, which are applied to a vending cabinet, with a storage space inside the vending cabinet being divided into a plurality of storage layers by means of shelves. The device for adjusting and controlling a shelf comprises: cameras (11) that are arranged on the top side of all storage layers, a main control module (12) and a lifting module (13), wherein when a cabinet door of a vending cabinet is opened, each camera (11) collects a first image of the storage layer where the camera itself is located, and when the cabinet door of the vending cabinet is closed, the camera collects a second image and a third image of the storage layer where the camera itself is located, the first image and the second image comprise planar image information of the storage layer, and the third image comprises depth image information of the storage layer; the main control module (12) determines a shelf to be moved and movement information of said shelf according to the images collected by the camera (11); and the lifting module (13) is connected to all shelves, and controls the movement of said shelf according to the movement information of said shelf.

Description

层板调控设备、方法及装置Laminate control equipment, method and device 技术领域Technical field
本申请涉及物联网技术领域,尤其涉及一种层板调控设备、方法及装置。This application relates to the technical field of the Internet of Things, and in particular to a laminate control equipment, method and device.
背景技术Background technique
随着物联网技术的快速发展,无需人工看守且能够全天候向消费者售卖商品的自助售卖货柜得到广泛应用,其通过对安装于内部的摄像头所采集的图像进行处理,识别消费者选购的商品,进而进行费用结算。With the rapid development of the Internet of Things technology, self-service vending containers that do not require human guards and can sell goods to consumers around the clock are widely used. They process the images collected by the cameras installed inside to identify the goods purchased by consumers. And then settle the fee.
当前,自助售卖货柜通常设置有多个储物层,且每个储物层的空间大小是固定的,然而固定空间大小的储物层,不仅空间利用率低,而且会因消费者选购商品时将原有的商品摆放方式打乱,使得高矮商品相互遮挡,产生摄像头拍摄不到的死角,从而导致无法准确的识别消费者所购买的商品等问题。Currently, self-service vending containers are usually equipped with multiple storage layers, and the space of each storage layer is fixed. However, the storage layer with a fixed space size not only has a low space utilization rate, but also may cause consumers to purchase goods. When the original product placement is disrupted, the tall and short products block each other, resulting in blind spots that cannot be captured by the camera, which leads to problems such as inaccurate identification of the products purchased by consumers.
发明内容Summary of the invention
本说明书一个或多个实施例的目的是提供一种调控设备、方法及装置,能够基于摄像头所采集的图像,对售卖货柜中层板的位置进行灵活调控,不仅可以提升储物空间的利用率,而且能够增大被操作商品所在储物层中的摄像头与商品之间的距离,从而减少该摄像头的拍摄盲区和拍摄死角,提升该摄像头所采集的图像的准确性,以及提升识别被购买商品的识别结果的准确性。The purpose of one or more embodiments of this specification is to provide a control device, method, and device that can flexibly control the position of the shelf in the sales container based on the image collected by the camera, which can not only improve the utilization of storage space, but also And it can increase the distance between the camera in the storage layer where the product is operated and the product, thereby reducing the blind spot and corner of the camera, improving the accuracy of the image collected by the camera, and improving the identification of the purchased product Accuracy of recognition results.
为解决上述技术问题,本说明书一个或多个实施例是通过以下实现的。In order to solve the above technical problems, one or more embodiments of this specification are implemented as follows.
本说明书一个或多个实施例提供了一种层板调控设备,应用于售卖货柜,其中,所述售卖货柜内部的储物空间被层板划分为多个储物层,所述设备包括:设置于每个所述储物层顶侧的摄像头;所述摄像头在所述售卖货柜的柜门被打开时采集自身所在储物层的第一图像,以及在所述售卖货柜的柜门被关闭时采集自身所在储物层的第二图像和第三图像;其中,所述第一图像和所述第二图像包括所述储物层的平面图像信息,所述第三图像包括所述储物层的深度图像信息;主控模块,其根据各所述摄像头所采集的所述第一图像和所述第二图像,确定被操作商品所在的第一目标储物层;以及,根据各所述摄像头所采集的所述第三图像和所述第一目标储物层,确定所述层板中的待移动层板以 及所述待移动层板的移动信息;升降模块,其与各所述层板相连,根据所述待移动层板的移动信息控制所述待移动层板移动。One or more embodiments of this specification provide a laminate control device, which is applied to a sales container, wherein the storage space inside the sales container is divided into multiple storage layers by the laminate, and the device includes: A camera on the top side of each of the storage layers; the camera collects the first image of the storage layer where it is when the door of the sales container is opened, and when the door of the sales container is closed Acquire a second image and a third image of the storage layer where oneself is located; wherein the first image and the second image include planar image information of the storage layer, and the third image includes the storage layer The main control module, which determines the first target storage layer where the operated commodity is located according to the first image and the second image collected by each of the cameras; and, according to each of the cameras The acquired third image and the first target storage layer determine the to-be-moved floor in the floor and the moving information of the to-be-moved floor; the lifting module, which is connected to each of the floor Connected, and control the movement of the layer to be moved according to the movement information of the layer to be moved.
本说明书一个或多个实施例提供了一种层板调控方法,应用于售卖货柜,其中,所述售卖货柜内部的储物空间被层板划分为多个储物层,所述方法包括:获取售卖货柜的柜门被打开时各所述储物层的第一图像,以及所述柜门被关闭时各所述储物层的第二图像和第三图像;其中,所述第一图像、所述第二图像和所述第三图像均由设置于各所述储物层顶侧的摄像头,采集自身所在储物层中放置的商品而得;所述第一图像和所述第二图像包括所述储物层的平面图像信息,所述第三图像包括所述储物层的深度图像信息;根据所述第一图像和所述第二图像,确定被操作商品所在的第一目标储物层;根据所述第三图像和所述第一目标储物层,确定所述层板中的待移动层板以及所述待移动层板的移动信息;根据所述待移动层板的移动信息,控制所述待移动层板移动。One or more embodiments of the present specification provide a layer control method, which is applied to a sales container, wherein the storage space inside the sales container is divided into a plurality of storage layers by the layer, and the method includes: obtaining The first image of each storage layer when the door of the sales container is opened, and the second image and the third image of each storage layer when the door is closed; wherein, the first image, The second image and the third image are both obtained by a camera arranged on the top side of each of the storage layers to collect commodities placed in the storage layer where they are located; the first image and the second image Including the plane image information of the storage layer, the third image includes the depth image information of the storage layer; according to the first image and the second image, determine the first target storage where the operated commodity is located Object layer; according to the third image and the first target storage layer, determine the layer to be moved in the layer and the movement information of the layer to be moved; according to the movement of the layer to be moved Information to control the movement of the layer to be moved.
本说明书一个或多个实施例提供了一种层板调控装置,应用于售卖货柜,其中,所述售卖货柜内部的储物空间被层板划分为多个储物层,所述装置包括:获取模块,其获取售卖货柜的柜门被打开时各所述储物层的第一图像,以及所述柜门被关闭时各所述储物层的第二图像和第三图像;其中,所述第一图像、所述第二图像和所述第三图像均由设置于各所述储物层顶侧的摄像头,采集自身所在储物层中放置的商品而得;所述第一图像和所述第二图像包括所述储物层的平面图像信息,所述第三图像包括所述储物层的深度图像信息;第一确定模块,其根据所述第一图像和所述第二图像,确定被操作商品所在的第一目标储物层;第二确定模块,其根据所述第三图像和所述第一目标储物层,确定所述层板中的待移动层板以及所述待移动层板的移动信息;控制模块,其根据所述待移动层板的移动信息,控制所述待移动层板移动。One or more embodiments of this specification provide a layer control device, which is applied to a sales container, wherein the storage space inside the sales container is divided into multiple storage layers by the layer, and the device includes: Module, which acquires the first image of each storage layer when the door of the sales container is opened, and the second image and the third image of each storage layer when the door is closed; wherein, the The first image, the second image, and the third image are all obtained by a camera set on the top side of each of the storage layers to collect commodities placed in the storage layer where they are located; the first image and the The second image includes planar image information of the storage layer, and the third image includes depth image information of the storage layer; a first determination module, which, according to the first image and the second image, Determine the first target storage layer where the operated commodity is located; a second determination module, which determines the layer to be moved in the layer and the layer to be moved according to the third image and the first target storage layer The movement information of the moving floor; a control module, which controls the movement of the floor to be moved according to the movement information of the floor to be moved.
本说明书一个或多个实施例提供了一种层板调控设备,包括:处理器;以及,被安排成存储计算机可执行指令的存储器,所述计算机可执行指令在被执行时使所述处理器:获取售卖货柜的柜门被打开时各所述储物层的第一图像,以及所述柜门被关闭时各所述储物层的第二图像和第三图像;其中,所述第一图像、所述第二图像和所述第三图像均由设置于各所述储物层顶侧的摄像头,采集自身所在储物层中放置的商品而得;所述第一图像和所述第二图像包括所述储物层的平面图像信息,所述第三图像包括所述储物层的深度图像信息;根据所述第一图像和所述第二图像,确定被操作商品所在的第一目标储物层;根据所述第三图像和所述第一目标储物层,确定所述层板中的待移动层板以及所述待移动层板的移动信息;根据所述待移动层板的移动信息,控制所述待移动层板移 动。One or more embodiments of this specification provide a layer control device, including: a processor; and, a memory arranged to store computer-executable instructions that, when executed, cause the processor to : Acquire the first image of each storage layer when the door of the sales container is opened, and the second image and the third image of each storage layer when the door is closed; wherein, the first The image, the second image, and the third image are all obtained by a camera set on the top side of each of the storage layers to collect commodities placed in the storage layer where they are located; the first image and the first image The second image includes the plane image information of the storage layer, the third image includes the depth image information of the storage layer; according to the first image and the second image, the first image where the operated commodity is located is determined Target storage layer; according to the third image and the first target storage layer, determine the layer to be moved in the layer and the movement information of the layer to be moved; according to the layer to be moved To control the movement of the layer to be moved.
本说明书一个或多个实施例提供了一种存储介质,用于存储计算机可执行指令,所述计算机可执行指令在被执行时实现以下流程:获取售卖货柜的柜门被打开时各所述储物层的第一图像,以及所述柜门被关闭时各所述储物层的第二图像和第三图像;其中,所述第一图像、所述第二图像和所述第三图像均由设置于各所述储物层顶侧的摄像头,采集自身所在储物层中放置的商品而得;所述第一图像和所述第二图像包括所述储物层的平面图像信息,所述第三图像包括所述储物层的深度图像信息;根据所述第一图像和所述第二图像,确定被操作商品所在的第一目标储物层;根据所述第三图像和所述第一目标储物层,确定所述层板中的待移动层板以及所述待移动层板的移动信息;根据所述待移动层板的移动信息,控制所述待移动层板移动。One or more embodiments of this specification provide a storage medium for storing computer-executable instructions that, when executed, realize the following process: Obtain each storage medium when the door of the sales container is opened. The first image of the object layer, and the second image and the third image of each storage layer when the cabinet door is closed; wherein, the first image, the second image, and the third image are all It is obtained by a camera set on the top side of each storage layer to collect the commodities placed in the storage layer where it is located; the first image and the second image include the plane image information of the storage layer, so The third image includes depth image information of the storage layer; according to the first image and the second image, the first target storage layer where the operated commodity is located is determined; according to the third image and the The first target storage layer determines the floor to be moved in the floor and the movement information of the floor to be moved; according to the movement information of the floor to be moved, the movement of the floor to be moved is controlled.
本说明书一个实施例实现了对售卖货柜中层板位置的灵活调控,不仅能够提升储物空间的利用率,而且能够增大被操作商品所在储物层中的摄像头与商品之间的距离,减少该摄像头的拍摄盲区和拍摄死角,提升该摄像头所采集的图像的准确性,以及提升识别被购买商品的识别结果的准确性。An embodiment of this specification realizes the flexible adjustment of the position of the shelf in the sales container, which not only improves the utilization rate of the storage space, but also increases the distance between the camera and the commodity in the storage layer where the commodity is operated, and reduces the distance between the camera and the commodity in the storage layer where the commodity is operated. The blind spots and blind spots of the camera can improve the accuracy of the images collected by the camera and the accuracy of the recognition results for identifying the purchased goods.
附图说明Description of the drawings
为了更清楚地说明本说明书一个或多个实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in one or more embodiments of this specification, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only in this specification. For some of the described embodiments, those of ordinary skill in the art can obtain other drawings based on these drawings without creative work.
图1为本说明书一个或多个实施例提供的一种售卖货柜自助售货的应用场景示意图;FIG. 1 is a schematic diagram of an application scenario for self-service vending of vending containers provided by one or more embodiments of this specification;
图2为本说明书一个或多个实施例提供的一种层板调控设备的模块组成示意图;2 is a schematic diagram of the module composition of a laminate control device provided by one or more embodiments of this specification;
图3为本说明书一个或多个实施例提供的一种升降模块的结构示意图;Figure 3 is a schematic structural diagram of a lifting module provided by one or more embodiments of this specification;
图4为本说明书一个或多个实施例提供的一种层板调控方法的第一种流程示意图;FIG. 4 is a schematic diagram of the first flow of a layer control method provided by one or more embodiments of this specification;
图5为本说明书一个或多个实施例提供的步骤S104的细化图;FIG. 5 is a detailed diagram of step S104 provided by one or more embodiments of this specification;
图6为本说明书一个或多个实施例提供的二值化图像的矩阵示意图;6 is a schematic diagram of a matrix of binarized images provided by one or more embodiments of this specification;
图7为本说明书一个或多个实施例提供的步骤S106的细化图;FIG. 7 is a detailed diagram of step S106 provided by one or more embodiments of this specification;
图8为本说明书一个或多个实施例提供的步骤S106-8的第一种细化图;FIG. 8 is a first detailed diagram of step S106-8 provided in one or more embodiments of this specification;
图9为本说明书一个或多个实施例提供的步骤S106-8的第二种细化图;FIG. 9 is a second detailed diagram of step S106-8 provided in one or more embodiments of this specification;
图10为本说明书一个或多个实施例提供的一种层板调控方法的第二种流程示意图;FIG. 10 is a schematic diagram of the second flow of a layer control method provided by one or more embodiments of this specification;
图11为本说明书一个或多个实施例提供的一种层板调控装置的模块组成示意图;11 is a schematic diagram of the module composition of a laminate control device provided by one or more embodiments of this specification;
图12为本说明书一个或多个实施例提供的一种层板调控设备的结构示意图;Figure 12 is a schematic structural diagram of a laminate control device provided by one or more embodiments of this specification;
其中,附图标记说明如下:Wherein, the reference signs are explained as follows:
10:层板;10: Shelves;
13-1:驱动单元;13-1: Drive unit;
13-2:导轨;13-2: Guide rail;
13-3:滚轮;13-3: scroll wheel;
13-4:输出端。13-4: Output terminal.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本说明书一个或多个实施例中的技术方案,下面将结合本说明书一个或多个实施例中的附图,对本说明书一个或多个实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本说明书的一部分实施例,而不是全部的实施例。基于本说明书一个或多个实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请的保护范围。In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the following will be combined with the drawings in one or more embodiments of this specification to compare the technical solutions in one or more embodiments of this specification. The technical solution is described clearly and completely. Obviously, the described embodiments are only a part of the embodiments in this specification, rather than all the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本说明书一个或多个实施例提供了一种层板调控设备、方法及装置,可应用于售卖货柜,能够基于摄像头所采集的图像,对售卖货柜中各层板的位置进行灵活调控,不仅能够提升储物空间的利用率,而且能够增大被操作商品所在储物层中的摄像头与商品之间的距离,从而减少该摄像头的拍摄盲区和拍摄死角,提升该摄像头所采集的图像的准确性,以及提升识别被购买商品的识别结果的准确性。One or more embodiments of this specification provide a layer control device, method, and device, which can be applied to a sales container, and can flexibly control the position of each layer in the sales container based on the image collected by the camera. Improve the utilization of storage space, and increase the distance between the camera in the storage layer where the product is operated and the product, thereby reducing the blind spots and blind spots of the camera, and improving the accuracy of the image collected by the camera , And improve the accuracy of the recognition results that identify the purchased goods.
图1为本说明书一个或多个实施例提供的一种售卖货柜自助售货的应用场景示意图,如图1中的(a)所示,对于层高固定的售卖货柜而言,在消费者扫描二维码以打开柜门进行选购商品之前,售卖货柜的各储物层中的商品摆放有序;由于消费者在选购商品时,会关注商品的保质期、成分组成等信息,通常会拿取多个商品进行查看和对比,但是消费者往往不会特别留意商品的摆放位置,而将不需要的商品随机放回至储物层的空闲位置,最终在消费者购买商品之后,售卖货柜中的商品会是如图1中(b)所示的状 态,商品摆放错乱、高矮商品互相遮挡等,而由于售卖货柜中各储物层的层高是固定的,因此在有限的空间里,商品错乱及遮挡状态会给摄像头造成拍摄盲区和拍摄死角等,从而导致在根据摄像头所采集的图像识别消费者所购买的商品时,识别结果的准确性下降。基于此,本说明书一个或多个实施例提供一种层板调控设备、方法及装置,能够基于摄像头所采集的图像以及售卖货柜中各储物层的空间大小灵活调节各层板的位置,为便于描述,按照自上至下的顺序,依次将各储物层记为储物层1、储物层2、储物层3等,在图1中(b)的基础上进行层板调节后的示意图如图1中的(c)所示,可见,通过调节层板,使得储物层2的空间得以扩大,提升了储物层2中摄像头与储物层2中的商品之间的距离,增大了摄像头的拍摄视角,减少了摄像头的拍摄盲区,从而在根据摄像头所拍摄的图像识别消费者所购买的商品时,提升了识别结果的准确性。进一步的,为了确定层板的移动信息,本说明书一个或多个实施例中,摄像头为3D摄像头,其拍摄的视频流中的每一视频帧包括含有平面图像信息的图像和含有深度图像信息的图像;其中,深度图像信息如三维空间位置、尺寸等信息。以下对本说明书一个或多个实施例提供的层板调控设备、方法及装置进行详述。Figure 1 is a schematic diagram of an application scenario for self-service vending of vending containers provided by one or more embodiments of this specification. As shown in Fig. 1 (a), for a vending container with a fixed floor height, the consumer scans Before using the QR code to open the cabinet door to purchase goods, the goods in each storage layer of the selling container are placed in an orderly manner; as consumers will pay attention to the shelf life, composition and other information of the goods when buying goods, they usually do Take multiple products for viewing and comparison, but consumers often do not pay special attention to the placement of the products, and randomly put the unwanted products back to the free position of the storage layer, and finally sell them after the consumers buy the products. The goods in the container will be in the state shown in Figure 1(b). The goods are placed in a disorderly manner, and the tall and short products are blocked from each other. Since the height of each storage layer in the sales container is fixed, it is in a limited space. Here, the disordered and occluded state of the product will cause a blind spot and a blind spot for the camera, which will lead to a decrease in the accuracy of the recognition result when the product purchased by the consumer is recognized based on the image collected by the camera. Based on this, one or more embodiments of this specification provide a layer control device, method and device, which can flexibly adjust the position of each layer based on the image collected by the camera and the space size of each storage layer in the sales container. For ease of description, in the order from top to bottom, each storage layer is marked as storage layer 1, storage layer 2, storage layer 3, etc. After layer adjustment is performed on the basis of Figure 1 (b) The schematic diagram of is shown in Figure 1(c), it can be seen that by adjusting the layer plate, the space of the storage layer 2 can be enlarged, and the distance between the camera in the storage layer 2 and the goods in the storage layer 2 is increased , The shooting angle of the camera is increased, and the blind spot of the camera is reduced, so that the accuracy of the recognition result is improved when the product purchased by the consumer is recognized according to the image captured by the camera. Further, in order to determine the movement information of the laminate, in one or more embodiments of this specification, the camera is a 3D camera, and each video frame in the video stream captured by it includes an image containing planar image information and an image containing depth image information. Image; Among them, depth image information such as three-dimensional space position, size and other information. The following is a detailed description of the laminate control equipment, method, and device provided in one or more embodiments of this specification.
图2为本说明书一个或多个实施例提供的一种层板调控设备的模块组成示意图,应用于售卖货柜,其中,售卖货柜内部的储物空间被层板划分为多个储物层,如图2所示,该设备包括以下。Figure 2 is a schematic diagram of the module composition of a laminate control device provided by one or more embodiments of this specification, which is applied to a sales container, where the storage space inside the sales container is divided into multiple storage layers by the laminate, such as As shown in Figure 2, the device includes the following.
设置于每个储物层顶侧的摄像头11;摄像头11在售卖货柜的柜门被打开时采集自身所在储物层的第一图像,以及在售卖货柜的柜门被关闭时采集自身所在储物层的第二图像和第三图像;其中,第一图像和第二图像包括储物层的平面图像信息,第三图像包括储物层的深度图像信息。A camera 11 arranged on the top side of each storage layer; the camera 11 collects the first image of the storage layer where it is when the door of the sales container is opened, and collects the storage where it is when the door of the sales container is closed The second image and the third image of the layer; wherein the first image and the second image include the plane image information of the storage layer, and the third image includes the depth image information of the storage layer.
主控模块12,其根据各摄像头11所采集的第一图像和第二图像,确定被操作商品所在的第一目标储物层;以及,根据各摄像头11所采集的第三图像和确定的第一目标储物层,确定层板中的待移动层板以及待移动层板的移动信息。The main control module 12, which determines the first target storage layer where the operated commodity is located according to the first image and the second image collected by each camera 11; and, according to the third image collected by each camera 11 and the determined second image For a target storage layer, determine the layer to be moved in the layer and the movement information of the layer to be moved.
升降模块13,其与各层板相连,根据待移动层板的移动信息控制待移动层板移动。The lifting module 13 is connected with each layer, and controls the movement of the layer to be moved according to the movement information of the layer to be moved.
本说明书一个或多个实施例提供的层板调控设备,能够基于摄像头所采集的图像,对售卖货柜中层板的位置进行灵活调控,不仅可以提升储物空间的利用率,而且能够增大被操作商品所在储物层中的摄像头与商品之间的距离,从而减少该摄像头的拍摄盲区和拍摄死角,提升该摄像头所采集的图像的准确性,以及提升识别被购买商品的识别结果的准确性。The shelf control device provided by one or more embodiments of this specification can flexibly control the position of the shelf in the sales container based on the image collected by the camera, which can not only improve the utilization of storage space, but also increase the number of operations being performed. The distance between the camera in the storage layer of the product and the product, thereby reducing the blind spots and blind spots of the camera, improving the accuracy of the image collected by the camera, and improving the accuracy of the recognition result of identifying the purchased product.
由于被操作商品是基于摄像头在消费者选购商品前后所采集的图像而识别,也即基于摄像头在售卖货柜的柜门被打开之前和被关闭之后所采集的图像而识别;为了避免在消费者选购商品前后,因一些恶意操作(如晃动售卖货柜等)或其他因素而导致商品的状态发生改变,从而无法正确的识别出被操作商品的问题,本说明书一个或多个实施例中:主控模块12,其当检测到售卖货柜的柜门被打开的开门信号时,根据开门信号的第一检测时间发送第一图像获取请求给各摄像头11;以及,当检测到售卖货柜的柜门被关闭的关门信号时,根据关门信号的第二检测时间发送第二图像获取请求给各摄像头11;对应的,摄像头11,在接收到第一图像获取请求时,根据第一检测时间在已拍摄的视频流中获取对应的视频帧,从获取的视频帧提取第一图像;以及,在接收到第二图像获取请求时,根据第二检测时间在已拍摄的视频流中获取对应的视频帧,从获取的视频帧提取第二图像和第三图像。Since the operated product is recognized based on the images captured by the camera before and after the consumer purchases the product, that is, the recognition is based on the image captured by the camera before the door of the selling container is opened and after the door is closed; Before and after the product is purchased, the status of the product has changed due to some malicious operations (such as shaking the selling container, etc.) or other factors, so that the problem of the operated product cannot be correctly identified. In one or more embodiments of this manual: Main The control module 12 sends a first image acquisition request to each camera 11 according to the first detection time of the door opening signal when detecting the door opening signal of the selling container door being opened; and, when detecting that the door of the selling container is When the door-closing signal is closed, the second image acquisition request is sent to each camera 11 according to the second detection time of the door-closing signal; correspondingly, the camera 11 receives the first image acquisition request according to the first detection time. Obtain the corresponding video frame from the video stream, and extract the first image from the obtained video frame; and, when receiving the second image acquisition request, obtain the corresponding video frame from the captured video stream according to the second detection time, from The acquired video frame extracts the second image and the third image.
可选地,摄像头11,在接收到第一图像获取请求时,在已拍摄的视频流中获取第一检测时间所对应视频帧的前一视频帧,从获取的视频帧提取第一图像;或者,摄像头11,在接收到第一图像获取请求时,以第一检测时间为第一预设时长的截止时间,确定该第一预设时长所对应的起始时间,并在已拍摄的视频流中获取该起始时间所对应的视频帧,从获取的视频帧提取第一图像;或者,摄像头11在接收到第一图像获取请求时,以第一检测时间为第一预设时长的截止时间,在已拍摄的视频流中获取该第一预设时长内的任意一个视频帧,从获取的视频帧提取第一图像;以及,摄像头11,在接收到第二图像获取请求时,在已拍摄的视频流中获取第二检测时间所对应视频帧的后一视频帧,从获取的视频帧提取第二图像和第三图像;或者,摄像头11,在接收到第二图像获取请求时,以第二检测时间为第二预设时长的起始时间,确定该第二预设时长所对应的截止时间,并在已拍摄的视频流中获取该截止时间所对应的视频帧,从获取的视频帧提取第二图像和第三图像;或者,摄像头11在接收到第二图像获取请求时,以第二检测时间为第二预设时长的起始时间,在已拍摄的视频流中获取该第二预设时长内的任意一个视频帧,从获取的视频帧提取第二图像和第三图像;或者,摄像头11在接收到第二图像获取请求时,以第二检测时间为第二预设时长的起始时间,在已拍摄的视频流中获取该第二预设时长内的任意两个视频帧,从获取的其中一个视频帧提取第二图像,从获取的另一个视频帧提取第三图像。Optionally, the camera 11, upon receiving the first image acquisition request, acquires the previous video frame of the video frame corresponding to the first detection time from the captured video stream, and extracts the first image from the acquired video frame; or , The camera 11, when receiving the first image acquisition request, uses the first detection time as the expiration time of the first preset duration, determines the start time corresponding to the first preset duration, and displays it in the captured video stream Obtain the video frame corresponding to the start time in, and extract the first image from the acquired video frame; or, when the camera 11 receives the first image acquisition request, the first detection time is set as the expiration time of the first preset duration , Acquire any video frame within the first preset duration in the captured video stream, and extract the first image from the acquired video frame; and, the camera 11, upon receiving the second image acquisition request, Obtain the next video frame of the video frame corresponding to the second detection time from the video stream, and extract the second image and the third image from the acquired video frame; or, when the camera 11 receives the second image acquisition request, it uses the first 2. The detection time is the start time of the second preset duration, the deadline corresponding to the second preset duration is determined, and the video frame corresponding to the deadline is obtained from the captured video stream, and from the acquired video frame Extract the second image and the third image; or, when the camera 11 receives the second image acquisition request, the second detection time is used as the start time of the second preset duration, and the second image is acquired from the captured video stream. Any one of the video frames within the preset duration, extract the second image and the third image from the acquired video frames; or, when the camera 11 receives the second image acquisition request, the second detection time is the second preset duration At the start time, any two video frames within the second preset duration are acquired from the captured video stream, the second image is extracted from one of the acquired video frames, and the third image is extracted from the other acquired video frame.
其中,第一预设时长和第二预设时长均很短,第一预设时长和第二预设时长可以相同,也可以不同,其在实际应用中可根据需要自行设定;作为示例,第一预设时长和第二预设时长相同,均为1秒。需要指出的是,摄像头11在获取第一图像时,还可以同 时获取含有储物层的深度图像信息的第五图像。由此,根据第一检测时间获取距离第一检测时间间距很短的视频帧以提取第一图像,以及根据第二检测时间获取距离第二检测时间间距很短的视频帧以提取第二图像和第三图像,而在该很短的时间间距内,消费者或者其他用户很难进行恶意操作,因此能够极大的确保第一图像、第二图像以及第三图像的准确性,从而为后续确定被操作商品所在的第一目标储物层、确定待移动层板的移动信息以及确定被购买商品提供了有效的数据基础。Among them, the first preset duration and the second preset duration are both very short. The first preset duration and the second preset duration may be the same or different. They can be set according to actual needs; as an example, The first preset duration and the second preset duration are the same, and both are 1 second. It should be pointed out that when the camera 11 acquires the first image, it can also acquire the fifth image containing the depth image information of the storage layer at the same time. Thus, video frames with a short interval from the first detection time are acquired according to the first detection time to extract the first image, and video frames with a short interval from the second detection time are acquired according to the second detection time to extract the second image and The third image, and it is difficult for consumers or other users to perform malicious operations within this short time interval. Therefore, the accuracy of the first image, the second image, and the third image can be greatly ensured, so as to make subsequent determinations The first target storage layer where the operated product is located, the determination of the moving information of the floor to be moved, and the determination of the purchased product provide an effective data basis.
为确保图像的有效传输,每个摄像头11与主控模块12之间建立有传输通道,摄像头11在获取到第一图像时,通过对应的传输通道将第一图像发送给主控模块12,以及摄像头11在获取到第二图像和第三图像时,通过对应的传输通道将第二图像和第三图像发送给主控模块12;主控模块12在接收到第二图像后,基于第一图像和第二图像确定被操作商品所在的第一目标储物层。To ensure the effective transmission of images, a transmission channel is established between each camera 11 and the main control module 12. When the camera 11 obtains the first image, it sends the first image to the main control module 12 through the corresponding transmission channel, and When the camera 11 acquires the second image and the third image, it sends the second image and the third image to the main control module 12 through the corresponding transmission channel; the main control module 12 receives the second image, based on the first image And the second image determines the first target storage layer where the operated commodity is located.
具体的,本说明书一个或多个实施例中,主控模块12,其确定每个储物层对应的第一图像和第二图像;以及,对每个储物层对应的第一图像和第二图像进行差分处理,得到每个储物层对应的差分图像;对每个储物层对应的差分图像进行二值化处理,得到每个储物层对应的二值化图像;在二值化图像中确定符合预设条件的目标二值化图像;将目标二值化图像所对应的储物层作为被操作商品所在的第一目标储物层。Specifically, in one or more embodiments of this specification, the main control module 12 determines the first image and the second image corresponding to each storage layer; and, the first image and the second image corresponding to each storage layer The two images are subjected to differential processing to obtain the differential image corresponding to each storage layer; the differential image corresponding to each storage layer is binarized to obtain the binarized image corresponding to each storage layer; The target binarized image that meets the preset conditions is determined in the image; the storage layer corresponding to the target binarized image is taken as the first target storage layer where the operated commodity is located.
通过对每个储物层对应的第一图像和第二图像进行差分处理以削弱每个储物层对应的第一图像与第二图像的相似部分,得到能够体现第一图像与第二图像之间的差异的差分图像;通过对差分图像进行二值化处理,以得到仅具有黑色和白色视觉效果的二值化图像,而去除其他噪声的干扰,从而可根据二值化图像,准确的确定被操作商品所在的第一目标储物层。进一步的,确定每个储物层对应的第一图像和第二图像、对第一图像和第二图像进行差分处理、对差分图像进行二值化处理、以及在二值化图像中确定符合预设条件的目标二值化图像的具体过程,在后文中进行详述,参见后文的相关描述即可,这里不再重复描述。By performing differential processing on the first image and the second image corresponding to each storage layer to weaken the similar parts of the first image and the second image corresponding to each storage layer, the difference between the first image and the second image can be obtained. The difference image of the difference between the two values; the difference image is binarized to obtain a binarized image with only black and white visual effects, and the interference of other noises is removed, so that the binarized image can be accurately determined The first target storage layer where the operated commodity is located. Further, determine the first image and the second image corresponding to each storage layer, perform differential processing on the first image and the second image, perform binarization processing on the differential image, and determine that the binarized image is consistent with the prediction The specific process of setting the conditional target binarization image will be described in detail later, please refer to the related description later, and the description will not be repeated here.
为了扩大第一目标储物层的空间,使第一目标储物层中的摄像头与商品之间的距离扩大,从而使第一目标储物层中的摄像头能够采集到清晰完整的图像,首先需要确定待移动层板以及待移动层板的移动信息;In order to expand the space of the first target storage layer and expand the distance between the camera in the first target storage layer and the goods, so that the camera in the first target storage layer can collect clear and complete images, first Determine the floor to be moved and the moving information of the floor to be moved;
具体的,本说明书一个或多个实施例中,主控模块12,其确定每个储物层对应的第三图像;以及,在每个储物层对应的第三图像所包括的商品中,获取商品顶部与商品所在储物层的顶部之间的垂直距离最小的目标商品;将目标商品的顶部与目标商品所在储 物层的顶部之间的垂直距离,作为目标商品所在储物层的剩余层高;根据储物层的剩余层高,确定层板中的待移动层板以及待移动层板的移动信息。Specifically, in one or more embodiments of this specification, the main control module 12 determines the third image corresponding to each storage layer; and, among the commodities included in the third image corresponding to each storage layer, Obtain the target product with the smallest vertical distance between the top of the product and the top of the storage layer where the product is located; use the vertical distance between the top of the target product and the top of the storage layer where the target product is located as the remainder of the storage layer where the target product is located Floor height: According to the remaining floor height of the storage layer, determine the floor to be moved in the floor and the movement information of the floor to be moved.
在实际应用中,可以根据储物层的剩余层高,确定所有具有移动空间的层板并作为待移动层板,以使第一目标储物层的空间达到最大化,从而使第一目标储物层中的摄像头与商品之间的距离达到最大化,以利于摄像头采集到清晰完整的图像;还可以根据储物层的剩余层高,确定部分具有移动空间的层板并作为待移动层板,以在第一目标储物层中的摄像头与商品之间的距离到达可采集清晰完整图像的预设距离的基础上,不移动过多的层板,确保安全和稳定。In practical applications, according to the remaining layer height of the storage layer, all the layers with moving space can be determined and used as the layer to be moved, so as to maximize the space of the first target storage layer, so that the first target storage layer can be maximized. The distance between the camera in the object layer and the product is maximized, so that the camera can collect clear and complete images; according to the remaining height of the storage layer, a part of the floor with moving space can be determined and used as the floor to be moved , On the basis that the distance between the camera in the first target storage layer and the product reaches the preset distance that can collect clear and complete images, and do not move too many layers to ensure safety and stability.
具体而言,本说明书一个或多个实施例中,主控模块12,若根据除第一目标储物层外的每个储物层的剩余层高和预设安全距离,确定存在具有非零可移动距离的储物层,则根据具有非零可移动距离的储物层与第一目标储物层的位置关系,确定待移动层板;以及,根据待移动层板与第一目标储物层的位置关系,确定待移动层板的移动方向;根据待移动层板所对应的储物层的可移动距离,确定待移动层板的实际移动距离;将待移动层板的移动方向和实际移动距离作为待移动层板的移动信息;或者,主控模块12,若根据除第一目标储物层外的每个储物层的剩余层高和预设安全距离,确定存在距离所述第一目标储物层最近、且可移动的总距离不小于预设距离的第二目标储物层,则根据第二目标储物层,确定待移动层板;以及,根据待移动层板与第一目标储物层的位置关系,确定待移动层板的移动方向;根据第二目标储物层的可移动距离,确定待移动层板的实际移动距离;将待移动层板的移动方向和实际移动距离作为待移动层板的移动信息。Specifically, in one or more embodiments of this specification, if the main control module 12 determines that there is a non-zero storage layer based on the remaining layer height and the preset safety distance of each storage layer except the first target storage layer For the storage layer with a movable distance, the floor to be moved is determined according to the positional relationship between the storage layer with a non-zero movable distance and the first target storage layer; and, according to the position of the storage layer to be moved and the first target storage layer The position relationship of the layers to determine the moving direction of the layer to be moved; according to the movable distance of the storage layer corresponding to the layer to be moved, the actual moving distance of the layer to be moved is determined; the moving direction of the layer to be moved is compared with the actual The movement distance is used as the movement information of the floor to be moved; or, if the main control module 12 determines that there is a distance according to the remaining height of each storage layer except the first target storage layer and the preset safety distance A second target storage layer with the closest target storage layer and the total movable distance not less than the preset distance is determined according to the second target storage layer; and, according to the second target storage layer and the second target storage layer; The position relationship of a target storage layer determines the moving direction of the layer to be moved; according to the movable distance of the second target storage layer, the actual moving distance of the layer to be moved is determined; the moving direction of the layer to be moved is compared with the actual The moving distance is used as the moving information of the layer to be moved.
通过确定待移动层板的移动信息,以在后续根据该移动信息对待移动层板进行精准控制,而不会因同一储物层中的商品高矮不一而损坏部分商品。By determining the movement information of the floor to be moved, the subsequent accurate control of the floor to be moved is performed based on the movement information, without damaging part of the products due to the different heights of the products in the same storage layer.
在确定了待移动层板的移动信息之后,即可根据该移动信息控制待移动层板移动;具体的,本说明书一个或多个实施例中,升降模块13包括:驱动单元13-1、导轨13-2、以及滚轮13-3;其中,滚轮13-3设置于各层板的侧面,对应的:主控模块12,根据待移动层板的移动信息和层板标识,发送层板移动指令给驱动单元13-1;驱动单元13-1,其输出端13-4与各层板相连,在接收到层板移动指令时,根据移动信息驱动层板标识所对应的待移动层板通过其侧面设置的滚轮13-3沿导轨13-2移动。After the movement information of the floor to be moved is determined, the movement of the floor to be moved can be controlled according to the movement information; specifically, in one or more embodiments of this specification, the lifting module 13 includes: a driving unit 13-1, a guide rail 13-2, and roller 13-3; among them, the roller 13-3 is arranged on the side of each layer, corresponding: the main control module 12, according to the moving information of the layer to be moved and the label of the layer, send the moving instruction of the layer To the drive unit 13-1; the drive unit 13-1, its output terminal 13-4 is connected to each layer, when receiving a layer movement instruction, according to the movement information to drive the corresponding layer plate identification to be moved through it The roller 13-3 provided on the side moves along the guide rail 13-2.
可见,通过设置升降模块13,实现了售卖货柜中层板位置的调节。It can be seen that by setting the lifting module 13, the adjustment of the position of the middle deck of the selling container is realized.
为了确保待移动层板在移动之后,不会因重力作用而下滑,本说明书一个或多个实 施例中,驱动单元13-1为具有限位功能的结构,如气压缸、液压缸、滚珠丝杠等结构,其能够根据移动信息准确的控制待移动层板向相应的移动方向移动实际移动距离后,保持在相应的位置,而不会因重力作用通过滚轮13-3沿导轨13-2下滑。在实际应用中,驱动单元13-1还可以为不具有限位功能的结构,如为普通的电机,则升降模块13还包括限位单元13-5,该限位单元13-5可以设置在层板的侧面,也可以设置在导轨13-2上,当驱动单元13-1控制待移动层板向相应的移动方向移动实际移动距离后,控制限位单元13-5进行限位。In order to ensure that the layer to be moved does not slide down due to gravity after it is moved, in one or more embodiments of this specification, the driving unit 13-1 is a structure with a limit function, such as a pneumatic cylinder, a hydraulic cylinder, and a ball wire. Structures such as bars, which can accurately control the actual moving distance of the layer to be moved in the corresponding direction according to the movement information, and then remain in the corresponding position without sliding down the guide rail 13-2 through the roller 13-3 due to gravity. . In practical applications, the drive unit 13-1 can also be a structure without a limit function. If it is an ordinary motor, the lifting module 13 also includes a limit unit 13-5, which can be set at The side surface of the laminate can also be arranged on the guide rail 13-2. After the driving unit 13-1 controls the laminate to be moved to move the actual moving distance in the corresponding direction, the limit unit 13-5 is controlled to limit the position.
进一步的,滚轮13-3可以设置于层板的左侧、和/或右侧、和/或后侧,与之对应的,导轨13-2可以设置于售卖货柜的存储空间的左侧、和/或右侧、和/或后侧。Further, the roller 13-3 can be arranged on the left side, and/or the right side, and/or the rear side of the shelf. Correspondingly, the guide rail 13-2 can be arranged on the left side of the storage space of the sales container, and /Or right side, and/or back side.
更进一步的,导轨13-2可以与层板一一对应设置为多个,还可以各层板共用同一个导轨13-2,其在实际应用中,可以根据需要自行设定;需要指出的是,当导轨13-2与层板一一对应设置时,滚轮13-3在不同层板的侧面的位置可以相同也可以不同,为便于描述,按照自上至下的顺序,将各层板依次记为层板1、层板2、层板3等,例如设置于层板1侧面的滚轮13-3设置在层板1左侧中间的位置,设置于层板2侧面的滚轮13-3设置在层板2左侧中间的位置,设置于层板3侧面的滚轮13-3设置在层板3右侧偏左的位置;当各层板共用同一个导轨13-2时,滚轮13-3在各层板侧面的位置相同,例如均设置在层板左侧和右侧的中间位置。Furthermore, the guide rails 13-2 can be set in one-to-one correspondence with the laminates, and the same guide rails 13-2 can also be shared by all the laminates. In actual applications, it can be set according to the needs; it needs to be pointed out that When the guide rails 13-2 and the laminates are arranged in one-to-one correspondence, the positions of the rollers 13-3 on the sides of the different laminates can be the same or different. For ease of description, the layers are arranged in order from top to bottom. Marked as layer 1, layer 2, layer 3, etc., for example, the roller 13-3 arranged on the side of the layer 1 is set in the middle of the left side of the layer 1, and the roller 13-3 arranged on the side of the layer 2 is set In the middle position on the left side of the layer plate 2, the roller 13-3 arranged on the side of the layer plate 3 is set on the left side of the right side of the layer plate 3; when the layers share the same guide rail 13-2, the roller 13-3 The positions on the sides of each layer are the same, for example, they are set in the middle position of the left and right sides of the layer.
作为示例,各层板共用同一个导轨13-2,滚轮13-3设置在层板左侧和右侧的中间位置,将层板记为10,其结构示意图如图3所示;需要指出的是,驱动单元13-1的位置可以在实际应用中根据需要自行设定,例如设置于售卖货柜的底部。As an example, each layer board shares the same guide rail 13-2, and the roller 13-3 is set in the middle position between the left and right sides of the layer board. The layer board is marked as 10, and its structure diagram is shown in Figure 3; Yes, the position of the driving unit 13-1 can be set according to actual needs, for example, set at the bottom of the sales container.
由此,通过升降模块13控制待移动层板移动之后,第一目标储物层中的摄像头与商品之间的距离得以扩大,此时摄像头所采集的图像相较于层板移动之前会更加完整和清晰,而基于此时摄像头所采集的图像识别被购买商品也会更准确。即本说明书一个或多个实施例中,主控模块12,在升降模块13控制待移动层板移动之后,还获取第一目标储物层的第四图像,其中,第四图像包括第一目标储物层的平面图像信息;以及,根据第一目标储物层对应的第一图像和第四图像确定被购买商品,将被购买商品的商品信息发送给对应的消费者。Therefore, after the lift module 13 controls the movement of the floor to be moved, the distance between the camera in the first target storage layer and the product can be enlarged, and the image collected by the camera at this time will be more complete than before the floor is moved. And clear, and based on the image collected by the camera at this time, it will be more accurate to identify the purchased product. That is, in one or more embodiments of this specification, the main control module 12, after the lifting module 13 controls the movement of the floor to be moved, also acquires a fourth image of the first target storage layer, where the fourth image includes the first target Plane image information of the storage layer; and, determine the purchased product according to the first image and the fourth image corresponding to the first target storage layer, and send the product information of the purchased product to the corresponding consumer.
升降模块13还控制待移动层板复原至移动前的位置。The lifting module 13 also controls the layer to be moved to return to the position before the movement.
具体的,主控模块12在确定待移动层板的移动信息之后,记录待移动层板的移动信 息,并在接收到升降模块13发送的移动完成信号时,根据移动完成信号的接收时间发送第三图像获取请求给设置于第一目标储物层中的摄像头11,以使第一目标储物层中的摄像头11在接收到第三图像获取请求时,根据第三图像获取请求包括的接收时间,在其拍摄的视频流中获取对应的视频帧,从获取的视频帧提取第四图像;当主控模块12接收到第一目标储物层中的摄像头11发送的第四图像时,将第一目标储物层对应的第一图像和第四图像输入至预先训练的深度神经网络中进行学习,得到被购买商品的商品信息,其中,商品信息如商品名称、商品类别、商品价格等,将被购买商品的商品信息发送给对应的消费者,以及根据记录的待移动层板的移动信息,确定待移动层板的复原信息,根据复原信息发送层板复原指令给升降模块13,以使升降模块13根据复原信息控制待移动层板复原至移动前的位置。或者,升降模块13在接收到主控模块12发送的层板移动指令时,记录待移动层板的移动信息;在主控模块12确定被购买商品之后,主控模块12发送层板复原指令给升降模块13;升降模块13在接收到层板复原指令时,根据记录的层板移动信息确定层板复原信息,并根据层板复原信息控制待移动层板复原至移动前的位置。Specifically, after determining the movement information of the floor to be moved, the main control module 12 records the movement information of the floor to be moved, and when receiving the movement completion signal sent by the lifting module 13, it sends the second signal according to the receiving time of the movement completion signal. Three image acquisition requests are given to the camera 11 arranged in the first target storage layer, so that the camera 11 in the first target storage layer receives the third image acquisition request according to the receiving time included in the third image acquisition request , Acquire the corresponding video frame in the video stream it shoots, and extract the fourth image from the acquired video frame; when the main control module 12 receives the fourth image sent by the camera 11 in the first target storage layer, it will The first image and the fourth image corresponding to a target storage layer are input into the pre-trained deep neural network for learning, and the product information of the purchased product is obtained. The product information such as product name, product category, product price, etc. The product information of the purchased product is sent to the corresponding consumer, and the recovery information of the floor to be moved is determined according to the recorded movement information of the floor to be moved, and the floor recovery instruction is sent to the lifting module 13 according to the recovery information to make the lifting The module 13 controls the layer to be moved to be restored to the position before the movement according to the restoration information. Alternatively, when the lifting module 13 receives the laminate moving instruction sent by the main control module 12, it records the moving information of the laminate to be moved; after the main control module 12 determines the purchased product, the main control module 12 sends the laminate recovery instruction to Lifting module 13; when the lifting module 13 receives the laminate restoration instruction, it determines the laminate restoration information according to the recorded laminate movement information, and controls the laminate to be moved to the position before the movement according to the laminate restoration information.
其中,摄像头11获取第四图像的过程,与前述摄像头11获取第二图像的过程相似,可参见前述相关描述,重复之处这里不再赘述。由此,基于移动层板之后所获取的第四图像确定被购买商品,提升了确定结果的准确率,通过将层板复原至移动前的位置,确保了后续消费者选购商品时,每个储物层均具有一定的空间而便于消费者操作。The process of acquiring the fourth image by the camera 11 is similar to the process of acquiring the second image by the aforementioned camera 11, which can be referred to the foregoing related description, and the repetitions will not be repeated here. As a result, the purchased product is determined based on the fourth image obtained after moving the laminate, which improves the accuracy of the determination result. By restoring the laminate to the position before the move, it is ensured that when the subsequent consumer purchases the product, every The storage layer has a certain space to facilitate the operation of consumers.
本说明书一个或多个实施例提供的层板调控设备,设置有与各层板相连的升降装置,该设备基于摄像头所采集的图像实现了对售卖货柜中层板位置的灵活调控,不仅能够提升储物空间的利用率,而且能够增大被操作商品所在储物层中的摄像头与商品之间的距离,减少该摄像头的拍摄盲区和拍摄死角,提升该摄像头所采集的图像的准确性,以及提升识别被购买商品的识别结果的准确性。The shelf control equipment provided by one or more embodiments of this specification is provided with a lifting device connected to each shelf. The equipment realizes the flexible control of the position of the shelf in the sales container based on the image collected by the camera, and can not only improve storage The utilization rate of the object space can increase the distance between the camera in the storage layer where the product is operated and the product, reduce the blind spots and blind spots of the camera, and improve the accuracy of the images collected by the camera. Identify the accuracy of the recognition result of the purchased product.
对应上述图2至图3描述的层板调控设备,基于相同的技术构思,本说明书一个或多个实施例还提供一种层板调控方法,应用于售卖货柜,该售卖货柜内部的储物空间被层板划分为多个储物层。图4为本说明书一个或多个实施例提供的一种层板调控方法的流程示意图,如图4所示,方法包括以下步骤。Corresponding to the layer control device described in FIGS. 2 to 3, based on the same technical concept, one or more embodiments of this specification also provide a layer control method applied to a sales container, and the storage space inside the sales container It is divided into multiple storage layers by the slab. FIG. 4 is a schematic flow chart of a method for regulating and controlling laminates according to one or more embodiments of this specification. As shown in FIG. 4, the method includes the following steps.
步骤S102,获取售卖货柜的柜门被打开时各储物层的第一图像,以及柜门被关闭时各储物层的第二图像和第三图像;其中,第一图像、第二图像和第三图像均由设置于各储物层顶侧的摄像头,采集自身所在储物层中放置的商品而得;第一图像和第二图像包 括储物层的平面图像信息,第三图像包括储物层的深度图像信息。Step S102: Obtain a first image of each storage layer when the door of the sales container is opened, and a second image and a third image of each storage layer when the door is closed; wherein the first image, the second image, and the The third image is obtained by the camera set on the top side of each storage layer to collect the goods placed in the storage layer where it is located; the first image and the second image include the plane image information of the storage layer, and the third image includes the storage layer. Depth image information of the object layer.
为了后续确定层板的移动信息,其中,摄像头为3D摄像头,其拍摄的视频流中的每一视频帧包括含有平面图像信息的图像和含有深度图像信息的图像;其中,深度图像信息如三维空间位置、尺寸等信息。In order to subsequently determine the movement information of the laminate, the camera is a 3D camera, and each video frame in the video stream captured by it includes an image containing plane image information and an image containing depth image information; where the depth image information is like a three-dimensional space Location, size and other information.
步骤S104,根据获取的第一图像和第二图像,确定被操作商品所在的第一目标储物层。Step S104, according to the acquired first image and second image, determine the first target storage layer where the operated commodity is located.
其中,被操作商品包括被消费者移动过的商品以及被消费者购买的商品。Among them, the operated goods include goods that have been moved by consumers and goods that have been purchased by consumers.
步骤S106,根据第三图像和第一目标储物层,确定层板中的待移动层板以及待移动层板的移动信息。Step S106, according to the third image and the first target storage layer, determine the to-be-moved floor in the floor and the movement information of the to-be-moved floor.
步骤S108,根据待移动层板的移动信息,控制待移动层板移动。Step S108, controlling the movement of the laminate to be moved according to the movement information of the laminate to be moved.
本说明书一个或多个实施例中,基于售卖货柜中各摄像头所采集的图像,实现了对售卖货柜中层板位置的灵活调控,不仅能够提升储物空间的利用率,而且能够增大被操作商品所在储物层中的摄像头与商品之间的距离,从而减少该摄像头的拍摄盲区和拍摄死角,提升该摄像头所采集的图像的准确性,以及提升识别被购买商品的识别结果的准确性。In one or more embodiments of this specification, based on the images collected by each camera in the sales container, the flexible adjustment of the position of the shelf in the sales container is realized, which can not only improve the utilization rate of storage space, but also increase the number of commodities to be operated. The distance between the camera in the storage layer and the product, thereby reducing the blind spots and blind spots of the camera, improving the accuracy of the image collected by the camera, and improving the accuracy of the recognition result of identifying the purchased product.
由于被操作商品是基于摄像头在消费者选购商品前后所采集的图像而识别,也即基于摄像头在售卖货柜的柜门被打开之前和被关闭之后所采集的图像而识别;为了避免在消费者选购商品前后,因一些恶意操作(如晃动售卖货柜等)或其他因素而导致商品的状态发生改变,从而无法正确的识别出被操作商品的问题,本说明书一个或多个实施例中,步骤S102中获取售卖货柜的柜门被打开时各储物层的第一图像,以及柜门被关闭时各储物层的第二图像和第三图像,包括以下步骤。Since the operated product is recognized based on the images captured by the camera before and after the consumer purchases the product, that is, the recognition is based on the image captured by the camera before the door of the selling container is opened and after the door is closed; Before and after the product is purchased, the status of the product has changed due to some malicious operations (such as shaking the selling container, etc.) or other factors, so that the problem of the operated product cannot be correctly identified. In one or more embodiments of this specification, the steps Obtaining the first image of each storage layer when the door of the sales container is opened, and the second image and the third image of each storage layer when the door is closed in S102 includes the following steps.
步骤A1,当检测到售卖货柜的柜门被打开的开门信号时,根据开门信号的第一检测时间发送第一图像获取请求给各摄像头,以使各摄像头根据第一检测时间在已拍摄的视频流中获取对应的视频帧,从获取的视频帧提取第一图像。Step A1: When the door opening signal of the door of the selling container is detected, the first image acquisition request is sent to each camera according to the first detection time of the door opening signal, so that each camera can capture the video according to the first detection time The corresponding video frame is obtained from the stream, and the first image is extracted from the obtained video frame.
其中,当摄像头接收到第一图像获取请求时,在已拍摄的视频流中获取第一检测时间所对应视频帧的前一视频帧,从获取的视频帧提取第一图像;或者,当摄像头接收到第一图像获取请求时,以第一检测时间为第一预设时长的截止时间,确定该第一预设时长所对应的起始时间,并在已拍摄的视频流中获取该起始时间所对应的视频帧,从获取的视频帧提取第一图像;或者,当摄像头接收到第一图像获取请求时,以第一检测时间 为第一预设时长的截止时间,在已拍摄的视频流中获取该第一预设时长内的任意一个视频帧,从获取的视频帧提取第一图像。需要指出的是,摄像头从获取的视频帧提取第一图像时,还可以同时提取含有储物层的深度图像信息的第五图像。Wherein, when the camera receives the first image acquisition request, it acquires the previous video frame of the video frame corresponding to the first detection time in the captured video stream, and extracts the first image from the acquired video frame; or, when the camera receives When it comes to the first image acquisition request, use the first detection time as the cut-off time of the first preset duration, determine the start time corresponding to the first preset duration, and obtain the start time from the captured video stream The corresponding video frame is to extract the first image from the acquired video frame; or, when the camera receives the first image acquisition request, the first detection time is used as the expiration time of the first preset duration, and the captured video stream Any one of the video frames within the first preset period of time is acquired in, and the first image is extracted from the acquired video frame. It should be pointed out that when the camera extracts the first image from the acquired video frame, it can also extract the fifth image containing the depth image information of the storage layer at the same time.
步骤A2,当检测到售卖货柜的柜门被关闭的关门信号时,根据关门信号的第二检测时间发送第二图像获取请求给各摄像头,以使各摄像头根据第二检测时间在已拍摄的视频流中获取对应的视频帧,从获取的视频帧提取第二图像和第三图像。Step A2, when the door closing signal of the selling container is detected, the second image acquisition request is sent to each camera according to the second detection time of the door closing signal, so that each camera can record the video according to the second detection time The corresponding video frame is obtained from the stream, and the second image and the third image are extracted from the obtained video frame.
其中,当摄像头接收到第二图像获取请求时,在已拍摄的视频流中获取第二检测时间所对应视频帧的后一视频帧,从获取的视频帧提取第二图像和第三图像;或者,当摄像头接收到第二图像获取请求时,以第二检测时间为第二预设时长的起始时间,确定该第二预设时长所对应的截止时间,并在已拍摄的视频流中获取该截止时间所对应的视频帧,从获取的视频帧提取第二图像和第三图像;或者,当摄像头接收到第二图像获取请求时,以第二检测时间为第二预设时长的起始时间,在已拍摄的视频流中获取该第二预设时长内的任意一个视频帧,从获取的视频帧提取第二图像和第三图像;或者,当摄像头接收到第二图像获取请求时,以第二检测时间为第二预设时长的起始时间,在已拍摄的视频流中获取该第二预设时长内的任意两个视频帧,从获取的其中一个视频帧提取第二图像,从获取的另一个视频帧提取第三图像。Wherein, when the camera receives the second image acquisition request, it acquires the next video frame of the video frame corresponding to the second detection time from the captured video stream, and extracts the second image and the third image from the acquired video frame; or When the camera receives the second image acquisition request, the second detection time is used as the start time of the second preset duration, the deadline corresponding to the second preset duration is determined, and the captured video stream is acquired For the video frame corresponding to the deadline, extract the second image and the third image from the acquired video frame; or, when the camera receives the second image acquisition request, use the second detection time as the start of the second preset duration Time, acquire any video frame within the second preset duration in the captured video stream, and extract the second image and the third image from the acquired video frame; or, when the camera receives the second image acquisition request, Taking the second detection time as the start time of the second preset duration, acquire any two video frames within the second preset duration from the captured video stream, and extract the second image from one of the acquired video frames, The third image is extracted from another acquired video frame.
上述第一预设时长和第二预设时长均很短,第一预设时长和第二预设时长可以相同,也可以不同,其在实际应用中可根据需要自行设定;作为示例,第一预设时长和第二预设时长相同,均为1秒。由此,通过获取各摄像头所采集的第一图像、第二图像和第三图像,而摄像头采集第一图像的采集时间与第一检测时间之间的时间间距很短,且摄像头采集第二图像的采集时间与第二检测时间之间的时间间距很短,在该很短的时间间距内,消费者或者其他用户很难进行恶意操作,因此能够极大的确保第一图像与第二图像的准确性,从而为后续确定被操作商品所在的第一目标储物层、确定待移动层板的移动信息以及确定被购买商品提供了有效的数据基础。The above-mentioned first preset duration and second preset duration are both very short. The first preset duration and the second preset duration can be the same or different. They can be set according to actual needs; as an example, the first The first preset duration and the second preset duration are the same, and both are 1 second. Thus, by acquiring the first image, the second image, and the third image collected by each camera, the time interval between the collection time of the first image collected by the camera and the first detection time is very short, and the second image is collected by the camera The time interval between the acquisition time and the second detection time is very short. Within this short time interval, it is difficult for consumers or other users to perform malicious operations. Therefore, it can greatly ensure that the first image and the second image are Accuracy, thereby providing an effective data basis for the subsequent determination of the first target storage layer where the operated product is located, the determination of the movement information of the floor to be moved, and the determination of the purchased product.
由于第一图像和第二图像包含了消费者购买商品前后,各储物层所放置的商品的平面信息,因此通过对每个储物层对应的第一图像和第二图像进行处理,即可得到被消费者操作的商品所在的第一目标储物层。具体的,如图5所示,步骤S104包括以下。Since the first image and the second image contain the plane information of the product placed on each storage layer before and after the consumer purchases the product, the first image and the second image corresponding to each storage layer can be processed. Obtain the first target storage layer where the product operated by the consumer is located. Specifically, as shown in FIG. 5, step S104 includes the following.
步骤S104-2,确定每个储物层对应的第一图像和第二图像。Step S104-2: Determine the first image and the second image corresponding to each storage layer.
为了确保图像的有效获取,以及对各摄像头所采集的图像进行区分,本说明书一个 或多个实施例中,步骤S102之前还包括:与各摄像头建立传输通道,以通过该传输通道获取相应摄像头所采集的图像;以及将传输通道的通道标识与相应摄像头所在储物层的储物层标识建立对应关系;与之对应的,步骤S104-2包括:根据获取第一图像的传输通道的通道标识,在通道标识与储物层标识的对应关系中获取对应的储物层标识,将相应的第一图像作为获取的储物层标识所对应的储物层的第一图像;以及根据获取第二图像的传输通道的通道标识,在通道标识与储物层标识的对应关系中获取对应的储物层标识,将相应的第二图像作为获取的储物层标识所对应的储物层的第二图像。In order to ensure the effective acquisition of images and distinguish the images collected by each camera, in one or more embodiments of this specification, before step S102, it further includes: establishing a transmission channel with each camera to obtain the corresponding camera location through the transmission channel. The acquired image; and establishing a corresponding relationship between the channel identification of the transmission channel and the storage layer identification of the storage layer where the corresponding camera is located; correspondingly, step S104-2 includes: according to the channel identification of the transmission channel through which the first image is acquired, Obtain the corresponding storage layer identifier in the corresponding relationship between the channel identifier and the storage layer identifier, and use the corresponding first image as the first image of the storage layer corresponding to the acquired storage layer identifier; and according to the acquisition of the second image The corresponding storage layer identification is obtained from the corresponding relationship between the channel identification and the storage layer identification, and the corresponding second image is used as the second image of the storage layer corresponding to the acquired storage layer identification .
或者,为了对各摄像头所采集的图像进行区分,以及对每个储物层中的摄像头进行区分,本说明书一个或多个实施例中,为每个储物层分配储物层标识,建立摄像头标识与储物层标识的对应关系,且第一图像、第二图像以及第三图像的图像名称中包括采集该图像的摄像头的摄像头标识,与之对应的,步骤S104-2包括:根据每个第一图像的图像名称所包括的摄像头标识,在摄像头标识与储物层标识的对应关系中获取对应的储物层标识,将相应的第一图像作为获取的储物层标识所对应的储物层的第一图像;以及,根据每个第二图像的图像名称所包括的摄像头标识,在摄像头标识与储物层标识的对应关系中获取对应的储物层标识,将相应的第二图像作为获取的储物层标识所对应的储物层的第二图像。Or, in order to distinguish the images collected by each camera and distinguish the cameras in each storage layer, in one or more embodiments of this specification, each storage layer is assigned a storage layer identifier to establish a camera The corresponding relationship between the identifier and the storage layer identifier, and the image names of the first image, the second image, and the third image include the camera identifier of the camera that collected the image. Correspondingly, step S104-2 includes: according to each For the camera identification included in the image name of the first image, the corresponding storage layer identification is obtained from the corresponding relationship between the camera identification and the storage layer identification, and the corresponding first image is used as the storage corresponding to the acquired storage layer identification The first image of the layer; and, according to the camera identification included in the image name of each second image, the corresponding storage layer identification is obtained from the corresponding relationship between the camera identification and the storage layer identification, and the corresponding second image is taken as The acquired second image of the storage layer corresponding to the storage layer identifier.
步骤S104-4,对每个储物层对应的第一图像和第二图像进行差分处理,得到每个储物层对应的差分图像。Step S104-4: Perform differential processing on the first image and the second image corresponding to each storage layer to obtain a differential image corresponding to each storage layer.
具体的,将每个储物层对应的第一图像与第二图像的相同像素点的像素值进行相减,得到相应像素点的像素值差值;将该像素值差值作为差分图像相应像素点的像素值,以得到每个储物层对应的差分图像。Specifically, the pixel values of the same pixels of the first image and the second image corresponding to each storage layer are subtracted to obtain the pixel value difference of the corresponding pixel; the pixel value difference is regarded as the corresponding pixel of the difference image The pixel value of the point to obtain the difference image corresponding to each storage layer.
通过对每个储物层对应的第一图像和第二图像进行差分处理,以削弱每个储物层对应的第一图像与第二图像的相似部分,得到能够体现第一图像与第二图像之间的差异的差分图像。Through differential processing of the first image and the second image corresponding to each storage layer, the similar parts of the first image and the second image corresponding to each storage layer are weakened, and the first image and the second image can be obtained. The difference between the difference image.
步骤S104-6,对每个储物层对应的差分图像进行二值化处理,得到每个储物层对应的二值化图像。Step S104-6: Binarize the difference image corresponding to each storage layer to obtain a binarized image corresponding to each storage layer.
具体的,与每个储物层对应的差分图像的像素点对应,构建包括多个待填充元素的矩阵;将每个储物层的差分图像的每个像素点的像素值与预设的像素值阈值进行比对,若差分图像的像素点的像素值大于预设的像素值阈值,则将对应矩阵中相应的待填充元 素填充为第一预设值;若差分图像的像素点的像素值不大于预设的像素值阈值,则将对应矩阵中相应的待填充元素填充为第二预设值;将待填充元素均填充完成的矩阵所对应的图像,作为相应储物层的二值化图像。其中,第一预设值例如为1,第二预设值例如为0,待填充元素均填充全成的矩阵的示意图如图6所示。Specifically, corresponding to the pixel points of the differential image corresponding to each storage layer, a matrix including multiple elements to be filled is constructed; the pixel value of each pixel of the differential image of each storage layer is compared with the preset pixel The value threshold is compared. If the pixel value of the pixel of the differential image is greater than the preset pixel value threshold, the corresponding element to be filled in the corresponding matrix is filled with the first preset value; if the pixel value of the pixel of the differential image Not greater than the preset pixel value threshold, fill the corresponding element to be filled in the corresponding matrix with the second preset value; use the image corresponding to the matrix in which all the elements to be filled are filled as the binarization of the corresponding storage layer image. The first preset value is, for example, 1, and the second preset value is, for example, 0. A schematic diagram of a matrix in which all the elements to be filled are filled is shown in FIG. 6.
通过对差分图像进行二值化处理,以得到仅具有黑色和白色视觉效果的二值化图像,而去除其他噪声的干扰,从而可根据二值化图像,准确的确定被操作商品所在的第一目标储物层。By binarizing the difference image, a binarized image with only black and white visual effects is obtained, and the interference of other noises is removed, so that according to the binarized image, the first item where the operated product is located can be accurately determined. Target storage layer.
步骤S104-8,在二值化图像中确定符合预设条件的目标二值化图像。Step S104-8: Determine the target binarized image that meets the preset condition in the binarized image.
具体的,统计每个二值化图像的矩阵所包括的第一预设值的数量,若统计的数量大于第一预设数量,则确定对应的二值化图像为目标二值化图像;或者,统计每个二值化图像的矩阵所包括的第二预设值的数量,若统计的数量大于第二预设数量,则确定对应的二值化图像为目标二值化图像。其中,第一数量与第二数量可以相同也可以不同,其在实际应用中可根据需要自行设定。Specifically, the number of the first preset values included in the matrix of each binarized image is counted, and if the counted number is greater than the first preset number, then the corresponding binarized image is determined to be the target binarized image; or Count the number of second preset values included in the matrix of each binarized image, and if the counted number is greater than the second preset number, then determine that the corresponding binarized image is the target binarized image. Among them, the first number and the second number may be the same or different, and they can be set according to actual needs.
步骤S104-10,将目标二值化图像所对应的储物层作为被操作商品所在的第一目标储物层。In step S104-10, the storage layer corresponding to the target binarized image is used as the first target storage layer where the operated commodity is located.
由于消费者在选购商品时,可能移动过不同储物层的多个商品,或者购买了不同储物层中的多个商品,因此,第一目标储物层可能为一个也可能为多个;例如,消费者拿起了储物层1中的橙汁和储物层3中的可乐对比之后,将可乐放回了储物层2,则储物层1、储物层2和储物层3均为第一目标储物层;又如,消费者拿起了储物层2中不同品牌的三瓶咖啡,最后购买了其中的2瓶,并将另一瓶放回了储物层2中,则第二储物层为第一目标储物层。Since consumers may have moved multiple products in different storage layers or purchased multiple products in different storage layers when purchasing products, the first target storage layer may be one or multiple ; For example, after the consumer picks up the orange juice in storage layer 1 and compares the Coke in storage layer 3, then puts the Coke back into storage layer 2, then storage layer 1, storage layer 2 and storage layer 3 are the first target storage layer; another example, the consumer picked up three bottles of coffee of different brands in storage layer 2, and finally bought two of them, and put the other bottle back in storage layer 2. , The second storage layer is the first target storage layer.
为了扩大第一目标储物层的空间,使第一目标储物层中的摄像头与商品之间的距离扩大,从而使第一目标储物层中的摄像头能够采集到清晰完整的图像,首先需要确定待移动层板及待移动层板的移动信息。具体的,如图7所示,步骤S106包括以下In order to expand the space of the first target storage layer and expand the distance between the camera in the first target storage layer and the goods, so that the camera in the first target storage layer can collect clear and complete images, first Determine the moving information of the floor to be moved and the moving information of the floor to be moved. Specifically, as shown in FIG. 7, step S106 includes the following
S106-2,确定每个储物层对应的第三图像。S106-2: Determine a third image corresponding to each storage layer.
本步骤的实现方法,与前述步骤S104-2中确定每个储物层对应的第一图像和第二图像的过程相似,可参见前述相关描述,这里不再赘述。The implementation method of this step is similar to the process of determining the first image and the second image corresponding to each storage layer in the foregoing step S104-2, and may refer to the foregoing related description, which will not be repeated here.
S106-4,在每个储物层对应的第三图像所包括的商品中,获取商品顶部与商品所在储物层的顶部之间的垂直距离最小的目标商品。S106-4: Among the commodities included in the third image corresponding to each storage layer, obtain the target commodity with the smallest vertical distance between the top of the commodity and the top of the storage layer where the commodity is located.
具体的,在每个储物层对应的第三图像中测量其所包括的每个商品的商品顶部与商品所在储物层的顶部之间的垂直距离,比对测量的垂直距离得到最小垂直距离,并将该最小垂直距离所对应的商品作为目标商品。Specifically, in the third image corresponding to each storage layer, measure the vertical distance between the top of each commodity included in it and the top of the storage layer where the commodity is located, and compare the measured vertical distance to obtain the minimum vertical distance , And use the product corresponding to the minimum vertical distance as the target product.
S106-6,将目标商品的顶部与所在储物层的顶部之间的垂直距离,作为目标商品所在储物层的剩余层高。In S106-6, the vertical distance between the top of the target product and the top of the storage layer is taken as the remaining height of the storage layer where the target product is located.
S106-8,根据储物层的剩余层高,确定层板中的待移动层板以及待移动层板的移动信息。S106-8, according to the remaining height of the storage layer, determine the to-be-moved floor in the floor and the movement information of the to-be-moved floor.
在实际应用中,可以根据储物层的剩余层高,确定所有具有移动空间的层板并作为待移动层板,以使第一目标储物层的空间达到最大化,从而使第一目标储物层中的摄像头与商品之间的距离达到最大化,以利于摄像头采集到清晰完整的图像;还可以根据储物层的剩余层高,将具有移动空间的层板中的部分层板作为待移动层板,以在第一目标储物层中的摄像头与商品之间的距离到达可采集清晰完整图像的预设距离的基础上,不移动过多的层板,确保安全和稳定。具体而言,本说明书一个或多个实施例中,如图8所示,步骤S106-8包括以下步骤。In practical applications, according to the remaining layer height of the storage layer, all the layers with moving space can be determined and used as the layer to be moved, so as to maximize the space of the first target storage layer, so that the first target storage layer can be maximized. The distance between the camera in the object layer and the product is maximized, so that the camera can collect clear and complete images; according to the remaining layer height of the storage layer, part of the layer plate with moving space can be used as waiting Move the shelf so that the distance between the camera in the first target storage layer and the product reaches the preset distance that can collect clear and complete images, without moving too much shelf to ensure safety and stability. Specifically, in one or more embodiments of this specification, as shown in FIG. 8, step S106-8 includes the following steps.
步骤B2,若根据除第一目标储物层外的每个储物层的剩余层高和预设安全距离,确定存在具有非零可移动距离的储物层,则根据具有非零可移动距离的储物层,确定待移动层板。Step B2, if it is determined that there is a storage layer with a non-zero movable distance based on the remaining height of each storage layer except the first target storage layer and the preset safety distance, then according to the non-zero movable distance For the storage layer, determine the layer to be moved.
具体的,将除第一目标储物层外的每个储物层的剩余层高与预设安全距离相减得到相减结果,并将相减结果作为相应储物层的可移动距离,判断是否存在非零可移动距离,若是,则确定存在具有非零可移动距离的储物层;以及,根据具有非零可移动距离的储物层的数量、第一目标储物层的数量、具有非零可移动距离的储物层与第一目标储物层的位置关系,确定待移动层板。Specifically, the remaining layer height of each storage layer except the first target storage layer is subtracted from the preset safety distance to obtain the subtraction result, and the subtraction result is used as the movable distance of the corresponding storage layer to determine Whether there is a non-zero movable distance, if so, it is determined that there is a storage layer with a non-zero movable distance; and, according to the number of storage layers with a non-zero movable distance, the number of the first target storage layer, and The positional relationship between the storage layer with a non-zero movable distance and the first target storage layer determines the layer to be moved.
进一步的,根据具有非零可移动距离的储物层的数量、第一目标储物层的数量、具有非零可移动距离的储物层与第一目标储物层的位置关系,确定待移动层板,包括:若具有非零可移动距离的储物层的数量为一、第一目标储物层的数量为一、且具有非零可移动距离的储物层与第一目标储物层相邻并位于第一目标储物层的上/下方,则确定具有非零可移动距离的储物层的底/顶侧层板为待移动层板;为便于描述,按照自上至下的顺序,依次将各层板记为层板1、层板2、层板3等,例如,具有非零可移动距离的储物层为储物层2,第一目标储物层为储物层3,则确定储物层2的底侧层板为待移动层板, 即层板2为待移动层板。Further, according to the number of storage layers with a non-zero movable distance, the number of the first target storage layer, and the positional relationship between the storage layer with a non-zero movable distance and the first target storage layer, determine the to-be-moved The layer includes: if the number of storage layers with a non-zero movable distance is one, the number of the first target storage layer is one, and the storage layer with a non-zero movable distance and the first target storage layer Adjacent and located above/below the first target storage layer, the bottom/top side layer of the storage layer with a non-zero movable distance is determined to be the layer to be moved; for ease of description, follow the top-to-bottom In order, mark each layer as layer 1, layer 2, layer 3, etc. For example, the storage layer with non-zero movable distance is storage layer 2, and the first target storage layer is storage layer 3. It is determined that the bottom layer of the storage layer 2 is the layer to be moved, that is, the layer 2 is the layer to be moved.
若具有非零可移动距离的储物层的数量不唯一、第一目标储物层的数量为一、且具有非零可移动距离的储物层为连续的、与第一目标储物层相邻并位于第一目标储物层的上/下方的储物层,则确定具有非零可移动距离的储物层的底/顶侧层板至第一目标储物层的顶/底侧层板为待移动层板;例如,具有非零可移动距离的储物层为储物层4和储物层5,第一目标储物层为储物层3,则确定储物层5的顶侧层板至储物层3的底侧层板为待移动层板,即层板4和层板3为待移动层板。If the number of storage layers with a non-zero movable distance is not unique, the number of the first target storage layer is one, and the storage layer with a non-zero movable distance is continuous and corresponds to the first target storage layer. The storage layer adjacent to and located above/below the first target storage layer is determined from the bottom/top side layer of the storage layer with non-zero movable distance to the top/bottom side layer of the first target storage layer The plate is the layer to be moved; for example, the storage layers with non-zero movable distance are the storage layer 4 and the storage layer 5, and the first target storage layer is the storage layer 3, then the top of the storage layer 5 is determined The bottom layer from the side layer to the storage layer 3 is the layer to be moved, that is, the layer 4 and the layer 3 are the layer to be moved.
若具有非零可移动距离的储物层的数量不唯一、第一目标储物层的数量为一、且具有非零可移动距离的储物层为不连续的储物层,则当具有非零可移动距离的储物层均位于第一目标储物层的上/下方时,将位于最上/下方的具有非零可移动距离的储物层的底/顶层层板至第一目标储物层的顶/底侧层板确定为待移动层板;当具有非零可移动距离的储物层分散位于第一目标储物层的上下两方时,将位于第一目标储物层最上方的具有非零可移动距离的储物层的底侧层板至第一目标储物层的顶侧层板、以及位于第一目标储物层最下方的具有非零可移动距离的储物层的顶侧层板至第一目标储物层的底侧层板确定为待移动层板;需要指出的是,当具有非零可移动距离的储物层的数量为两层、且分散位于第一目标储物层的上下两方并均与第一目标储物层相邻时,位于第一目标储物层最上方的具有非零可移动距离的储物层的底侧层板与第一目标储物层的顶侧层板为同一个层板,位于第一目标储物层最下方的具有非零可移动距离的储物层的顶侧层板与第一目标储物层的底侧层板为同一层层板。If the number of storage layers with non-zero movable distance is not unique, the number of the first target storage layer is one, and the storage layer with non-zero movable distance is a discontinuous storage layer, then when there is a non-zero storage layer When the storage layers with zero movable distance are located above/below the first target storage layer, the bottom/top layer of the storage layer with non-zero movable distance located at the top/bottom will be transferred to the first target storage layer The top/bottom side of the layer is determined to be the layer to be moved; when the storage layer with non-zero movable distance is scattered on the upper and lower sides of the first target storage layer, it will be located at the top of the first target storage layer The bottom side deck of the storage layer with a non-zero movable distance to the top side deck of the first target storage layer, and the storage layer with a non-zero movable distance located at the bottom of the first target storage layer From the top side deck of the first target storage layer to the bottom side deck of the first target storage layer is determined to be the layer to be moved; it should be pointed out that when the number of storage layers with a non-zero movable distance is two, and they are scattered in the first When the upper and lower sides of a target storage layer are both adjacent to the first target storage layer, the bottom layer of the storage layer with non-zero movable distance located at the top of the first target storage layer and the first The top layer of the target storage layer is the same layer, the top layer of the storage layer with non-zero movable distance located at the bottom of the first target storage layer and the bottom side of the first target storage layer The laminate is the same laminate.
例如,具有非零可移动距离的储物层为储物层1和储物层3,第一目标储物层为储物层5,则将储物层1的底层层板至储物层5的顶层层板确定为待移动层板,即层板1、层板2、层板3、层板4为待移动层板;又如,具有非零可移动距离的储物层为储物层1、储物层2、储物层5,第一目标储物层为储物层3,则将储物层1的底侧层板至储物层3的顶侧层板、以及储物层5的顶侧层板至储物层3的底侧层板确定为可移动层板,即层板1、层板2、层板3、层板4为待移动层板;再如,具有非零可移动距离的储物层为储物层2和储物层4、第一目标储物层为储物层3,则储物层2的底侧层板和储物层4的顶侧层板为可移动层板,即层板2和层板3为待移动层板。For example, if the storage layers with non-zero movable distance are storage layer 1 and storage layer 3, and the first target storage layer is storage layer 5, then the bottom layer of storage layer 1 is plated to storage layer 5. The top layer is determined as the layer to be moved, that is, the layer 1, the layer 2, the layer 3, and the layer 4 are the layer to be moved; another example, the storage layer with a non-zero movable distance is the storage layer 1. Storage layer 2, storage layer 5, the first target storage layer is storage layer 3, then the bottom layer of storage layer 1 to the top side of storage layer 3, and the storage layer The top side layer of 5 to the bottom side of the storage layer 3 is determined to be a movable layer, that is, the layer 1, the layer 2, the layer 3, and the layer 4 are the layers to be moved; The storage layers with zero movable distance are storage layer 2 and storage layer 4, and the first target storage layer is storage layer 3, then the bottom side layer of storage layer 2 and the top side layer of storage layer 4 The board is a movable laminate, that is, the laminate 2 and the laminate 3 are the laminates to be moved.
更进一步的,当第一目标储物层的数量大于一时,可依次将其中的一个第一目标储物层作为当前目标储物层,并按照上述方式确定关于当前目标储物层的可移动层板。还可以以每个第一目标储物层的空间同时得到最大化为目标,根据具有非零可移动距离的 储物层的可移动距离和预设距离进行推算,从而根据推算结果确定可移动层板;例如,第一目标储物层为储物层2和储物层5,具有非零可移动距离的储物层为储物层1和储物层4,且储物层1的可移动距离为9厘米,储物层4的可移动距离为2厘米,预设距离为5厘米;可以确定储物层1的底侧层板向上移动5厘米即可使目标储物层2达到预设距离,且此时储物层1还有3厘米的可移动距离,而储物层4的底侧层板向上移动2厘米后仍然不能使储物层5达到预设距离,则可以通过将储物层1的底侧层板向上移动8厘米、储物层3的顶侧层板和底侧层板向上移动3厘米、以及储物层4的底侧层板向上移动3+2=5厘米,即可使储物层5达到拍摄距离;或者,可以通过将储物层1的底侧层板向上移动9厘米、储物层3的顶侧层板和底侧层板向上移动4厘米、以及储物层4的底侧层板向上移动4+2=6厘米,使得目标储物层5的可移动距离为6厘米,超过预设距离;故将储物层1的底侧层板、储物层3的顶侧层板和底侧层板、以及储物层4的底侧层板确定为待移动层板,即层板1、层板2、层板3、层板4为待移动层板。应当理解的是,当第一目标储物层的数量大于一时,可以自行配置确定可移动层板的策略,其能够使得目标储物层的空间最大化即可,而各确定可移动层板的策略均在本申请的保护范围内,这里不再一一举例。Furthermore, when the number of the first target storage layer is greater than one, one of the first target storage layers can be used as the current target storage layer in turn, and the movable layer of the current target storage layer can be determined according to the above method. board. It is also possible to maximize the space of each first target storage layer at the same time as the goal, and calculate based on the movable distance of the storage layer with non-zero movable distance and the preset distance, so as to determine the movable layer according to the result of the calculation. For example, the first target storage layer is storage layer 2 and storage layer 5, the storage layers with non-zero movable distance are storage layer 1 and storage layer 4, and the movable storage layer 1 The distance is 9 cm, the movable distance of storage layer 4 is 2 cm, and the preset distance is 5 cm; it can be determined that the bottom layer of storage layer 1 moves up by 5 cm to make the target storage layer 2 reach the preset At this time, storage layer 1 still has a movable distance of 3 cm, and storage layer 5 cannot reach the preset distance after the bottom side of storage layer 4 moves up 2 cm. The bottom shelf of layer 1 moves up 8 cm, the top shelf and bottom shelf of storage layer 3 move up 3 cm, and the bottom shelf of storage layer 4 moves up 3+2=5 cm , The storage layer 5 can reach the shooting distance; alternatively, the bottom layer of the storage layer 1 can be moved up by 9 cm, and the top and bottom layers of the storage layer 3 can be moved up by 4 cm. And the bottom layer of the storage layer 4 moves up 4+2=6 cm, so that the movable distance of the target storage layer 5 is 6 cm, which exceeds the preset distance; therefore, the bottom layer of the storage layer 1 The top and bottom layers of the storage layer 3, and the bottom layer of the storage layer 4 are determined to be the layers to be moved, that is, the layer 1, the layer 2, the layer 3, and the layer 4 are the layers to be moved. Move the shelf. It should be understood that when the number of the first target storage layer is greater than one, the strategy for determining the movable layer can be configured by oneself, which can maximize the space of the target storage layer, and each determines the movable layer. The strategies are all within the scope of protection of this application, and no examples are given here.
步骤B4,根据待移动层板与第一目标储物层的位置关系,确定待移动层板的移动方向。Step B4: Determine the moving direction of the floor to be moved according to the positional relationship between the floor to be moved and the first target storage layer.
具体的,当第一目标储物层的数量为一时,若待移动层板位于第一目标储物层的上方,则待移动层板的移动方向为向上;若待移动层板位于第一目标储物层的下方,则待移动层板的移动方向为向下。当第一目标储物层的数量大于一时,可以根据具体的推算过程,确定待移动层板的移动方向。Specifically, when the number of the first target storage layer is one, if the layer to be moved is located above the first target storage layer, the moving direction of the layer to be moved is upward; if the layer to be moved is located at the first target Below the storage layer, the moving direction of the layer to be moved is downward. When the number of the first target storage layer is greater than one, the moving direction of the layer to be moved can be determined according to a specific calculation process.
步骤B6,根据待移动层板所对应的储物层的可移动距离,确定待移动层板的实际移动距离。Step B6: Determine the actual moving distance of the floor to be moved according to the movable distance of the storage layer corresponding to the floor to be moved.
具体的,若第一目标储物层的数量为一、且待移动层板的数量为一,则确定其对应的储物层的可移动距离为该待移动层板的实际移动距离;例如,目标储物层为储物层3,待移动层板为层板2,层板2对应的储物层2的可移动距离为1.5厘米,则确定待移动层板2的实际移动距离为1.5厘米。Specifically, if the number of the first target storage layer is one and the number of the layer to be moved is one, the movable distance of the corresponding storage layer is determined to be the actual moving distance of the layer to be moved; for example, The target storage layer is storage layer 3, the layer to be moved is layer 2, and the movable distance of storage layer 2 corresponding to layer 2 is 1.5 cm, then the actual moving distance of the layer 2 to be moved is determined to be 1.5 cm .
若第一目标储物层的数量为一、待移动层板的数量不唯一且位于目标储物层的上/下方,则自上至下/自下至上依次将以各待移动层板为底/顶侧层板的储物层的可移动距离累加,并将累加结果作为相应可移动层板的实际移动距离;例如,第一目标储物层 为储物层4,待移动层板为层板1、层板2和层板3,以层板1为底侧层板的储物层1的可移动距离为1厘米,以层板2为底侧层板的储物层2的可移动距离为1.5厘米,以层板3为底侧层板的储物层3的可移动距离为1厘米,则确定层板1的实际移动距离为1厘米,层板2的实际移动距离为1+1.5=2.5厘米,层板3的实际移动距离为1+1.5+1=3.5厘米;又如,第一目标储物层为储物层2,待移动层板为层板2、层板3和层板4,以层板2为顶侧层板的储物层3的可移动距离为1厘米,以层板3为顶侧层板的储物层4的可移动距离为0厘米,以层板4为顶侧层板的储物层5的可移动距离为2厘米,则确定层板4的实际移动距离为2厘米,层板3的实际移动距离为2+0=2厘米,层板2的实际移动距离为2+0+1=3厘米。If the number of the first target storage layer is one, the number of the layer to be moved is not unique and it is located above/below the target storage layer, each layer to be moved will be the bottom in order from top to bottom/bottom to top. /The movable distance of the storage layer of the top side layer is accumulated, and the accumulated result is used as the actual moving distance of the corresponding movable layer; for example, the first target storage layer is storage layer 4, and the layer to be moved is layer Plate 1, layer 2, and layer 3. The movable distance of storage layer 1 with layer 1 as the bottom layer is 1 cm, and the movable distance of storage layer 2 with layer 2 as the bottom layer The distance is 1.5 cm, and the movable distance of storage layer 3 with layer 3 as the bottom layer is 1 cm, then the actual moving distance of layer 1 is determined to be 1 cm, and the actual moving distance of layer 2 is 1+ 1.5=2.5cm, the actual moving distance of the layer 3 is 1+1.5+1=3.5cm; for another example, the first target storage layer is storage layer 2, and the layer to be moved is layer 2, layer 3 and Layer 4, the movable distance of storage layer 3 with layer 2 as the top side layer is 1 cm, and the movable distance of storage layer 4 with layer 3 as the top side layer is 0 cm. The movable distance of the storage layer 5 where the board 4 is the top side laminate is 2 cm, then it is determined that the actual movement distance of the laminate 4 is 2 cm, and the actual movement distance of the laminate 3 is 2+0=2 cm. The actual moving distance of 2 is 2+0+1=3 cm.
进一步的,当第一目标储物层的数量大于一时,可以根据具体的推算过程,确定待移动层板的移动距离。Further, when the number of the first target storage layer is greater than one, the moving distance of the layer to be moved can be determined according to a specific calculation process.
步骤B8,将待移动层板的移动方向和实际移动距离作为待移动层板的移动信息。Step B8: Use the moving direction and the actual moving distance of the layer to be moved as the moving information of the layer to be moved.
通过上述步骤B2至步骤B8所描述的方式,能够根据具有非零可移动距离的储物层,确定所有具有移动空间的层板并作为待移动层板,以使第一目标储物层的空间达到最大化。Through the method described in step B2 to step B8 above, it is possible to determine all the layers with moving space according to the storage layer with non-zero movable distance and use them as the layer to be moved, so as to make the space of the first target storage layer Maximize.
在本说明书一个或多个实施例中,在使第一目标储物层中的摄像头与商品之间的距离到达可采集清晰完整图像的预设距离的基础上,为不移动过多的层板而确保安全和稳定,还可以仅将部分具有移动空间的层板作为可移动层板;具体的,如图9所示,步骤S106-8包括以下。In one or more embodiments of the present specification, on the basis of making the distance between the camera in the first target storage layer and the commodity reach the preset distance that can collect clear and complete images, it is not necessary to move too many layers. To ensure safety and stability, it is also possible to use only part of the laminates with moving spaces as movable laminates; specifically, as shown in FIG. 9, step S106-8 includes the following.
步骤C2,若根据除第一目标储物层外的每个储物层的剩余层高和预设安全距离,确定存在距离第一目标储物层最近、且可移动的总距离不小于预设距离的第二目标储物层,则根据第二目标储物层,确定待移动层板。Step C2, if it is determined that there is a distance that is closest to the first target storage layer and the total movable distance is not less than the preset safety distance according to the remaining height of each storage layer except the first target storage layer and the preset safety distance According to the second target storage layer of the distance, the layer to be moved is determined according to the second target storage layer.
具体的,将除第一目标储物层外的每个储物层的剩余层高与预设安全距离相减,将相减结果作为相应储物层的可移动距离;以及,将当前计算层数记为一,判断以第一目标储物层为基准向上或向下与第一目标储物层相邻的一个储物层的可移动距离是否不小于预设距离,若是,则确定该一个储物层为目标储物层,若否,则将当前计算层数加一后作为当前计算层数,以第一目标储物层为基准向上和/或向下,将距离第一目标储物层最近的两个储物层的可移动距离相加,将相加结果作为该两个储物层的可移动的总距离,判断该总距离是否不小于预设距离,若是,则将该两个储物层作为第二目标储物 层,根据第二目标储物层,确定待移动层板;若否,则继续更新当前计算层数并进行上述计算,直至得到第二目标储物层。Specifically, the remaining layer height of each storage layer except the first target storage layer is subtracted from the preset safety distance, and the subtraction result is used as the movable distance of the corresponding storage layer; and, the current calculation layer The number is counted as one, and it is judged whether the movable distance of a storage layer adjacent to the first target storage layer upward or downward based on the first target storage layer is not less than the preset distance, if yes, determine the one The storage layer is the target storage layer. If not, add one to the current calculated layer number as the current calculated layer number, and use the first target storage layer as the basis to move upward and/or downward, and set the distance from the first target storage layer to The movable distances of the two closest storage layers are added together, and the result of the addition is used as the total movable distance of the two storage layers to determine whether the total distance is not less than the preset distance. Each storage layer is used as the second target storage layer. According to the second target storage layer, determine the layer to be moved; if not, continue to update the current calculated layer number and perform the above calculations until the second target storage layer is obtained.
进一步的,根据第二目标储物层,确定待移动层板包括以下。Further, according to the second target storage layer, determining the layer to be moved includes the following.
若第一目标储物层的数量为一、第二目标储物层位于第一目标储物层的上方/下方,则将位于最上方/下方的第二目标储物层的底侧/顶侧层板至第一目标储物层的顶侧/底侧层板,确定为待移动层板;例如,第一目标储物层为储物层4,第二目标储物层为储物层2和储物层3,则将储物层2的底侧层板至储物层4的顶侧层板确定为待移动层板,即层板2和层板3为待移动层板。If the number of the first target storage layer is one and the second target storage layer is located above/below the first target storage layer, it will be located on the bottom/top side of the top/bottom second target storage layer The top/bottom layer from the layer to the first target storage layer is determined to be the layer to be moved; for example, the first target storage layer is storage layer 4, and the second target storage layer is storage layer 2. And the storage layer 3, the bottom side layer of the storage layer 2 to the top side layer of the storage layer 4 are determined as the layer to be moved, that is, the layer 2 and the layer 3 are the layer to be moved.
若第一目标储物层的数量为一、第二目标储物层分散位于第一目标储物层的上方和下方,则对于位于第一目标储物层上方的第二目标储物层,将位于最上方的第二目标储物层的底侧层板至第一目标储物层的顶侧层板作为待移动层板;以及,对于位于第一目标储物层下方的第二目标储物层,将位于最下方的第二目标储物层的顶侧层板至第一目标储物层的底侧层板作为待移动层板;例如,第一目标储物层为储物层3,第二目标储物层为储物层2、储物层4和储物层5,则将储物层2的底侧层板、储物层4和储物层5的顶侧层板确定为待移动层板,即层板2、层板3和层板4为待移动层板。If the number of the first target storage layer is one and the second target storage layer is scattered above and below the first target storage layer, then for the second target storage layer located above the first target storage layer, change The bottom side deck of the second target storage layer located at the top to the top side deck of the first target storage layer serves as the floor to be moved; and, for the second target storage layer located below the first target storage layer Layer, the top side layer of the second target storage layer located at the bottom to the bottom side layer of the first target storage layer is used as the layer to be moved; for example, the first target storage layer is storage layer 3. The second target storage layer is storage layer 2, storage layer 4, and storage layer 5. The bottom side slab of storage layer 2 and the top side slab of storage layer 4 and storage layer 5 are determined as The layers to be moved, that is, the layer 2, the layer 3, and the layer 4, are the layers to be moved.
更进一步的,若第一目标储物层的数量大于一,则可依次将其中的一个第一目标储物层作为当前目标储物层,并按照上述方式确定关于当前目标储物层的可移动层板。还可以以每个第一目标储物层的空间同时得到最大化为目标,根据具有非零可移动距离的储物层的可移动距离和预设距离进行推算,从而根据推算结果确定可移动层板。应当理解的是,当第一目标储物层的数量大于一时,可以自行配置确定可移动层板的策略,其能够使得目标储物层的空间最大化即可,而各确定可移动层板的策略均在本申请的保护范围内,这里不再举例。Furthermore, if the number of the first target storage layer is greater than one, one of the first target storage layers can be used as the current target storage layer in turn, and the mobility of the current target storage layer can be determined according to the above method. Laminate. It is also possible to maximize the space of each first target storage layer at the same time as the goal, and calculate based on the movable distance of the storage layer with non-zero movable distance and the preset distance, so as to determine the movable layer according to the result of the calculation. board. It should be understood that when the number of the first target storage layer is greater than one, the strategy for determining the movable layer can be configured by oneself, which can maximize the space of the target storage layer, and each determines the movable layer. The strategies are all within the scope of protection of this application, and no examples are given here.
步骤C4,根据待移动层板与第一目标储物层的位置关系,确定待移动层板的移动方向。Step C4: Determine the moving direction of the floor to be moved according to the positional relationship between the floor to be moved and the first target storage layer.
本步骤的实现方法,可参见前述步骤B4中的相关描述,重复之处这里不再赘述。For the implementation method of this step, please refer to the relevant description in the foregoing step B4, and the repetitive points will not be repeated here.
步骤C6,根据第二目标储物层的可移动距离,确定待移动层板的实际移动距离。Step C6, according to the movable distance of the second target storage layer, determine the actual moving distance of the layer to be moved.
本步骤的实现方法,可参见前述步骤B6中的相关描述,重复之处这里不再赘述。For the implementation method of this step, please refer to the relevant description in the foregoing step B6, and the repetitive points will not be repeated here.
步骤C8,将待移动层板的移动方向和实际移动距离作为待移动层板的移动信息。Step C8: Use the moving direction and the actual moving distance of the layer to be moved as the moving information of the layer to be moved.
通过步骤C2至步骤C8的方式,既可以使第一目标储物层中的摄像头与商品之间的距离到达可采集清晰完整图像的预设距离,又可以不移动过多的层板,确保安全和稳定。Through the method of step C2 to step C8, the distance between the camera in the first target storage layer and the product can reach the preset distance that can collect clear and complete images without moving too many layers to ensure safety And stability.
以上通过确定待移动层板的移动信息,以在后续根据该移动信息对待移动层板进行精准控制,而不会因同一储物层中的商品高矮不一而损坏部分商品。In the above, by determining the movement information of the to-be-moved laminate, the subsequent precise control of the to-be-moved laminate is performed based on the movement information, without damaging part of the goods due to the different heights of goods in the same storage layer.
在确定了待移动层板的移动信息后,即可控制待移动层板移动,以使第一目标储物层的空间达到最大化,具体的,本说明书一个或多个实施例中,步骤S108包括:根据待移动层板的移动信息和层板标识,发送层板移动指令给设置于售卖货柜中的升降模块,以使升降模块中的驱动单元根据层板移动指令所包括的移动信息,驱动层板标识所对应的待移动层板通过其侧面设置的滚轮,沿升降模块中的导轨移动。After the movement information of the floor to be moved is determined, the movement of the floor to be moved can be controlled to maximize the space of the first target storage layer. Specifically, in one or more embodiments of this specification, step S108 Including: according to the moving information of the shelf to be moved and the shelf identification, sending the moving instruction of the shelf to the lifting module set in the sales container, so that the driving unit in the lifting module drives according to the moving information included in the moving instruction of the shelf The layer plate to be moved corresponding to the layer plate identifier moves along the guide rails in the lifting module through the rollers provided on the side of the layer plate.
进一步的,考虑到当第一目标储物层的空间达到最大化时,摄像头所采集的图像相较于层板移动之前会更完整、更清晰,而基于此时摄像头所采集的图像确定被购买商品也会更准确。基于此,本说明书一个或多个实施例中,如图10所示,步骤S108之后,还包括以下步骤。Further, considering that when the space of the first target storage layer is maximized, the image collected by the camera will be more complete and clearer than before the layer moves, and based on the image collected by the camera at this time, it is determined to be purchased Commodities will also be more accurate. Based on this, in one or more embodiments of this specification, as shown in FIG. 10, after step S108, the following steps are further included.
步骤S110,获取第一目标储物层的第四图像,其中,第四图像包括第一目标储物层的平面图像信息。Step S110: Obtain a fourth image of the first target storage layer, where the fourth image includes planar image information of the first target storage layer.
具体的,在接收到售卖货柜中的升降模块发送的移动完成信号时,根据移动完成信号的接收时间发送第三图像获取请求给设置于第一目标储物层中的摄像头;第一目标储物层中的摄像头接收第三图像获取请求,根据第三图像获取请求包括的接收时间,在其拍摄的视频流中获取对应的视频帧,从获取的视频帧提取第四图像并返回;接收第一目标储物层中的摄像头返回的第四图像。Specifically, when the movement completion signal sent by the lifting module in the sales container is received, the third image acquisition request is sent to the camera set in the first target storage layer according to the receiving time of the movement completion signal; the first target storage The camera in the layer receives the third image acquisition request, according to the receiving time included in the third image acquisition request, acquires the corresponding video frame in the video stream it shoots, extracts the fourth image from the acquired video frame and returns it; receives the first The fourth image returned by the camera in the target storage layer.
步骤S112,根据第一目标储物层对应的第一图像和第四图像确定被购买商品。Step S112: Determine the purchased commodity according to the first image and the fourth image corresponding to the first target storage layer.
具体的,将第一目标储物层对应的第一图像和第四图像输入至预先训练的深度神经网络中进行学习,得到被取出商品的商品信息,其中,商品信息如商品名称、商品类别、商品价格等。Specifically, the first image and the fourth image corresponding to the first target storage layer are input into a pre-trained deep neural network for learning, and the product information of the product to be taken out is obtained. The product information such as product name, product category, Commodity prices, etc.
需要指出的是,深度神经网络的训练过程为本领域技术人员熟知的技术手段,具体的训练过程这里不再赘述,参考现有的深度神经网络的训练过程即可。It should be pointed out that the training process of the deep neural network is a technical means well known to those skilled in the art. The specific training process will not be repeated here, and the training process of the existing deep neural network can be referred to.
步骤S114,将被购买商品的商品信息发送给对应的消费者,并控制待移动层板复原至移动前的位置。In step S114, the product information of the purchased product is sent to the corresponding consumer, and the floor to be moved is controlled to be restored to the position before the movement.
具体的,将学习得到的被购买商品的商品信息发送给对应的消费者,以使消费者进行确认并支付相应的费用;Specifically, the product information of the purchased product obtained through learning is sent to the corresponding consumer, so that the consumer can confirm and pay the corresponding fee;
由此,基于移动层板之后所获取的第四图像确定被购买商品,提升了确定结果的准确率,通过将层板复原至移动前的位置,确保了后续消费者选购商品时,每个储物层均具有一定的空间而便于消费者操作。As a result, the purchased product is determined based on the fourth image obtained after moving the laminate, which improves the accuracy of the determination result. By restoring the laminate to the position before the move, it is ensured that when the subsequent consumer purchases the product, every The storage layer has a certain space to facilitate the operation of consumers.
进一步的,为了控制待移动层板复原至移动前的位置,本说明书一个或多个实施例中,步骤S106-8之后还包括:记录确定的待移动层板的移动信息;与之对应的,步骤S114中控制待移动层板复原至移动前的位置,包括:根据记录的待移动层板的移动信息,确定待移动层板的复原信息,根据复原信息发送层板复原指令给售卖货柜中的升降模块,以使升降模块根据复原信息控制待移动层板复原至移动前的位置。Further, in order to control the laminate to be moved back to the position before the movement, in one or more embodiments of this specification, after step S106-8, it further includes: recording the determined movement information of the laminate to be moved; correspondingly, In step S114, controlling the recovery of the shelf to be moved to the position before the movement includes: determining the recovery information of the shelf to be moved according to the recorded movement information of the shelf to be moved, and sending the recovery instruction of the shelf to the sales container according to the recovery information. The lifting module, so that the lifting module controls the to-be-moved layer board to be restored to the position before the movement according to the restoration information.
或者,售卖货柜中的升降模块在接收到层板移动指令时,记录待移动层板的移动信息;对应的,步骤S114中控制待移动层板复原至移动前的位置,包括:发送层板复原指令给售卖货柜中的升降模块,以使升降模块根据其记录的层板移动信息确定层板复原信息,并根据层板复原信息控制待移动层板复原至移动前的位置。Or, when the lifting module in the sales container receives the instruction to move the shelf, it records the movement information of the shelf to be moved; correspondingly, in step S114, controlling the shelf to be moved to be restored to the position before the movement includes: sending the shelf to restore The instruction is given to the lifting module in the sales container, so that the lifting module determines the recovery information of the floor according to the recorded floor movement information, and controls the floor to be moved to be restored to the position before the movement according to the recovery information of the floor.
本说明书一个或多个实施例提供的层板调节方法,能够基于售卖货柜中各摄像头所采集的图像,确定待移动层板的移动信息;其实现了售卖货柜中层板位置的灵活调控,不仅能够提升储物空间的利用率,而且能够增大被操作商品所在储物层中的摄像头与商品之间的距离,从而减少该摄像头的拍摄盲区和拍摄死角,提升该摄像头所采集的图像的准确性,以及提升识别被购买商品的识别结果的准确性。The shelf adjustment method provided by one or more embodiments of this specification can determine the movement information of the shelf to be moved based on the images collected by each camera in the sales container; it realizes the flexible adjustment of the position of the shelf in the sales container, not only Improve the utilization of storage space, and increase the distance between the camera in the storage layer where the product is operated and the product, thereby reducing the blind spots and blind spots of the camera, and improving the accuracy of the image collected by the camera , And improve the accuracy of the recognition results that identify the purchased goods.
对应上述图4至图10描述的层板调控方法,基于相同的技术构思,本说明书一个或多个实施例还提供一种层板调控装置,应用于售卖货柜,其中,售卖货柜内部的储物空间被层板划分为多个储物层。图11为本说明书一个或多个实施例提供的层板调控装置的模块组成示意图,该装置用于执行图4至图10描述的层板调控方法,如图11所示,该装置包括以下模块。Corresponding to the layer control method described in FIGS. 4 to 10, based on the same technical concept, one or more embodiments of this specification also provide a layer control device applied to a sales container, wherein the storage inside the sales container The space is divided into multiple storage layers by slabs. FIG. 11 is a schematic diagram of the module composition of the laminate control device provided by one or more embodiments of this specification. The device is used to implement the laminate control method described in FIG. 4 to FIG. 10. As shown in FIG. 11, the device includes the following modules .
获取模块201,其获取售卖货柜的柜门被打开时各所述储物层的第一图像,以及所述柜门被关闭时各所述储物层的第二图像和第三图像;其中,所述第一图像、所述第二图像和所述第三图像均由设置于各所述储物层顶侧的摄像头,采集自身所在储物层中放置的商品而得;所述第一图像和所述第二图像包括所述储物层的平面图像信息,所述第三图像包括所述储物层的深度图像信息。The acquiring module 201, which acquires the first image of each storage layer when the door of the sales container is opened, and the second image and the third image of each storage layer when the door is closed; wherein, The first image, the second image, and the third image are all obtained by a camera arranged on the top side of each of the storage layers to collect commodities placed in the storage layer where they are located; the first image And the second image includes planar image information of the storage layer, and the third image includes depth image information of the storage layer.
第一确定模块202,其根据所述第一图像和所述第二图像,确定被操作商品所在的第一目标储物层。The first determining module 202 determines the first target storage layer where the operated commodity is located according to the first image and the second image.
第二确定模块203,其根据所述第三图像和所述第一目标储物层,确定所述层板中的待移动层板以及所述待移动层板的移动信息。The second determining module 203 determines the to-be-moved floor in the floor and the movement information of the to-be-moved floor according to the third image and the first target storage layer.
控制模块204,其根据所述待移动层板的移动信息,控制所述待移动层板移动。The control module 204 controls the movement of the laminate to be moved according to the movement information of the laminate to be moved.
本说明书一个或多个实施例中,基于售卖货柜中各摄像头所采集的图像,实现了对售卖货柜中层板位置的灵活调控,不仅能够提升储物空间的利用率,而且能够增大被操作商品所在储物层中的摄像头与商品之间的距离,从而减少该摄像头的拍摄盲区和拍摄死角,提升该摄像头所采集的图像的准确性,以及提升识别被购买商品的识别结果的准确性。In one or more embodiments of this specification, based on the images collected by each camera in the sales container, the flexible adjustment of the position of the shelf in the sales container is realized, which can not only improve the utilization rate of storage space, but also increase the number of commodities to be operated. The distance between the camera in the storage layer and the product, thereby reducing the blind spots and blind spots of the camera, improving the accuracy of the image collected by the camera, and improving the accuracy of the recognition result of identifying the purchased product.
可选地,所述获取模块201,当检测到所述售卖货柜的柜门被打开的开门信号时,根据所述开门信号的第一检测时间发送第一图像获取请求给各所述摄像头,以使各所述摄像头根据所述第一检测时间在已拍摄的视频流中获取对应的视频帧,从获取的视频帧提取所述第一图像;以及,当检测到所述售卖货柜的柜门被关闭的关门信号时,根据所述关门信号的第二检测时间发送第二图像获取请求给各所述摄像头,以使各所述摄像头根据所述第二检测时间在已拍摄的视频流中获取对应的视频帧,从获取的视频帧提取所述第二图像和所述第三图像。Optionally, the acquisition module 201, when detecting a door opening signal that the door of the sales container is opened, sends a first image acquisition request to each of the cameras according to the first detection time of the door opening signal to Make each of the cameras obtain the corresponding video frame in the captured video stream according to the first detection time, and extract the first image from the obtained video frame; and, when it is detected that the door of the sales container is When the door-closing signal is closed, a second image acquisition request is sent to each camera according to the second detection time of the door-closing signal, so that each camera obtains the corresponding image in the captured video stream according to the second detection time. The second image and the third image are extracted from the acquired video frame.
可选地,所述第一确定模块202,其确定每个储物层对应的所述第一图像和所述第二图像;以及,对每个储物层对应的所述第一图像和所述第二图像进行差分处理,得到每个储物层对应的差分图像;对每个储物层对应的差分图像进行二值化处理,得到每个储物层对应的二值化图像;在所述二值化图像中确定符合预设条件的目标二值化图像;将所述目标二值化图像所对应的储物层作为被操作商品所在的第一目标储物层。Optionally, the first determining module 202 determines the first image and the second image corresponding to each storage layer; and, for the first image and the second image corresponding to each storage layer The second image is subjected to differential processing to obtain a differential image corresponding to each storage layer; the differential image corresponding to each storage layer is binarized to obtain a binary image corresponding to each storage layer; In the binarized image, a target binarized image that meets a preset condition is determined; the storage layer corresponding to the target binarized image is used as the first target storage layer where the operated commodity is located.
可选地,所述第二确定模块203,其确定每个储物层对应的所述第三图像;以及,在每个储物层对应的所述第三图像所包括的商品中,获取商品顶部与商品所在储物层的顶部之间的垂直距离最小的目标商品;将所述目标商品的顶部与所述目标商品所在储物层的顶部之间的垂直距离,作为所述目标商品所在储物层的剩余层高;根据所述储物层的剩余层高,确定所述层板中的待移动层板以及所述待移动层板的移动信息。Optionally, the second determining module 203 determines the third image corresponding to each storage layer; and, among the commodities included in the third image corresponding to each storage layer, obtains the commodity The target product with the smallest vertical distance between the top and the top of the storage layer where the product is located; the vertical distance between the top of the target product and the top of the storage layer where the target product is located is taken as the storage layer where the target product is located. The remaining layer height of the material layer; according to the remaining layer height of the storage layer, determine the layer to be moved in the layer and the movement information of the layer to be moved.
可选地,所述第二确定模块203,若根据除所述第一目标储物层外的每个储物层的剩余层高和预设安全距离,确定存在具有非零可移动距离的储物层,则根据所述具有 非零可移动距离的储物层与所述第一目标储物层的位置关系,确定待移动层板;以及,根据所述待移动层板与所述第一目标储物层的位置关系,确定所述待移动层板的移动方向;根据所述待移动层板所对应的储物层的可移动距离,确定所述待移动层板的实际移动距离;将所述待移动层板的移动方向和实际移动距离作为所述待移动层板的移动信息;或者,若根据除所述第一目标储物层外的每个储物层的剩余层高和预设安全距离,确定存在距离所述第一目标储物层最近、且可移动的总距离不小于预设距离的第二目标储物层,则根据所述第二目标储物层,确定待移动层板;以及,根据所述待移动层板与所述第一目标储物层的位置关系,确定所述待移动层板的移动方向;根据所述第二目标储物层的可移动距离,确定所述待移动层板的实际移动距离;将所述待移动层板的移动方向和实际移动距离作为所述待移动层板的移动信息。Optionally, the second determining module 203 determines that there is a storage with a non-zero movable distance based on the remaining layer height and a preset safety distance of each storage layer except the first target storage layer. For the object layer, determine the layer to be moved according to the positional relationship between the storage layer with a non-zero movable distance and the first target storage layer; and, according to the positional relationship between the storage layer to be moved and the first target storage layer; The position relationship of the target storage layer determines the moving direction of the layer to be moved; the actual moving distance of the layer to be moved is determined according to the movable distance of the storage layer corresponding to the layer to be moved; The moving direction and actual moving distance of the to-be-moved floor are used as the moving information of the to-be-moved floor; or, if it is based on the remaining floor height and pre-determined height of each storage layer except for the first target storage layer Set a safe distance, determine that there is a second target storage layer that is closest to the first target storage layer and whose total movable distance is not less than a preset distance, then determine the second target storage layer to be moved based on the second target storage layer Layer; and, according to the position relationship between the layer to be moved and the first target storage layer, determine the moving direction of the layer to be moved; according to the movable distance of the second target storage layer, Determine the actual moving distance of the to-be-moved laminate; use the moving direction and the actual moving distance of the to-be-moved laminate as the movement information of the to-be-moved laminate.
可选地,所述控制模块204,其根据所述待移动层板的移动信息和层板标识,发送层板移动指令给设置于所述售卖货柜中的升降模块,以使所述升降模块中的驱动单元根据所述移动信息,驱动所述层板标识所对应的待移动层板通过其侧面设置的滚轮,沿所述升降模块中的导轨移动。Optionally, the control module 204 sends a floor movement instruction to the lifting module set in the sales container according to the moving information and the floor identifier of the floor to be moved, so that the lifting module According to the movement information, the driving unit drives the layer plate to be moved corresponding to the layer plate identifier to move along the guide rail in the lifting module through the roller provided on the side of the layer plate.
可选地,所述获取模块201,其在所述控制模块204控制所述待移动层板移动之后,还获取所述第一目标储物层对应的第四图像,其中,所述第四图像包括所述第一目标储物层的平面图像信息;以及,根据所述第一目标储物层对应的所述第一图像和所述第四图像确定所述被购买商品;将所述被购买商品的商品信息发送给对应的消费者;所述控制模块204,还控制所述待移动层板复原至移动前的位置。Optionally, the acquisition module 201 further acquires a fourth image corresponding to the first target storage layer after the control module 204 controls the movement of the floor to be moved, wherein the fourth image Including the plane image information of the first target storage layer; and, determining the purchased commodity according to the first image and the fourth image corresponding to the first target storage layer; The commodity information of the commodity is sent to the corresponding consumer; the control module 204 also controls the to-be-moved laminate to be restored to the position before the movement.
本说明书一个或多个实施例提供的层板调控装置,能够基于售卖货柜中各摄像头所采集的图像,确定待移动层板的移动信息;其实现了对售卖货柜中层板位置的灵活调控,不仅能够提升储物空间的利用率,而且能够增大被操作商品所在储物层中的摄像头与商品之间的距离,从而减少该摄像头的拍摄盲区和拍摄死角,提升该摄像头所采集的图像的准确性,以及提升识别被购买商品的识别结果的准确性。The layer control device provided in one or more embodiments of this specification can determine the movement information of the layer to be moved based on the images collected by each camera in the sales container; it realizes the flexible control of the position of the layer in the sales container, not only It can improve the utilization of storage space, and can increase the distance between the camera in the storage layer where the product is operated and the product, thereby reducing the blind spots and dead spots of the camera, and improving the accuracy of the image collected by the camera And improve the accuracy of the recognition results of the purchased goods.
需要说明的是,本说明书中关于层板调控装置的实施例与本说明书中关于层板调控方法的实施例基于同一发明构思,因此该实施例的具体实施可以参见前述对应的层板调控方法的实施,重复之处不再赘述。It should be noted that the embodiment of the laminate control device in this specification and the embodiment of the laminate control method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the corresponding laminate control method mentioned above. Implementation, the repetition will not be repeated.
进一步地,对应上述图4至图10所示的方法,基于相同的技术构思,本说明书一个或多个实施例还提供一种层板调控设备,该设备用于执行上述的层板调控方法,图12为本说明书一个或多个实施例提供的一种层板调控设备的结构示意图。Further, corresponding to the methods shown in FIGS. 4 to 10, based on the same technical concept, one or more embodiments of this specification also provide a laminate control device, which is used to execute the foregoing laminate control method, FIG. 12 is a schematic structural diagram of a laminate control device provided by one or more embodiments of this specification.
如图12所示,层板调控设备可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上的处理器301和存储器302,存储器302中可以存储有一个或一个以上存储应用程序或数据。其中,存储器302可以是短暂存储或持久存储。存储在存储器302的应用程序可以包括一个或一个以上模块(图示未示出),每个模块可以包括层板调控设备中的一系列计算机可执行指令。更进一步地,处理器301可以设置为与存储器302通信,在层板调控设备上执行存储器302中的一系列计算机可执行指令。层板调控设备还可以包括一个或一个以上电源303,一个或一个以上有线或无线网络接口304,一个或一个以上输入输出接口305,一个或一个以上键盘306等。As shown in Figure 12, the layer control device may have relatively large differences due to different configurations or performances, and may include one or more processors 301 and a memory 302, and the memory 302 may store one or more storage application programs. Or data. Among them, the memory 302 may be short-term storage or persistent storage. The application program stored in the memory 302 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions in the layer control device. Furthermore, the processor 301 may be configured to communicate with the memory 302, and execute a series of computer-executable instructions in the memory 302 on the layer control device. The layer control device may also include one or more power supplies 303, one or more wired or wireless network interfaces 304, one or more input and output interfaces 305, one or more keyboards 306, and so on.
在一个具体的实施例中,层板调控设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对层板调控设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令。In a specific embodiment, the layer control device includes a memory and one or more programs, wherein one or more programs are stored in the memory, and the one or more programs may include one or more modules, and Each module may include a series of computer-executable instructions for the layer control device, and the one or more programs configured to be executed by one or more processors include computer-executable instructions for performing the following.
获取售卖货柜的柜门被打开时各所述储物层的第一图像,以及所述柜门被关闭时各所述储物层的第二图像和第三图像;其中,所述第一图像、所述第二图像和所述第三图像均由设置于各所述储物层顶侧的摄像头,采集自身所在储物层中放置的商品而得;所述第一图像和所述第二图像包括所述储物层的平面图像信息,所述第三图像包括所述储物层的深度图像信息;根据所述第一图像和所述第二图像,确定被操作商品所在的第一目标储物层;根据所述第三图像和所述第一目标储物层,确定所述层板中的待移动层板以及所述待移动层板的移动信息;根据所述待移动层板的移动信息,控制所述待移动层板移动。Acquire the first image of each storage layer when the door of the sales container is opened, and the second image and the third image of each storage layer when the door is closed; wherein, the first image , The second image and the third image are both obtained by a camera set on the top side of each of the storage layers to collect commodities placed in the storage layer where they are located; the first image and the second image The image includes the plane image information of the storage layer, the third image includes the depth image information of the storage layer; according to the first image and the second image, determine the first target where the operated commodity is located Storage layer; according to the third image and the first target storage layer, determine the layer to be moved in the layer and the moving information of the layer to be moved; according to the layer to be moved The movement information controls the movement of the layer to be moved.
本说明书一个或多个实施例中,基于售卖货柜中各摄像头所采集的图像,实现了售卖货柜中层板位置的灵活调控,不仅能够提升储物空间的利用率,而且能够增大被操作商品所在储物层中的摄像头与商品之间的距离,从而减少该摄像头的拍摄盲区和拍摄死角,提升该摄像头所采集的图像的准确性,以及提升识别被购买商品的识别结果的准确性。In one or more embodiments of this specification, based on the images collected by each camera in the sales container, the flexible adjustment of the position of the shelf in the sales container is realized, which can not only improve the utilization of storage space, but also increase the location of the goods to be operated. The distance between the camera in the storage layer and the goods, thereby reducing the blind spots and blind spots of the camera, improving the accuracy of the images collected by the camera, and improving the accuracy of the recognition results for identifying the purchased goods.
可选地,计算机可执行指令在被执行时,所述获取售卖货柜的柜门被打开时各所述储物层的第一图像,以及所述柜门被关闭时各所述储物层的第二图像和第三图像,包括:当检测到所述售卖货柜的柜门被打开的开门信号时,根据所述开门信号的第一检测时间发送第一图像获取请求给各所述摄像头,以使各所述摄像头根据所述第一检测时 间在已拍摄的视频流中获取对应的视频帧,从获取的视频帧提取所述第一图像;当检测到所述售卖货柜的柜门被关闭的关门信号时,根据所述关门信号的第二检测时间发送第二图像获取请求给各所述摄像头,以使各所述摄像头根据所述第二检测时间在已拍摄的视频流中获取对应的视频帧,从获取的视频帧提取所述第二图像和所述第三图像。Optionally, when the computer-executable instructions are executed, the acquisition of the first image of each storage layer when the door of the sales container is opened, and the first image of each storage layer when the door is closed The second image and the third image include: when the door opening signal that the door of the sales container is opened is detected, a first image acquisition request is sent to each of the cameras according to the first detection time of the door opening signal to Make each of the cameras obtain the corresponding video frame in the captured video stream according to the first detection time, and extract the first image from the obtained video frame; when it is detected that the door of the sales container is closed When the door is closed, a second image acquisition request is sent to each camera according to the second detection time of the door close signal, so that each camera obtains the corresponding video from the captured video stream according to the second detection time Frame, extracting the second image and the third image from the acquired video frame.
可选地,计算机可执行指令在被执行时,所述根据所述第一图像和所述第二图像,确定被操作商品所在的第一目标储物层,包括:确定每个储物层对应的所述第一图像和所述第二图像;对每个储物层对应的所述第一图像和所述第二图像进行差分处理,得到每个储物层对应的差分图像;对每个储物层对应的差分图像进行二值化处理,得到每个储物层对应的二值化图像;在所述二值化图像中确定符合预设条件的目标二值化图像;将所述目标二值化图像所对应的储物层作为被操作商品所在的第一目标储物层。Optionally, when the computer-executable instructions are executed, the determining, based on the first image and the second image, the first target storage layer where the operated commodity is located includes: determining that each storage layer corresponds to The first image and the second image of each storage layer; perform differential processing on the first image and the second image corresponding to each storage layer to obtain a differential image corresponding to each storage layer; Binarize the difference image corresponding to the storage layer to obtain the binarized image corresponding to each storage layer; determine the target binarized image that meets the preset conditions in the binarized image; The storage layer corresponding to the binarized image serves as the first target storage layer where the operated commodity is located.
可选地,计算机可执行指令在被执行时,所述根据所述第三图像和所述第一目标储物层,确定所述层板中的待移动层板以及所述待移动层板的移动信息,包括:确定每个储物层对应的所述第三图像;在每个储物层对应的所述第三图像所包括的商品中,获取商品顶部与商品所在储物层的顶部之间的垂直距离最小的目标商品;将所述目标商品的顶部与所述目标商品所在储物层的顶部之间的垂直距离,作为所述目标商品所在储物层的剩余层高;根据所述储物层的剩余层高,确定所述层板中的待移动层板以及所述待移动层板的移动信息。Optionally, when the computer-executable instructions are executed, the third image and the first target storage layer are used to determine the layer to be moved in the layer and the size of the layer to be moved. The movement information includes: determining the third image corresponding to each storage layer; among the commodities included in the third image corresponding to each storage layer, obtaining the difference between the top of the commodity and the top of the storage layer where the commodity is located. The target product with the smallest vertical distance between the target product; the vertical distance between the top of the target product and the top of the storage layer where the target product is located is taken as the remaining height of the storage layer where the target product is located; according to the The remaining layer height of the storage layer is used to determine the layer to be moved in the layer and the movement information of the layer to be moved.
可选地,计算机可执行指令在被执行时,所述根据所述储物层的剩余层高,确定所述层板中的待移动层板以及所述待移动层板的移动信息,包括:若根据除所述第一目标储物层外的每个储物层的剩余层高和预设安全距离,确定存在具有非零可移动距离的储物层,则根据所述具有非零可移动距离的储物层与所述第一目标储物层的位置关系,确定待移动层板;根据所述待移动层板与所述第一目标储物层的位置关系,确定所述待移动层板的移动方向;根据所述待移动层板所对应的储物层的可移动距离,确定所述待移动层板的实际移动距离;将所述待移动层板的移动方向和实际移动距离作为所述待移动层板的移动信息;或者,若根据除所述第一目标储物层外的每个储物层的剩余层高和预设安全距离,确定存在距离所述第一目标储物层最近、且可移动的总距离不小于预设距离的第二目标储物层,则根据所述第二目标储物层,确定待移动层板;根据所述待移动层板与所述第一目标储物层的位置关系,确定所述待移动层板的移动方向;根据所述第二目标储物层的可移动距离,确定所述待移动层板的实际移动距离;将所述待移动层板的移动方向和实际移动距离作为所述待移动层板的移动信息。Optionally, when the computer-executable instructions are executed, the determining the floor to be moved in the floor and the movement information of the floor to be moved according to the remaining height of the storage floor includes: If it is determined that there is a storage layer with a non-zero movable distance according to the remaining layer height and the preset safety distance of each storage layer except the first target storage layer, then according to the said storage layer with non-zero movable distance Determine the position relationship between the storage layer and the first target storage layer of the distance, determine the layer to be moved; determine the layer to be moved according to the position relationship between the layer to be moved and the first target storage layer The moving direction of the board; according to the movable distance of the storage layer corresponding to the to-be-moved floor, determine the actual moving distance of the to-be-moved floor; take the moving direction and the actual moving distance of the to-be-moved floor as The movement information of the floor to be moved; or, if it is determined that there is a distance from the first target storage layer according to the remaining height of each storage layer except the first target storage layer and a preset safety distance If the second target storage layer with the closest storey and the total movable distance is not less than the preset distance, the layer to be moved is determined according to the second target storage layer; and the layer to be moved is determined according to the layer to be moved and the second target storage layer. The position relationship of a target storage layer determines the moving direction of the layer to be moved; the actual moving distance of the layer to be moved is determined according to the movable distance of the second target storage layer; The moving direction and the actual moving distance of the moving laminate are used as the moving information of the to-be-moved laminate.
可选地,计算机可执行指令在被执行时,所述根据所述待移动层板的移动信息,控制所述待移动层板移动,包括:根据所述待移动层板的移动信息和层板标识,发送层板移动指令给设置于所述售卖货柜中的升降模块,以使所述升降模块中的驱动单元根据所述移动信息,驱动所述层板标识所对应的待移动层板通过其侧面设置的滚轮,沿所述升降模块中的导轨移动。Optionally, when the computer-executable instructions are executed, the controlling the movement of the floor to be moved according to the movement information of the floor to be moved includes: according to the movement information of the floor to be moved and the floor Identification, sending a floor moving instruction to the lifting module set in the sales container, so that the driving unit in the lifting module drives the floor to be moved corresponding to the floor identification to pass through it according to the movement information The rollers arranged on the side move along the guide rails in the lifting module.
可选地,计算机可执行指令在被执行时,所述控制所述待移动层板移动之后,还包括:获取所述第一目标储物层对应的第四图像,其中,所述第四图像包括所述第一目标储物层的平面图像信息;根据所述第一目标储物层对应的所述第一图像和所述第四图像确定所述被购买商品;将所述被购买商品的商品信息发送给对应的消费者,并控制所述待移动层板复原至移动前的位置。Optionally, when the computer-executable instructions are executed, after controlling the movement of the layer to be moved, the method further includes: acquiring a fourth image corresponding to the first target storage layer, wherein the fourth image Including the plane image information of the first target storage layer; determine the purchased commodity according to the first image and the fourth image corresponding to the first target storage layer; The product information is sent to the corresponding consumer, and the laminate to be moved is controlled to be restored to the position before the movement.
本说明书一个或多个实施例提供的层板调控设备,能够基于售卖货柜中各摄像头所采集的图像,确定待移动层板的移动信息;实现了售卖货柜中层板位置的灵活调控,不仅能够提升储物空间的利用率,而且能够增大被操作商品所在储物层中的摄像头与商品之间的距离,从而减少该摄像头的拍摄盲区和拍摄死角,提升该摄像头所采集的图像的准确性,以及提升识别被购买商品的识别结果的准确性。The layer control equipment provided by one or more embodiments of this specification can determine the movement information of the layer to be moved based on the images collected by each camera in the selling container; it realizes the flexible control of the position of the layer in the selling container, which can not only improve The utilization of storage space can increase the distance between the camera and the product in the storage layer where the product is operated, thereby reducing the blind spots and dead spots of the camera, and improving the accuracy of the image collected by the camera. And to improve the accuracy of the recognition results for identifying the purchased goods.
需要说明的是,本说明书中关于层板调控设备的实施例与本说明书中关于层板调控方法的实施例基于同一发明构思,因此该实施例的具体实施可以参见前述对应的层板调控方法的实施,重复之处不再赘述。It should be noted that the embodiment of the laminate control device in this specification and the embodiment of the laminate control method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the corresponding laminate control method described above. Implementation, the repetition will not be repeated.
进一步地,对应上述图4至图10所示的方法,基于相同的技术构思,本说明书一个或多个实施例还提供了一种存储介质,用于存储计算机可执行指令,一个具体的实施例中,该存储介质可以为U盘、光盘、硬盘等,该存储介质存储的计算机可执行指令在被处理器执行时,能实现以下流程。Further, corresponding to the methods shown in FIGS. 4 to 10, based on the same technical concept, one or more embodiments of this specification also provide a storage medium for storing computer-executable instructions. A specific embodiment Here, the storage medium may be a U disk, an optical disk, a hard disk, etc., and the computer executable instructions stored in the storage medium can implement the following process when executed by the processor.
获取售卖货柜的柜门被打开时各所述储物层的第一图像,以及所述柜门被关闭时各所述储物层的第二图像和第三图像;其中,所述第一图像、所述第二图像和所述第三图像均由设置于各所述储物层顶侧的摄像头,采集自身所在储物层中放置的商品而得;所述第一图像和所述第二图像包括所述储物层的平面图像信息,所述第三图像包括所述储物层的深度图像信息;根据所述第一图像和所述第二图像,确定被操作商品所在的第一目标储物层;根据所述第三图像和所述第一目标储物层,确定所述层板中的待移动层板以及所述待移动层板的移动信息;根据所述待移动层板的移动信息,控制所述待移动层板移动。Acquire the first image of each storage layer when the door of the sales container is opened, and the second image and the third image of each storage layer when the door is closed; wherein, the first image , The second image and the third image are both obtained by a camera set on the top side of each of the storage layers to collect commodities placed in the storage layer where they are located; the first image and the second image The image includes the plane image information of the storage layer, the third image includes the depth image information of the storage layer; according to the first image and the second image, determine the first target where the operated commodity is located Storage layer; according to the third image and the first target storage layer, determine the layer to be moved in the layer and the moving information of the layer to be moved; according to the layer to be moved The movement information controls the movement of the layer to be moved.
本说明书一个或多个实施例中,基于售卖货柜中各摄像头所采集的图像,实现了售卖货柜中层板位置的灵活调控,不仅能够提升储物空间的利用率,而且能够增大被操作商品所在储物层中的摄像头与商品之间的距离,从而减少该摄像头的拍摄盲区和拍摄死角,提升该摄像头所采集的图像的准确性,以及提升识别被购买商品的识别结果的准确性。In one or more embodiments of this specification, based on the images collected by each camera in the sales container, the flexible adjustment of the position of the shelf in the sales container is realized, which can not only improve the utilization of storage space, but also increase the location of the goods to be operated. The distance between the camera in the storage layer and the goods, thereby reducing the blind spots and blind spots of the camera, improving the accuracy of the images collected by the camera, and improving the accuracy of the recognition results for identifying the purchased goods.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述获取售卖货柜的柜门被打开时各所述储物层的第一图像,以及所述柜门被关闭时各所述储物层的第二图像和第三图像,包括:当检测到所述售卖货柜的柜门被打开的开门信号时,根据所述开门信号的第一检测时间发送第一图像获取请求给各所述摄像头,以使各所述摄像头根据所述第一检测时间在已拍摄的视频流中获取对应的视频帧,从获取的视频帧提取所述第一图像;当检测到所述售卖货柜的柜门被关闭的关门信号时,根据所述关门信号的第二检测时间发送第二图像获取请求给各所述摄像头,以使各所述摄像头根据所述第二检测时间在已拍摄的视频流中获取对应的视频帧,从获取的视频帧提取所述第二图像和所述第三图像。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the acquisition of the first image of each storage layer when the door of the sales container is opened, and when the door is closed The second image and the third image of each of the storage layers include: when the door opening signal of the selling container is detected, sending a first image acquisition request according to the first detection time of the door opening signal To each of the cameras so that each of the cameras obtains the corresponding video frame in the captured video stream according to the first detection time, and extracts the first image from the obtained video frame; when the sale is detected When the door of the container is closed with a door-closing signal, a second image acquisition request is sent to each camera according to the second detection time of the door-closing signal, so that each camera can capture the image according to the second detection time. The corresponding video frame is acquired from the video stream, and the second image and the third image are extracted from the acquired video frame.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述根据所述第一图像和所述第二图像,确定被操作商品所在的第一目标储物层,包括:确定每个储物层对应的所述第一图像和所述第二图像;对每个储物层对应的所述第一图像和所述第二图像进行差分处理,得到每个储物层对应的差分图像;对每个储物层对应的差分图像进行二值化处理,得到每个储物层对应的二值化图像;在所述二值化图像中确定符合预设条件的目标二值化图像;将所述目标二值化图像所对应的储物层作为被操作商品所在的第一目标储物层。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the determining the first target storage layer where the operated commodity is located according to the first image and the second image includes: Determine the first image and the second image corresponding to each storage layer; perform differential processing on the first image and the second image corresponding to each storage layer to obtain the corresponding storage layer Binarize the difference image corresponding to each storage layer to obtain the binarized image corresponding to each storage layer; determine the target binary value that meets the preset conditions in the binarized image The target binarized image; the storage layer corresponding to the target binarized image is used as the first target storage layer where the operated commodity is located.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述根据所述第三图像和所述第一目标储物层,确定所述层板中的待移动层板以及所述待移动层板的移动信息,包括:确定每个储物层对应的所述第三图像;在每个储物层对应的所述第三图像所包括的商品中,获取商品顶部与商品所在储物层的顶部之间的垂直距离最小的目标商品;将所述目标商品的顶部与所述目标商品所在储物层的顶部之间的垂直距离,作为所述目标商品所在储物层的剩余层高;根据所述储物层的剩余层高,确定所述层板中的待移动层板以及所述待移动层板的移动信息。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the third image and the first target storage layer are used to determine the layer to be moved in the layer and The movement information of the floor to be moved includes: determining the third image corresponding to each storage layer; among the commodities included in the third image corresponding to each storage layer, acquiring the top of the commodity and the commodity The target product with the smallest vertical distance between the top of the storage layer; the vertical distance between the top of the target product and the top of the storage layer where the target product is located is taken as the value of the storage layer where the target product is located The remaining floor height; according to the remaining floor height of the storage layer, determine the floor to be moved in the floor and the movement information of the floor to be moved.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述根据所述储物层的剩余层高,确定所述层板中的待移动层板以及所述待移动层板的移动信息, 包括:若根据除所述第一目标储物层外的每个储物层的剩余层高和预设安全距离,确定存在具有非零可移动距离的储物层,则根据所述具有非零可移动距离的储物层与所述第一目标储物层的位置关系,确定待移动层板;根据所述待移动层板与所述第一目标储物层的位置关系,确定所述待移动层板的移动方向;根据所述待移动层板所对应的储物层的可移动距离,确定所述待移动层板的实际移动距离;将所述待移动层板的移动方向和实际移动距离作为所述待移动层板的移动信息;或者,若根据除所述第一目标储物层外的每个储物层的剩余层高和预设安全距离,确定存在距离所述第一目标储物层最近、且可移动的总距离不小于预设距离的第二目标储物层,则根据所述第二目标储物层,确定待移动层板;根据所述待移动层板与所述第一目标储物层的位置关系,确定所述待移动层板的移动方向;根据所述第二目标储物层的可移动距离,确定所述待移动层板的实际移动距离;将所述待移动层板的移动方向和实际移动距离作为所述待移动层板的移动信息。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, the layer to be moved and the layer to be moved in the layer are determined according to the remaining height of the storage layer The movement information of the board includes: if it is determined that there is a storage layer with a non-zero movable distance according to the remaining layer height and the preset safety distance of each storage layer except the first target storage layer, then Determine the position relationship between the storage layer with non-zero movable distance and the first target storage layer to determine the layer to be moved; according to the position relationship between the layer to be moved and the first target storage layer , Determine the moving direction of the floor to be moved; determine the actual moving distance of the floor to be moved according to the movable distance of the storage layer corresponding to the floor to be moved; The moving direction and the actual moving distance are used as the moving information of the layer to be moved; or, if the existing distance is determined based on the remaining layer height of each storage layer except the first target storage layer and the preset safety distance If the first target storage layer is the closest to the second target storage layer whose total movable distance is not less than the preset distance, the layer to be moved is determined according to the second target storage layer; The positional relationship between the moving layer and the first target storage layer determines the moving direction of the layer to be moved; according to the movable distance of the second target storage layer, the actual position of the layer to be moved is determined Moving distance: The moving direction and actual moving distance of the layer to be moved are used as the moving information of the layer to be moved.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述根据所述待移动层板的移动信息,控制所述待移动层板移动,包括:根据所述待移动层板的移动信息和层板标识,发送层板移动指令给设置于所述售卖货柜中的升降模块,以使所述升降模块中的驱动单元根据所述移动信息,驱动所述层板标识所对应的待移动层板通过其侧面设置的滚轮,沿所述升降模块中的导轨移动。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, controlling the movement of the layer to be moved according to the movement information of the layer to be moved includes: according to the layer to be moved The movement information of the board and the shelf identification, and the shelf movement instruction is sent to the lifting module set in the sales container, so that the driving unit in the lifting module drives the corresponding to the shelf identification according to the movement information The to-be-moved layer board moves along the guide rail in the lifting module through the rollers provided on the side of the layer.
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述控制所述待移动层板移动之后,还包括:获取所述第一目标储物层对应的第四图像,其中,所述第四图像包括所述第一目标储物层的平面图像信息;根据所述第一目标储物层对应的所述第一图像和所述第四图像确定所述被购买商品;将所述被购买商品的商品信息发送给对应的消费者,并控制所述待移动层板复原至移动前的位置。Optionally, when the computer-executable instructions stored in the storage medium are executed by the processor, after controlling the movement of the floor to be moved, the method further includes: acquiring a fourth image corresponding to the first target storage layer; Wherein, the fourth image includes plane image information of the first target storage layer; determining the purchased commodity according to the first image and the fourth image corresponding to the first target storage layer; The product information of the purchased product is sent to the corresponding consumer, and the laminate to be moved is controlled to be restored to the position before the movement.
本说明书一个或多个实施例提供的存储介质存储的计算机可执行指令在被处理器执行时,能够基于售卖货柜中各摄像头所采集的图像,确定待移动层板的移动信息;实现了售卖货柜中层板位置的灵活调控,不仅能够提升储物空间的利用率,而且能够增大被操作商品所在储物层中的摄像头与商品之间的距离,从而减少该摄像头的拍摄盲区和拍摄死角,提升该摄像头所采集的图像的准确性,以及提升识别被购买商品的识别结果的准确性。When the computer executable instructions stored in the storage medium provided by one or more embodiments of this specification are executed by the processor, they can determine the movement information of the shelf to be moved based on the images collected by the cameras in the sales container; the sales container is realized The flexible adjustment of the position of the middle board can not only improve the utilization of storage space, but also increase the distance between the camera and the product in the storage layer where the product is operated, thereby reducing the blind spot and shooting corner of the camera, and improving The accuracy of the image collected by the camera and the accuracy of the recognition result for identifying the purchased product are improved.
需要说明的是,本说明书中关于存储介质的实施例与本说明书中关于层板调控方法的实施例基于同一发明构思,因此该实施例的具体实施可以参见前述对应的层板调 控方法的实施,重复之处不再赘述。It should be noted that the embodiment of the storage medium in this specification and the embodiment of the layer control method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the corresponding layer control method mentioned above. The repetition will not be repeated.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims may be performed in a different order than in the embodiments and still achieve desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown in order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
在20世纪30年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1930s, the improvement of a technology can be clearly distinguished between hardware improvements (for example, improvements in circuit structures such as diodes, transistors, switches, etc.) and software improvements (improvements in method flow). However, with the development of technology, the improvement of many methods and processes of today can be regarded as a direct improvement of the hardware circuit structure. Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by the hardware entity module. For example, a programmable logic device (Programmable Logic Device, PLD) (such as a Field Programmable Gate Array (Field Programmable Gate Array, FPGA)) is such an integrated circuit whose logic function is determined by the user's programming of the device. It is programmed by the designer to "integrate" a digital system on a PLD, without requiring the chip manufacturer to design and manufacture a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly realized with "logic compiler" software, which is similar to the software compiler used in program development and writing, but before compilation The original code must also be written in a specific programming language, which is called Hardware Description Language (HDL), and there is not only one type of HDL, but many types, such as ABEL (Advanced Boolean Expression Language) , AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description), etc., currently most commonly used It is VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. It should also be clear to those skilled in the art that only a little logic programming of the method flow in the above-mentioned hardware description languages and programming into an integrated circuit can easily obtain the hardware circuit that implements the logic method flow.
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs  C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。The controller can be implemented in any suitable manner. For example, the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program codes (such as software or firmware) executable by the (micro)processor. , Logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers and embedded microcontrollers. Examples of controllers include but are not limited to the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicon Labs C8051F320, the memory controller can also be implemented as part of the memory control logic. Those skilled in the art also know that, in addition to implementing the controller in a purely computer-readable program code manner, it is entirely possible to program the method steps to make the controller use logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded logic. The same function can be realized in the form of a microcontroller or the like. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as a structure within the hardware component. Or even, the device for realizing various functions can be regarded as both a software module for realizing the method and a structure within a hardware component.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules, or units explained in the above embodiments may be implemented by computer chips or entities, or implemented by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cell phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or Any combination of these devices.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本说明书实施例时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above device, the functions are divided into various units and described separately. Of course, when implementing the embodiments of this specification, the functions of each unit can be implemented in the same one or more software and/or hardware.
本领域内的技术人员应明白,本说明书一个或多个实施例可提供为方法、系统或计算机程序产品。因此,本说明书一个或多个实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本说明书可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that one or more embodiments of this specification can be provided as a method, a system, or a computer program product. Therefore, one or more embodiments of this specification may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
本说明书是参照根据本说明书实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。This specification is described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-permanent memory in a computer readable medium, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or equipment including a series of elements not only includes those elements, but also includes Other elements that are not explicitly listed, or they also include elements inherent to such processes, methods, commodities, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity, or equipment that includes the element.
本说明书一个或多个实施例可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书的一个或多个实施例,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。One or more embodiments of this specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of this specification can also be practiced in distributed computing environments. In these distributed computing environments, tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The foregoing descriptions are only examples of the present application, and are not used to limit the present application. For those skilled in the art, this application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included in the scope of the claims of this application.

Claims (20)

  1. 一种层板调控设备,应用于售卖货柜,其中,所述售卖货柜内部的储物空间被层板划分为多个储物层,所述设备包括:A layer control device applied to a sales container, wherein the storage space inside the sales container is divided into a plurality of storage layers by a layer, and the equipment includes:
    设置于每个所述储物层顶侧的摄像头;所述摄像头在所述售卖货柜的柜门被打开时采集自身所在储物层的第一图像,以及在所述售卖货柜的柜门被关闭时采集自身所在储物层的第二图像和第三图像;其中,所述第一图像和所述第二图像包括所述储物层的平面图像信息,所述第三图像包括所述储物层的深度图像信息;A camera arranged on the top side of each of the storage layers; the camera collects a first image of the storage layer where it is when the door of the sales container is opened, and when the door of the sales container is closed Collect the second image and the third image of the storage layer where oneself is at time; wherein, the first image and the second image include the plane image information of the storage layer, and the third image includes the storage layer. Depth image information of the layer;
    主控模块,其根据各所述摄像头所采集的所述第一图像和所述第二图像,确定被操作商品所在的第一目标储物层;以及,根据各所述摄像头所采集的所述第三图像和所述第一目标储物层,确定所述层板中的待移动层板以及所述待移动层板的移动信息;The main control module, which determines the first target storage layer where the operated commodity is located according to the first image and the second image collected by each of the cameras; and, according to the first target storage layer collected by each of the cameras A third image and the first target storage layer, determining the layer to be moved in the layer plate and the movement information of the layer to be moved;
    升降模块,其与各所述层板相连,根据所述待移动层板的移动信息控制所述待移动层板移动。The lifting module is connected with each of the floor boards, and controls the movement of the floor boards to be moved according to the movement information of the floor boards to be moved.
  2. 根据权利要求1所述的设备,The device according to claim 1,
    所述主控模块,当检测到所述售卖货柜的柜门被打开的开门信号时,根据所述开门信号的第一检测时间发送第一图像获取请求给各所述摄像头;以及,当检测到所述售卖货柜的柜门被关闭的关门信号时,根据所述关门信号的第二检测时间发送第二图像获取请求给各所述摄像头;The main control module sends a first image acquisition request to each camera according to the first detection time of the door opening signal when detecting the door opening signal that the door of the sales container is opened; and, when detecting Sending a second image acquisition request to each camera according to the second detection time of the door closing signal when the door of the selling container is closed when the door is closed;
    所述摄像头,在接收到所述第一图像获取请求时,根据所述第一检测时间在已拍摄的视频流中获取对应的视频帧,从获取的视频帧提取所述第一图像;以及,在接收到所述第二图像获取请求时,根据所述第二检测时间在已拍摄的视频流中获取对应的视频帧,从获取的视频帧提取所述第二图像和所述第三图像。The camera, upon receiving the first image acquisition request, acquires a corresponding video frame in the captured video stream according to the first detection time, and extracts the first image from the acquired video frame; and, When the second image acquisition request is received, a corresponding video frame is acquired from the captured video stream according to the second detection time, and the second image and the third image are extracted from the acquired video frame.
  3. 根据权利要求1所述的设备,The device according to claim 1,
    所述主控模块,其确定每个储物层对应的所述第一图像和所述第二图像;以及,The main control module, which determines the first image and the second image corresponding to each storage layer; and,
    对每个储物层对应的所述第一图像和所述第二图像进行差分处理,得到每个储物层对应的差分图像;Performing differential processing on the first image and the second image corresponding to each storage layer to obtain a differential image corresponding to each storage layer;
    对每个储物层对应的差分图像进行二值化处理,得到每个储物层对应的二值化图像;Binarize the difference image corresponding to each storage layer to obtain the binarized image corresponding to each storage layer;
    在所述二值化图像中确定符合预设条件的目标二值化图像;Determining a target binarized image that meets a preset condition among the binarized images;
    将所述目标二值化图像所对应的储物层作为被操作商品所在的第一目标储物层。The storage layer corresponding to the target binarized image is used as the first target storage layer where the operated commodity is located.
  4. 根据权利要求1所述的设备,The device according to claim 1,
    所述主控模块,其确定每个储物层对应的所述第三图像;以及,The main control module, which determines the third image corresponding to each storage layer; and,
    在每个储物层对应的所述第三图像所包括的商品中,获取商品顶部与商品所在储物 层的顶部之间的垂直距离最小的目标商品;Among the commodities included in the third image corresponding to each storage layer, obtain the target commodity with the smallest vertical distance between the top of the commodity and the top of the storage layer where the commodity is located;
    将所述目标商品的顶部与所述目标商品所在储物层的顶部之间的垂直距离,作为所述目标商品所在储物层的剩余层高;Taking the vertical distance between the top of the target product and the top of the storage layer where the target product is located as the remaining height of the storage layer where the target product is located;
    根据所述储物层的剩余层高,确定所述层板中的待移动层板以及所述待移动层板的移动信息。According to the remaining layer height of the storage layer, determine the layer to be moved in the layer and the movement information of the layer to be moved.
  5. 根据权利要求4所述的设备,The device according to claim 4,
    所述主控模块,若根据除所述第一目标储物层外的每个储物层的剩余层高和预设安全距离,确定存在具有非零可移动距离的储物层,则根据所述具有非零可移动距离的储物层与所述第一目标储物层的位置关系,确定待移动层板;以及,If the main control module determines that there is a storage layer with a non-zero movable distance based on the remaining layer height and the preset safety distance of each storage layer except the first target storage layer, then according to the Determining the positional relationship between the storage layer having a non-zero movable distance and the first target storage layer, and determining the layer to be moved; and,
    根据所述待移动层板与所述第一目标储物层的位置关系,确定所述待移动层板的移动方向;Determining the moving direction of the floor to be moved according to the positional relationship between the floor to be moved and the first target storage layer;
    根据所述待移动层板所对应的储物层的可移动距离,确定所述待移动层板的实际移动距离;Determine the actual moving distance of the floor to be moved according to the movable distance of the storage layer corresponding to the floor to be moved;
    将所述待移动层板的移动方向和实际移动距离作为所述待移动层板的移动信息;Using the moving direction and the actual moving distance of the to-be-moved laminate as the movement information of the to-be-moved laminate;
    或者,or,
    若根据除所述第一目标储物层外的每个储物层的剩余层高和预设安全距离,确定存在距离所述第一目标储物层最近、且可移动的总距离不小于预设距离的第二目标储物层,则根据所述第二目标储物层,确定待移动层板;以及,If according to the remaining height of each storage layer except the first target storage layer and the preset safety distance, it is determined that the total movable distance that is closest to the first target storage layer is not less than the preset safety distance. Set the distance to the second target storage layer, then determine the layer to be moved based on the second target storage layer; and,
    根据所述待移动层板与所述第一目标储物层的位置关系,确定所述待移动层板的移动方向;Determining the moving direction of the floor to be moved according to the positional relationship between the floor to be moved and the first target storage layer;
    根据所述第二目标储物层的可移动距离,确定所述待移动层板的实际移动距离;Determine the actual moving distance of the floor to be moved according to the movable distance of the second target storage layer;
    将所述待移动层板的移动方向和实际移动距离作为所述待移动层板的移动信息。The moving direction and the actual moving distance of the to-be-moved laminate are used as the movement information of the to-be-moved laminate.
  6. 根据权利要求1所述的设备,所述升降模块包括:驱动单元、导轨和滚轮,其中,所述滚轮设置于各所述层板的侧面;The device according to claim 1, wherein the lifting module comprises: a driving unit, a guide rail and a roller, wherein the roller is arranged on the side of each of the layer boards;
    所述主控模块,根据所述待移动层板的移动信息和层板标识,发送层板移动指令给所述驱动单元;The main control module sends a layer movement instruction to the drive unit according to the movement information and the layer identifier of the layer to be moved;
    所述驱动单元,其输出端与各所述层板相连,在接收到所述层板移动指令时,根据所述移动信息驱动所述层板标识所对应的待移动层板通过其侧面设置的滚轮沿所述导轨移动。The drive unit has an output terminal connected to each of the laminates, and upon receiving the laminate moving instruction, drives the laminate to be moved corresponding to the laminate identifier through the side of the laminate to be moved according to the movement information. The roller moves along the guide rail.
  7. 根据权利要求1-6任一项所述的设备,The device according to any one of claims 1-6,
    所述主控模块,在所述升降模块控制所述待移动层板移动之后,获取所述第一目标 储物层的第四图像,其中,所述第四图像包括所述第一目标储物层的平面图像信息;以及,The main control module acquires a fourth image of the first target storage layer after the lifting module controls the movement of the floor to be moved, wherein the fourth image includes the first target storage The plane image information of the layer; and,
    根据所述第一目标储物层对应的所述第一图像和所述第四图像确定被购买商品;Determining the purchased commodity according to the first image and the fourth image corresponding to the first target storage layer;
    将所述被购买商品的商品信息发送给对应的消费者;Sending the product information of the purchased product to the corresponding consumer;
    所述升降模块,还控制所述待移动层板复原至移动前的位置。The lifting module also controls the layer to be moved to return to the position before the movement.
  8. 一种层板调控方法,应用于售卖货柜,其中,所述售卖货柜内部的储物空间被层板划分为多个储物层,所述方法包括:A layer control method applied to a sales container, wherein the storage space inside the sales container is divided into a plurality of storage layers by the layer, and the method includes:
    获取售卖货柜的柜门被打开时各所述储物层的第一图像,以及所述柜门被关闭时各所述储物层的第二图像和第三图像;其中,所述第一图像、所述第二图像和所述第三图像均由设置于各所述储物层顶侧的摄像头,采集自身所在储物层中放置的商品而得;所述第一图像和所述第二图像包括所述储物层的平面图像信息,所述第三图像包括所述储物层的深度图像信息;Acquire the first image of each storage layer when the door of the sales container is opened, and the second image and the third image of each storage layer when the door is closed; wherein, the first image , The second image and the third image are both obtained by a camera set on the top side of each of the storage layers to collect commodities placed in the storage layer where they are located; the first image and the second image The image includes planar image information of the storage layer, and the third image includes depth image information of the storage layer;
    根据所述第一图像和所述第二图像,确定被操作商品所在的第一目标储物层;Determine the first target storage layer where the operated commodity is located according to the first image and the second image;
    根据所述第三图像和所述第一目标储物层,确定所述层板中的待移动层板以及所述待移动层板的移动信息;Determine, according to the third image and the first target storage layer, the to-be-moved floor in the floor and the movement information of the to-be-moved floor;
    根据所述待移动层板的移动信息,控制所述待移动层板移动。According to the movement information of the floor to be moved, the movement of the floor to be moved is controlled.
  9. 根据权利要求8所述的方法,所述获取售卖货柜的柜门被打开时各所述储物层的第一图像,以及所述柜门被关闭时各所述储物层的第二图像和第三图像,包括:The method according to claim 8, said acquiring the first image of each storage layer when the door of the sales container is opened, and the second image and the second image of each storage layer when the door is closed. The third image includes:
    当检测到所述售卖货柜的柜门被打开的开门信号时,根据所述开门信号的第一检测时间发送第一图像获取请求给各所述摄像头,以使各所述摄像头根据所述第一检测时间在已拍摄的视频流中获取对应的视频帧,从获取的视频帧提取所述第一图像;When the door opening signal that the door of the sales container is opened is detected, a first image acquisition request is sent to each camera according to the first detection time of the door opening signal, so that each camera is based on the first detection time. The detection time acquires a corresponding video frame in the captured video stream, and extracts the first image from the acquired video frame;
    当检测到所述售卖货柜的柜门被关闭的关门信号时,根据所述关门信号的第二检测时间发送第二图像获取请求给各所述摄像头,以使各所述摄像头根据所述第二检测时间在已拍摄的视频流中获取对应的视频帧,从获取的视频帧提取所述第二图像和所述第三图像。When the door closing signal of the selling container is detected, the second image acquisition request is sent to each camera according to the second detection time of the door closing signal, so that each camera is based on the second detection time. At the detection time, a corresponding video frame is acquired from the captured video stream, and the second image and the third image are extracted from the acquired video frame.
  10. 根据权利要求8所述的方法,所述根据所述第一图像和所述第二图像,确定被操作商品所在的第一目标储物层,包括:The method according to claim 8, wherein the determining the first target storage layer where the operated commodity is located according to the first image and the second image comprises:
    确定每个储物层对应的所述第一图像和所述第二图像;Determining the first image and the second image corresponding to each storage layer;
    对每个储物层对应的所述第一图像和所述第二图像进行差分处理,得到每个储物层对应的差分图像;Performing differential processing on the first image and the second image corresponding to each storage layer to obtain a differential image corresponding to each storage layer;
    对每个储物层对应的差分图像进行二值化处理,得到每个储物层对应的二值化图像;Binarize the difference image corresponding to each storage layer to obtain the binarized image corresponding to each storage layer;
    在所述二值化图像中确定符合预设条件的目标二值化图像;Determining a target binarized image that meets a preset condition among the binarized images;
    将所述目标二值化图像所对应的储物层作为被操作商品所在的第一目标储物层。The storage layer corresponding to the target binarized image is used as the first target storage layer where the operated commodity is located.
  11. 根据权利要求8所述的方法,所述根据所述第三图像和所述第一目标储物层,确定所述层板中的待移动层板以及所述待移动层板的移动信息,包括:The method according to claim 8, wherein the determining the layer to be moved in the layer plate and the movement information of the layer to be moved according to the third image and the first target storage layer includes :
    确定每个储物层对应的所述第三图像;Determining the third image corresponding to each storage layer;
    在每个储物层对应的所述第三图像所包括的商品中,获取商品顶部与商品所在储物层的顶部之间的垂直距离最小的目标商品;Among the commodities included in the third image corresponding to each storage layer, obtain the target commodity with the smallest vertical distance between the top of the commodity and the top of the storage layer where the commodity is located;
    将所述目标商品的顶部与所述目标商品所在储物层的顶部之间的垂直距离,作为所述目标商品所在储物层的剩余层高;Taking the vertical distance between the top of the target product and the top of the storage layer where the target product is located as the remaining height of the storage layer where the target product is located;
    根据所述储物层的剩余层高,确定所述层板中的待移动层板以及所述待移动层板的移动信息。According to the remaining layer height of the storage layer, determine the to-be-moved layer in the layer and the movement information of the to-be-moved layer.
  12. 根据权利要求11所述的方法,所述根据所述储物层的剩余层高,确定所述层板中的待移动层板以及所述待移动层板的移动信息,包括:The method according to claim 11, wherein the determining the floor to be moved in the floor and the movement information of the floor to be moved according to the remaining floor height of the storage layer includes:
    若根据除所述第一目标储物层外的每个储物层的剩余层高和预设安全距离,确定存在具有非零可移动距离的储物层,则根据所述具有非零可移动距离的储物层与所述第一目标储物层的位置关系,确定待移动层板;If it is determined that there is a storage layer with a non-zero movable distance according to the remaining layer height and the preset safety distance of each storage layer except the first target storage layer, then according to the said storage layer with non-zero movable distance The positional relationship between the storage layer of the distance and the first target storage layer, and determine the layer to be moved;
    根据所述待移动层板与所述第一目标储物层的位置关系,确定所述待移动层板的移动方向;Determining the moving direction of the floor to be moved according to the positional relationship between the floor to be moved and the first target storage layer;
    根据所述待移动层板所对应的储物层的可移动距离,确定所述待移动层板的实际移动距离;Determine the actual moving distance of the floor to be moved according to the movable distance of the storage layer corresponding to the floor to be moved;
    将所述待移动层板的移动方向和实际移动距离作为所述待移动层板的移动信息;Using the moving direction and the actual moving distance of the to-be-moved laminate as the movement information of the to-be-moved laminate;
    或者,or,
    若根据除所述第一目标储物层外的每个储物层的剩余层高和预设安全距离,确定存在距离所述第一目标储物层最近、且可移动的总距离不小于预设距离的第二目标储物层,则根据所述第二目标储物层,确定待移动层板;If according to the remaining height of each storage layer except the first target storage layer and the preset safety distance, it is determined that the total movable distance that is closest to the first target storage layer is not less than the preset safety distance. Set the second target storage layer with a distance, then determine the layer to be moved according to the second target storage layer;
    根据所述待移动层板与所述第一目标储物层的位置关系,确定所述待移动层板的移动方向;Determining the moving direction of the floor to be moved according to the positional relationship between the floor to be moved and the first target storage layer;
    根据所述第二目标储物层的可移动距离,确定所述待移动层板的实际移动距离;Determine the actual moving distance of the floor to be moved according to the movable distance of the second target storage layer;
    将所述待移动层板的移动方向和实际移动距离作为所述待移动层板的移动信息。The moving direction and the actual moving distance of the to-be-moved laminate are used as the movement information of the to-be-moved laminate.
  13. 根据权利要求8所述的方法,所述根据所述待移动层板的移动信息,控制所述待移动层板移动,包括:The method according to claim 8, wherein the controlling the movement of the floor to be moved according to the movement information of the floor to be moved comprises:
    根据所述待移动层板的移动信息和层板标识,发送层板移动指令给设置于所述售卖货柜中的升降模块,以使所述升降模块中的驱动单元根据所述移动信息,驱动所述层板标识所对应的待移动层板通过其侧面设置的滚轮,沿所述升降模块中的导轨移动。According to the movement information and the shelf identification of the shelf to be moved, a shelf movement instruction is sent to the lifting module installed in the sales container, so that the driving unit in the lifting module drives the elevator module according to the movement information. The layer plate to be moved corresponding to the layer plate identifier moves along the guide rail in the lifting module through the roller provided on its side.
  14. 根据权利要求8-13任一项所述的方法,所述控制所述待移动层板移动之后,还包括:The method according to any one of claims 8-13, after said controlling the movement of the layer to be moved, further comprising:
    获取所述第一目标储物层对应的第四图像,其中,所述第四图像包括所述第一目标储物层的平面图像信息;Acquiring a fourth image corresponding to the first target storage layer, where the fourth image includes planar image information of the first target storage layer;
    根据所述第一目标储物层对应的所述第一图像和所述第四图像确定所述被购买商品;Determining the purchased commodity according to the first image and the fourth image corresponding to the first target storage layer;
    将所述被购买商品的商品信息发送给对应的消费者,并控制所述待移动层板复原至移动前的位置。The product information of the purchased product is sent to the corresponding consumer, and the laminate to be moved is controlled to return to the position before the movement.
  15. 一种层板调控装置,应用于售卖货柜,其中,所述售卖货柜内部的储物空间被层板划分为多个储物层,所述装置包括:A layer control device applied to a sales container, wherein the storage space inside the sales container is divided into a plurality of storage layers by the layer, and the device includes:
    获取模块,其获取售卖货柜的柜门被打开时各所述储物层的第一图像,以及所述柜门被关闭时各所述储物层的第二图像和第三图像;其中,所述第一图像、所述第二图像和所述第三图像均由设置于各所述储物层顶侧的摄像头,采集自身所在储物层中放置的商品而得;所述第一图像和所述第二图像包括所述储物层的平面图像信息,所述第三图像包括所述储物层的深度图像信息;The acquiring module acquires the first image of each storage layer when the door of the sales container is opened, and the second image and the third image of each storage layer when the door is closed; wherein, The first image, the second image, and the third image are all obtained by a camera set on the top side of each of the storage layers to collect commodities placed in the storage layer where they are located; the first image and The second image includes planar image information of the storage layer, and the third image includes depth image information of the storage layer;
    第一确定模块,其根据所述第一图像和所述第二图像,确定被操作商品所在的第一目标储物层;A first determining module, which determines the first target storage layer where the operated commodity is located according to the first image and the second image;
    第二确定模块,其根据所述第三图像和所述第一目标储物层,确定所述层板中的待移动层板以及所述待移动层板的移动信息;A second determining module, which determines the floor to be moved in the floor and the movement information of the floor to be moved according to the third image and the first target storage layer;
    控制模块,其根据所述待移动层板的移动信息,控制所述待移动层板移动。A control module, which controls the movement of the laminate to be moved according to the movement information of the laminate to be moved.
  16. 根据权利要求15所述的装置,The device according to claim 15,
    所述第一确定模块,确定每个储物层对应的所述第一图像和所述第二图像;以及,The first determining module determines the first image and the second image corresponding to each storage layer; and,
    对每个储物层对应的所述第一图像和所述第二图像进行差分处理,得到每个储物层对应的差分图像;Performing differential processing on the first image and the second image corresponding to each storage layer to obtain a differential image corresponding to each storage layer;
    对每个储物层对应的差分图像进行二值化处理,得到每个储物层对应的二值化图像;Binarize the difference image corresponding to each storage layer to obtain the binarized image corresponding to each storage layer;
    在所述二值化图像中确定符合预设条件的目标二值化图像;Determining a target binarized image that meets a preset condition among the binarized images;
    将所述目标二值化图像所对应的储物层作为被操作商品所在的第一目标储物层。The storage layer corresponding to the target binarized image is used as the first target storage layer where the operated commodity is located.
  17. 根据权利要求15所述的装置,The device according to claim 15,
    所述第二确定模块,其确定每个储物层对应的所述第三图像;以及,The second determining module determines the third image corresponding to each storage layer; and,
    在每个储物层对应的所述第三图像所包括的商品中,获取商品顶部与商品所在储物层的顶部之间的垂直距离最小的目标商品;Among the commodities included in the third image corresponding to each storage layer, obtain the target commodity with the smallest vertical distance between the top of the commodity and the top of the storage layer where the commodity is located;
    将所述目标商品的顶部与所在储物层的顶部之间的垂直距离,作为所述目标商品所在储物层的剩余层高;The vertical distance between the top of the target product and the top of the storage layer is taken as the remaining height of the storage layer where the target product is located;
    根据所述储物层的剩余层高,确定所述层板中的待移动层板以及所述待移动层板的移动信息。According to the remaining layer height of the storage layer, determine the to-be-moved layer in the layer and the movement information of the to-be-moved layer.
  18. 根据权利要求15-17任一项所述的装置,The device according to any one of claims 15-17,
    所述控制模块,其根据所述待移动层板的移动信息和层板标识,发送层板移动指令给设置于所述售卖货柜中的升降模块,以使所述升降模块中的驱动单元根据所述移动信息,驱动所述层板标识所对应的待移动层板通过其侧面设置的滚轮,沿所述升降模块中的导轨移动。The control module, according to the movement information and the shelf identification of the shelf to be moved, sends a shelf movement instruction to the lifting module set in the sales container, so that the driving unit in the lifting module is The moving information drives the to-be-moved layer plate corresponding to the layer plate identifier to move along the guide rail in the lifting module through the roller provided on the side of the layer plate.
  19. 一种层板调控设备,包括:A laminate control device, including:
    处理器;以及,Processor; and,
    被安排成存储计算机可执行指令的存储器,所述计算机可执行指令在被执行时使所述处理器:A memory arranged to store computer-executable instructions which, when executed, cause the processor to:
    获取售卖货柜的柜门被打开时各所述储物层的第一图像,以及所述柜门被关闭时各所述储物层的第二图像和第三图像;其中,所述第一图像、所述第二图像和所述第三图像均由设置于各所述储物层顶侧的摄像头,采集自身所在储物层中放置的商品而得;所述第一图像和所述第二图像包括所述储物层的平面图像信息,所述第三图像包括所述储物层的深度图像信息;Acquire the first image of each storage layer when the door of the sales container is opened, and the second image and the third image of each storage layer when the door is closed; wherein, the first image , The second image and the third image are both obtained by a camera set on the top side of each of the storage layers to collect commodities placed in the storage layer where they are located; the first image and the second image The image includes planar image information of the storage layer, and the third image includes depth image information of the storage layer;
    根据所述第一图像和所述第二图像,确定被操作商品所在的第一目标储物层;Determine the first target storage layer where the operated commodity is located according to the first image and the second image;
    根据所述第三图像和所述第一目标储物层,确定所述层板中的待移动层板以及所述待移动层板的移动信息;Determine, according to the third image and the first target storage layer, the to-be-moved floor in the floor and the movement information of the to-be-moved floor;
    根据所述待移动层板的移动信息,控制所述待移动层板移动。According to the movement information of the floor to be moved, the movement of the floor to be moved is controlled.
  20. 一种存储介质,用于存储计算机可执行指令,所述计算机可执行指令在被执行时实现以下流程:A storage medium used to store computer-executable instructions that, when executed, implement the following processes:
    获取售卖货柜的柜门被打开时各所述储物层的第一图像,以及所述柜门被关闭时各所述储物层的第二图像和第三图像;其中,所述第一图像、所述第二图像和所述第三图像均由设置于各所述储物层顶侧的摄像头,采集自身所在储物层中放置的商品而得;所述第一图像和所述第二图像包括所述储物层的平面图像信息,所述第三图像包括所述储 物层的深度图像信息;Acquire the first image of each storage layer when the door of the sales container is opened, and the second image and the third image of each storage layer when the door is closed; wherein, the first image , The second image and the third image are both obtained by a camera set on the top side of each of the storage layers to collect commodities placed in the storage layer where they are located; the first image and the second image The image includes planar image information of the storage layer, and the third image includes depth image information of the storage layer;
    根据所述第一图像和所述第二图像,确定被操作商品所在的第一目标储物层;Determine the first target storage layer where the operated commodity is located according to the first image and the second image;
    根据所述第三图像和所述第一目标储物层,确定所述层板中的待移动层板以及所述待移动层板的移动信息;Determine, according to the third image and the first target storage layer, the to-be-moved floor in the floor and the movement information of the to-be-moved floor;
    根据所述待移动层板的移动信息,控制所述待移动层板移动。According to the movement information of the floor to be moved, the movement of the floor to be moved is controlled.
PCT/CN2020/117447 2019-11-18 2020-09-24 Device, method and apparatus for adjusting and controlling shelf WO2021098373A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911129782.8 2019-11-18
CN201911129782.8A CN110991273B (en) 2019-11-18 2019-11-18 Laminate regulating and controlling equipment, method and device

Publications (1)

Publication Number Publication Date
WO2021098373A1 true WO2021098373A1 (en) 2021-05-27

Family

ID=70084927

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/117447 WO2021098373A1 (en) 2019-11-18 2020-09-24 Device, method and apparatus for adjusting and controlling shelf

Country Status (2)

Country Link
CN (2) CN112990138B (en)
WO (1) WO2021098373A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112990138B (en) * 2019-11-18 2022-04-29 支付宝(杭州)信息技术有限公司 Laminate regulating and controlling equipment, method and device
CN113140073B (en) * 2021-05-11 2022-12-13 支付宝(杭州)信息技术有限公司 Laminate control method and system of intelligent container and intelligent container

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160240034A1 (en) * 2015-02-16 2016-08-18 Sholanda M. Coleman Cupcake vending machine
CN208636952U (en) * 2018-06-09 2019-03-22 姚爱军 A kind of lift intelligence express delivery shopping box
CN109598474A (en) * 2018-12-07 2019-04-09 中南大学 Based on two dimensional code and the automatic vending machine inventory management system of image procossing, method
CN110991273A (en) * 2019-11-18 2020-04-10 支付宝(杭州)信息技术有限公司 Laminate regulating and controlling equipment, method and device

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3511193B2 (en) * 1996-11-07 2004-03-29 富士電機リテイルシステムズ株式会社 Vending machine product unloading device
JP4483054B2 (en) * 2000-08-31 2010-06-16 富士電機リテイルシステムズ株式会社 Vending machine and control method thereof
US8189855B2 (en) * 2007-08-31 2012-05-29 Accenture Global Services Limited Planogram extraction based on image processing
WO2018003861A1 (en) * 2016-06-28 2018-01-04 株式会社ニコン Display device and control device
CN107485241A (en) * 2017-09-10 2017-12-19 浙江简巧科技有限公司 A kind of self-service supermarket
CN109782681A (en) * 2017-11-10 2019-05-21 菜鸟智能物流控股有限公司 Control method, device, equipment and machine readable medium
CN109801007A (en) * 2017-11-17 2019-05-24 上海霖罕信息科技有限公司 A kind of shelf and its item tracking method
CN108171172A (en) * 2017-12-27 2018-06-15 惠州Tcl家电集团有限公司 Self-help shopping method, self-service sale device and computer readable storage medium
CN108256494B (en) * 2018-01-30 2024-02-02 厦门华联电子股份有限公司 Intelligent locker and intelligent interlayer plate and intelligent cargo management system thereof
CN108402801B (en) * 2018-03-07 2019-10-25 京东方科技集团股份有限公司 A kind of control method of intelligent commodity shelf and intelligent commodity shelf
CN108492451A (en) * 2018-03-12 2018-09-04 远瞳(上海)智能技术有限公司 Automatic vending method
CN208298305U (en) * 2018-05-14 2018-12-28 武汉马克到家科技有限公司 A kind of bi-mode intelligent sales counter based on RFID and image recognition technology
CN108780505B (en) * 2018-05-17 2022-11-08 达闼机器人股份有限公司 Intelligent sales counter, article identification method, device, server and storage medium
CN109147170A (en) * 2018-07-26 2019-01-04 上海凯景信息技术有限公司 A kind of self-service cabinet based on image recognition
CN108960202B (en) * 2018-08-01 2022-05-10 京东方科技集团股份有限公司 Intelligent goods shelf, system and method for judging goods stacking
CN109446883B (en) * 2018-09-05 2022-08-23 北京三快在线科技有限公司 Commodity state identification method and device, electronic equipment and readable storage medium
CN109191682A (en) * 2018-11-16 2019-01-11 广州批霸电子商务有限公司 A kind of self-service machine and its method based on artificial intelligence technology
CN109979130A (en) * 2019-03-29 2019-07-05 厦门益东智能科技有限公司 A kind of commodity automatic identification and clearing sales counter, method and system
CN110226843A (en) * 2019-07-05 2019-09-13 河北工业大学 A kind of intelligent elevated formula equipment cabinet

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160240034A1 (en) * 2015-02-16 2016-08-18 Sholanda M. Coleman Cupcake vending machine
CN208636952U (en) * 2018-06-09 2019-03-22 姚爱军 A kind of lift intelligence express delivery shopping box
CN109598474A (en) * 2018-12-07 2019-04-09 中南大学 Based on two dimensional code and the automatic vending machine inventory management system of image procossing, method
CN110991273A (en) * 2019-11-18 2020-04-10 支付宝(杭州)信息技术有限公司 Laminate regulating and controlling equipment, method and device

Also Published As

Publication number Publication date
CN112990138A (en) 2021-06-18
CN112990138B (en) 2022-04-29
CN110991273B (en) 2021-03-19
CN110991273A (en) 2020-04-10

Similar Documents

Publication Publication Date Title
CN108335408B (en) Article identification method, device and system for vending machine and storage medium
CN108320404B (en) Commodity identification method and device based on neural network and self-service cash register
CN111415461B (en) Article identification method and system and electronic equipment
WO2021098373A1 (en) Device, method and apparatus for adjusting and controlling shelf
TWI578272B (en) Shelf detection system and method
JP6222345B2 (en) POS terminal device, POS system, image processing method and program
KR20200037833A (en) Item detection system and item detection method based on image monitoring
US20160110703A1 (en) Method, product, and system for identifying items for transactions
CN111950967A (en) Inventory management system based on thermal characteristic image
CN106228688A (en) A kind of intelligent large many standard commodities vending system and method thereof
JP6318557B2 (en) POS terminal device, POS system, image processing method and program
US20210342807A1 (en) System and methods for automatic detection of product insertions and product extraction in an open shopping cart
CN111222870B (en) Settlement method, device and system
WO2021179137A1 (en) Settlement method, apparatus, and system
JPWO2015125478A1 (en) Object detection device, POS terminal device, object detection method, and computer program
CN111428743B (en) Commodity identification method, commodity processing device and electronic equipment
Li et al. Using Kinect for monitoring warehouse order picking operations
JP2013532451A (en) Method and apparatus for locating an object in a warehouse
US9779302B1 (en) System for optimizing storage location arrangement
CN109389341A (en) A kind of self-service convenience store machine vision recognition system
US11443516B1 (en) Locally and globally locating actors by digital cameras and machine learning
JP6569762B2 (en) POS terminal device, POS system, image processing method and program
JP2021107989A (en) Information processing device, information processing method, and program
Lang Evaluation of an intelligent collision warning system for forklift truck drivers in industry
Karthika et al. Deep Learning Based Multiple Object Detection

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20889218

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20889218

Country of ref document: EP

Kind code of ref document: A1