Patent ID: 11861668
Assignee: AINNOVATION (SHANGHAI) TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G  Y | IPC G

Claim 5:
6. A device for generating an order, comprising:
one or more processors;
a memory electrically coupled to the processors, wherein the memory stores non-volatile computer-readable instructions executed by the processors causing the device to:
acquire an initial image and a first detection result of a target container before being subjected to a pick-up operation, wherein the first detection result comprises a first detection image with a plurality of first commodity frames obtained by processing the initial image, and first identification information corresponding to a commodity in each of the first commodity frames;
acquire a result image of the target container after performing the pick-up operation;
generate an RGB difference image between before-shopping and after-shopping based on the result image and the initial image, wherein the RGB difference image is obtained by calculating an absolute value of differences of individual pixels of the initial image and the result image before and after shopping in three RGB channels; and

generate a commodity order corresponding to a removed commodity based on the RGB difference image and the first detection result, wherein generating a commodity order corresponding to a removed commodity based on the RGB difference image and the first detection result comprises:
screening out a first target commodity frame having an RGB difference smaller than a first preset value, from all of the first commodity frames in the first detection image, based on the RGB difference image, and acquiring first corresponding identification information; and
generating the commodity order corresponding to the removed commodity based on the first target commodity frame and the first corresponding identification information;

wherein after acquiring a result image of the target container after performing the pick-up operation, the method further comprises performing detection processing on the result image, so as to obtain a second detection result,
wherein the second detection result comprises a second detection image with a plurality of second commodity frames obtained by processing the result image and second identification information corresponding to a commodity in each of the second commodity frames, and
generating a commodity order corresponding to a removed commodity based on the RGB difference image and the first detection result comprises generating the commodity order corresponding to the removed commodity based on the RGB difference image, the second detection result, and the first detection result.