The procedure consumes a lot of manpower and material resources, what’s worse, it relies on a lot of data. So finding a way to pre-screen similar commodities by machine is a good way to save resources and improve work efficiency. By uploading the picture of the new products, the owners of the smart vending machine can find out the similarity between existing products and new products, if they are too similar, they should not be placed together, if they are quite different, they can be placed together.
Few-shot learning can be implemented based on distance metric representation with only 6 samples. The owner of the smart vending machine can upload 6 pictures of the new product in different angles, the new product can then be added to the commodity library and identified by the smart vending machine.