WO2018196172A1 - Method and system for shopping for specific produce - Google Patents

Method and system for shopping for specific produce Download PDF

Info

Publication number
WO2018196172A1
WO2018196172A1 PCT/CN2017/092677 CN2017092677W WO2018196172A1 WO 2018196172 A1 WO2018196172 A1 WO 2018196172A1 CN 2017092677 W CN2017092677 W CN 2017092677W WO 2018196172 A1 WO2018196172 A1 WO 2018196172A1
Authority
WO
WIPO (PCT)
Prior art keywords
photo
vegetable
fruit
designated
vegetables
Prior art date
Application number
PCT/CN2017/092677
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 WO2018196172A1 publication Critical patent/WO2018196172A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces
    • G06Q30/0643Graphical representation of items or shoppers

Definitions

  • the present invention relates to the field of intelligent cloud technologies, and in particular, to a method for purchasing a designated fruit and vegetable, a system for purchasing a designated fruit and vegetable, a terminal, a computer device, a computer readable storage medium, and a E-commerce shopping related application software terminal.
  • the e-commerce network is more and more developed, and it is a trend to buy and sell fruits and vegetables through e-commerce.
  • the fruits and vegetables are ripe, many people choose to buy fruits and vegetables through the Internet.
  • they often cannot see the fruits and vegetables in advance. They can only decide whether to buy from the descriptions and pictures of the merchants, and cannot select the designated fruits and vegetables as the reality.
  • the merchant allows the consumer to purchase the designated fruits and vegetables, it is necessary to ensure that the fruits and vegetables that the consumer receives are the fruits and vegetables designated at the time of purchase, and that the fruits and vegetables are not exchanged during the delivery and transportation of the merchant.
  • the fruit and vegetable traceability mechanism can solve the source and quality problems of fruits and vegetables to a certain extent, it is attached to fruits and vegetables by QR code, barcode or other anti-counterfeiting marks. The label attachments will be torn off on fruits and vegetables. The possibility of going to other fruits and vegetables, in this case, can not solve the quality problem, can not guarantee that the fruits and vegetables that consumers get are the fruits and vegetables specified at the time of purchase.
  • the present invention aims to solve at least one of the technical problems existing in the prior art or related art.
  • a first object of the present invention is to propose a method of purchasing a designated fruit or vegetable.
  • a second object of the present invention is to provide a system for purchasing designated fruits and vegetables.
  • a third object of the present invention is to propose a terminal.
  • a fourth object of the present invention is to propose a computer device.
  • a fifth object of the present invention is to provide a computer readable storage medium.
  • a sixth object of the present invention is to provide a terminal having application software related to e-commerce shopping.
  • the present invention provides a method for purchasing a designated fruit and vegetable, comprising: designating a fruit and vegetable according to a photo of a fruit and vegetable, specifying a fruit and vegetable with a positioning mark; receiving a first photo of the designated fruit and vegetable after the order is generated; and after confirming the receipt, Obtaining a second photo of the designated fruit and vegetable; comparing the first photo with the second photo, judging whether the designated fruit and vegetable is unique according to the comparison result; and completing the shopping when the designated fruit and vegetable are unique.
  • the fruits and vegetables include fruits and vegetables.
  • the method for purchasing a designated fruit and vegetable according to the present invention by receiving a first photo of the designated fruit and vegetable, and obtaining a second photo of the designated fruit and vegetable, and comparing the first photo with the second photo to verify whether the designated fruit and vegetable are unique,
  • the fruits and vegetables received by the consumers are the designated fruits and vegetables selected on the Internet, and the shopping can be completed at this time; when the designated fruits and vegetables are not unique, the fruits and vegetables received by the consumers are not selected online.
  • the designated fruits and vegetables at this time you can contact the merchant to handle the return. So that consumers can purchase the fruits and vegetables they choose through the network, such as real shopping, to ensure the quality of the fruits and vegetables in the purchase process, and the operation is simple and practical, effectively improving the online shopping experience.
  • the merchant puts all the photos of fruits and vegetables on the Internet for consumers to choose, and specifies the price for each type of fruit and vegetables according to the different specifications of fruits and vegetables; when the consumer selects the designated fruits and vegetables at the time of purchase, after the order is generated, The photos of the designated fruits and vegetables will be sent to the consumers; after the consumers receive the fruits and vegetables, using the uniqueness of each fruit and vegetable, it is determined that each fruit and vegetable received is the fruit and vegetable selected at the time of purchase, ensuring that the fruits and vegetables are distributed at the merchant. The goods will not be exchanged during transportation and transportation, so that the quality of fruits and vegetables is guaranteed during purchase and transportation.
  • the uniqueness of fruits and vegetables can be directly observed by the human eye when the shape or color of fruits and vegetables is very different; however, when the shape and color are not very different, it is necessary to analyze the image of the fruit and vegetable, preferably, in the image. "solid Differentiate the reference object (ie, the invariant reference object), for example, using the first photo and the positioning mark of the second photo for comparison. By taking a picture of the received fruit and vegetables, and taking the generated photo with the designated fruit and vegetable received The photos are compared to verify the uniqueness of the fruits and vegetables.
  • the reference object ie, the invariant reference object
  • the step of comparing the coordinates by the fixed reference preferably, before comparing the first photo and the second photo, further comprising: adjusting the size of the second photo Until the fixed reference (eg, the positioning mark) in the second photo is the same size as the fixed reference (eg, the same positioning mark) in the first photo.
  • each designated fruit and vegetable has a positioning mark
  • the positioning mark is the same in the fruit and vegetable.
  • the size of the positioning mark thereon changes accordingly.
  • the positioning mark in the second photo is the same size as the positioning mark in the first photo, the adjustment is stopped, so that the positioning mark is used as the uniqueness of the fruit and vegetable.
  • the camera when taking the first photo and the second photo, the camera can be selected to shoot the positioning mark, and at the same time, in order to ensure the accuracy of the comparison, it is better to take the photo with the same shooting machine as the shooting pixel. For comparison, more preferably, it is possible to select the same height of the positioning marks and shoot them at the same distance.
  • comparing the first photo with the second photo After adjusting the fixed reference object to the same size, preferably comparing the first photo with the second photo, and determining, according to the comparison result, a specific step of determining whether the designated vegetable has uniqueness, comprising: selecting the first photo and the second photo a first image and a second image corresponding to the coordinate position; acquiring and calculating a difference between the pixel value of the first image and the pixel value of the second image; determining whether the difference is greater than a preset threshold; and when the difference is greater than a preset threshold , it is determined that the designated fruits and vegetables are not unique.
  • the first image and the second image at the corresponding coordinate positions in the first photo and the second photo are randomly selected by color discrimination, and the difference between the pixel values corresponding to the first image and the second image is obtained and calculated. If the difference is greater than the preset threshold, it is considered that the received fruits and vegetables are different in color from the designated fruits and vegetables, not the same fruit and vegetable, that is, the designated fruits and vegetables are not unique.
  • the method further includes: extracting the first contour image of the first photo and the second contour image of the second photo; determining the first contour image And whether the second contour image coincides; when the first contour image and the second contour image coincide, it is determined that the designated fruit and vegetable are unique.
  • the method for determining the contour coincidence is to subtract the pixel value of the corresponding coordinate position of the second contour image by the first contour image, and if the subtracted result is close to or equal to 0, the contour is considered to be coincident, that is, the designated fruit and vegetable are unique. At this point, you can complete the shopping.
  • the preset threshold ranges from 0 to 10.
  • the preset threshold ranges from 0 to 10, but is not limited thereto. It can be understood that the smaller the value of the preset threshold, the more accurate the uniqueness of the fruit and vegetable will be judged.
  • the method further includes: recording image information of the first photo and the second photo, the image information including a color, a shape, and a size of the positioning mark.
  • the difference between the two can be intuitively compared.
  • the image information at the selected coordinate position can be recorded and displayed in real time, which not only increases the interest but also makes the comparison more intuitive.
  • the positioning mark comprises at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, and a price look-up codes.
  • the positioning mark includes, but is not limited to, at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, a PLU code, and when there are multiple positioning marks, one of them may be selected for positioning, or Either two or more are used for positioning and mutual verification.
  • the additional positioning marks on fruits and vegetables not only have the function of traceability, but because of the constant size of the fruits and vegetables, the uniqueness of the fruits and vegetables can be verified by the positioning marks, thereby judging the fruits and vegetables received and the designated fruits and vegetables. Is it consistent?
  • a system for purchasing a designated fruit and vegetable comprising: a selecting unit for selecting a fruit and vegetable according to a photo of a fruit and vegetable, specifying a fruit and vegetable with an positioning mark; and a receiving unit for receiving after the order is generated Specify the first photo of the fruit and vegetable; the acquisition unit for After confirming the receipt, obtaining a second photo of the designated fruit and vegetable; the verification unit is configured to compare the first photo with the second photo, and determine whether the designated fruit and vegetable is unique according to the comparison result; when the designated fruit and vegetable are unique, the completion is completed shopping.
  • the system for purchasing a designated fruit and vegetable by receiving a first photo of the designated fruit and vegetable, and obtaining a second photo of the designated fruit and vegetable, and comparing the first photo with the second photo to verify whether the designated fruit and vegetable are unique,
  • the fruits and vegetables received by the consumers are the designated fruits and vegetables selected on the Internet, and the shopping can be completed at this time; when the designated fruits and vegetables are not unique, the fruits and vegetables received by the consumers are not selected online.
  • the designated fruits and vegetables at this time you can contact the merchant to handle the return. So that consumers can purchase the fruits and vegetables they choose through the network, such as real shopping, to ensure the quality of the fruits and vegetables in the purchase process, and the operation is simple and practical, effectively improving the online shopping experience.
  • the merchant puts all the photos of fruits and vegetables on the Internet for consumers to choose, and specifies the price for each type of fruit and vegetables according to the different specifications of fruits and vegetables; when the consumer selects the designated fruits and vegetables at the time of purchase, after the order is generated, The photos of the designated fruits and vegetables will be sent to the consumers; after the consumers receive the fruits and vegetables, using the uniqueness of each fruit and vegetable, it is determined that each fruit and vegetable received is the fruit and vegetable selected at the time of purchase, ensuring that the fruits and vegetables are distributed at the merchant. The goods will not be exchanged during transportation and transportation, so that the quality of fruits and vegetables is guaranteed during purchase and transportation.
  • the uniqueness of fruits and vegetables can be directly observed by the human eye when the shape or color of fruits and vegetables is very different; however, when the shape and color are not very different, it is necessary to analyze the image of the fruit and vegetable, preferably, in the image.
  • the "fixed reference” ie, the invariant reference
  • the uniqueness of the fruit and vegetable is verified by taking photos of the received fruits and vegetables and comparing the generated photos with the photos of the designated fruits and vegetables received.
  • the method further includes: an adjusting unit, configured to adjust the size of the second photo until the first photo and the second photo are compared, until the fixed reference object in the second photo (for example, the positioning mark ) is the same size as the fixed reference (eg, the same positioning mark) in the first photo.
  • an adjusting unit configured to adjust the size of the second photo until the first photo and the second photo are compared, until the fixed reference object in the second photo (for example, the positioning mark ) is the same size as the fixed reference (eg, the same positioning mark) in the first photo.
  • each designated fruit and vegetable has a positioning mark, no matter what changes occur in the purchase process of the fruit and vegetable, such as confusion during mailing, or maliciously exchanged during transportation, the positioning mark is the same in the fruit and vegetable.
  • the positioning mark on it The size of the second photo changes accordingly.
  • the positioning mark in the second photo is the same size as the positioning mark in the first photo, the adjustment is stopped, so that the positioning mark is used as a precondition for judging the uniqueness of the fruit and vegetables.
  • Two photos to verify the uniqueness of the fruits and vegetables received so that consumers can purchase the fruits and vegetables they choose through the Internet, such as real shopping.
  • the camera when taking the first photo and the second photo, the camera can be selected to take the positioning mark.
  • the verification unit includes: an image selection unit, configured to select a first image and a second image of a corresponding coordinate position in the first photo and the second photo; and a calculation unit configured to acquire and Calculating a difference between the pixel value of the first image and the pixel value of the second image; the first determining unit is configured to determine whether the difference is greater than a preset threshold; and when the difference is greater than the preset threshold, determining that the designated fruit and vegetable are not unique Sex.
  • the first image and the second image at the corresponding coordinate positions in the first photo and the second photo are randomly selected by color discrimination, and the difference between the pixel values corresponding to the first image and the second image is obtained and calculated. If the difference is greater than the preset threshold, it is considered that the received fruits and vegetables are different in color from the designated fruits and vegetables, not the same fruit and vegetable, that is, the designated fruits and vegetables are not unique.
  • the verification unit further includes: a contour extraction unit, configured to extract the first contour image of the first photo and the second contour of the second photo when the difference is less than or equal to the preset threshold And a second determining unit, configured to determine whether the first contour image and the second contour image are coincident; and when the first contour image and the second contour image are coincident, determining that the designated fruit and vegetable are unique.
  • the method for determining the contour coincidence is to subtract the pixel value of the corresponding coordinate position of the second contour image by the first contour image, and if the subtracted result is close to or equal to 0, the contour is considered to be coincident, that is, the designated fruit and vegetable are unique. At this point, you can complete the shopping.
  • the preset threshold ranges from 0 to 10.
  • the preset threshold ranges from 0 to 10, but is not limited thereto. Understandable Yes, the smaller the value of the preset threshold, the more accurate the uniqueness of the fruit and vegetable will be.
  • the method further includes: a recording unit, configured to record image information of the first photo and the second photo, where the image information includes a color, a shape, and a size of the positioning mark.
  • the difference between the two can be intuitively compared.
  • the image information at the selected coordinate position can be recorded and displayed in real time, which not only increases the interest but also makes the comparison more intuitive.
  • the positioning mark comprises at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, and a PLU code.
  • the positioning mark includes, but is not limited to, at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, and a PLU code.
  • the additional positioning marks on fruits and vegetables not only have the function of traceability, but because of the constant size of the fruits and vegetables, the uniqueness of the fruits and vegetables can be verified by the positioning marks, thereby judging the fruits and vegetables received and the designated fruits and vegetables. Is it consistent?
  • a terminal comprising a system for purchasing a designated fruit or vegetable according to any of the above aspects.
  • the terminal according to the present invention utilizes the system for purchasing designated fruits and vegetables in any of the above technical solutions, so that the consumers can purchase the fruits and vegetables selected by the consumers through the network, such as real shopping, thereby ensuring the quality of the fruits and vegetables during the purchase process, and the operation is simple. Practical and effective, it has effectively improved the online shopping experience.
  • a computer apparatus comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor performing the following steps: according to the fruit and vegetable photo Selecting the designated fruit and vegetable, specifying the fruit and vegetable with the positioning mark; receiving the first photo of the designated fruit and vegetable after the order is generated; obtaining the second photo of the designated fruit and vegetable after confirming the receipt; comparing the first photo with the second photo, according to the comparison As a result, it is judged whether the designated fruit and vegetable are unique; when the designated fruit and vegetable are unique, the shopping is completed.
  • the computer device by receiving a first photo of a designated fruit and vegetable, and obtaining a second photo of the designated fruit and vegetable, and comparing the first photo with the second photo to verify whether the designated fruit and vegetable are unique, when the designated fruit and vegetable have Uniqueness means that the fruits and vegetables received by the consumers are the designated fruits and vegetables selected on the Internet, and the shopping can be completed at this time; when the designated fruits and vegetables are not unique, the fruits and vegetables received by the consumers are not the designated fruits and vegetables selected on the Internet. At this time, you can contact Merchants handle the return. So that consumers can purchase the fruits and vegetables they choose through the network, such as real shopping, to ensure the quality of the fruits and vegetables in the purchase process, and the operation is simple and practical, effectively improving the online shopping experience.
  • the merchant puts all the photos of fruits and vegetables on the Internet for consumers to choose, and specifies the price for each type of fruit and vegetables according to the different specifications of fruits and vegetables; when the consumer selects the designated fruits and vegetables at the time of purchase, after the order is generated, The photos of the designated fruits and vegetables will be sent to the consumers; after the consumers receive the fruits and vegetables, using the uniqueness of each fruit and vegetable, it is determined that each fruit and vegetable received is the fruit and vegetable selected at the time of purchase, ensuring that the fruits and vegetables are distributed at the merchant. The goods will not be exchanged during transportation and transportation, so that the quality of fruits and vegetables is guaranteed during purchase and transportation.
  • the uniqueness of fruits and vegetables can be directly observed by the human eye when the shape or color of fruits and vegetables is very different; however, when the shape and color are not very different, it is necessary to analyze the image of the fruit and vegetable, preferably, in the image.
  • the "fixed reference” ie, the invariant reference
  • the uniqueness of the fruit and vegetable is verified by taking photos of the received fruits and vegetables and comparing the generated photos with the photos of the designated fruits and vegetables received.
  • the processor executes the computer program, before comparing the first photo and the second photo, it is further implemented: adjusting the size of the second photo until the fixed reference object in the second photo (eg, the positioning mark is the same size as the fixed reference (eg, positioning mark) in the first photo.
  • each designated fruit and vegetable has a positioning mark
  • the positioning mark is the same in the fruit and vegetable.
  • the size of the positioning mark thereon changes accordingly.
  • the positioning mark in the second photo is the same size as the positioning mark in the first photo, the adjustment is stopped, so that the positioning mark is used as the uniqueness of the fruit and vegetable.
  • the camera when taking the first photo and the second photo, the camera can be selected to take the positioning mark.
  • the first photo and the second photo are compared, and the specific step of determining whether the specified fruit and vegetable has uniqueness according to the comparison result comprises: selecting corresponding coordinates in the first photo and the second photo a first image and a second image of the location; acquiring and calculating a difference between the pixel value of the first image and the pixel value of the second image; determining whether the difference is greater than a preset threshold; and determining, when the difference is greater than a preset threshold, determining The specified fruit and vegetable are not unique; when the difference is less than or equal to the preset threshold, the method further includes: extracting the first contour image of the first photo and the second contour image of the second photo; determining whether the first contour image and the second contour image are Coincident; when the first contour image and the second contour image coincide, it is determined that the designated fruit and vegetable are unique.
  • the first image and the second image at the corresponding coordinate positions in the first photo and the second photo are randomly selected by color discrimination, and the difference between the pixel values corresponding to the first image and the second image is obtained and calculated. If the difference is greater than the preset threshold, it is considered that the received fruits and vegetables are different in color from the designated fruits and vegetables, not the same fruit and vegetable, that is, the designated fruits and vegetables are not unique. If the difference is less than or equal to the preset threshold, it is considered that the received fruits and vegetables are the same color as the designated fruits and vegetables, and the contour of the next photo is determined, and the contour images of the first photo and the second photo are respectively extracted, and the contour edges are compared, if the contours coincide , it means the same fruit and vegetable.
  • the method for determining the contour coincidence is to subtract the pixel value of the corresponding coordinate position of the second contour image by the first contour image, and if the subtracted result is close to or equal to 0, the contour is considered to be coincident, that is, the designated fruit and vegetable are unique. At this point, you can complete the shopping.
  • the processor executes the computer program, the image information of the first photo and the second photo is recorded, and the image information includes a color, a shape, and a size of the positioning mark.
  • the difference between the two can be intuitively compared.
  • the image information at the selected coordinate position can be recorded and displayed in real time, which not only increases the interest but also makes the comparison more intuitive.
  • a computer readable storage medium on which a computer program is stored, and when the computer program is executed by the processor, the following steps are performed: selecting a fruit and vegetable according to the fruit and vegetable photo selection, and designating the fruit and vegetable to have a positioning mark; After the order is generated, receiving the first photo of the designated fruit and vegetable; after confirming the receipt, obtaining the second photo of the designated fruit and vegetable; the first photo and the first The two photos are compared, and the specified fruits and vegetables are judged to be unique according to the comparison result; when the designated fruits and vegetables are unique, the shopping is completed.
  • the computer readable storage medium by receiving a first photo of a designated fruit and vegetable, and acquiring a second photo of the designated fruit and vegetable, and comparing the first photo with the second photo to verify whether the designated fruit and vegetable is unique,
  • the designated fruits and vegetables are unique, the fruits and vegetables received by the consumers are the designated fruits and vegetables selected on the Internet, and the shopping can be completed at this time; when the designated fruits and vegetables are not unique, the fruits and vegetables received by the consumers are not selected online.
  • the designated fruits and vegetables at this time you can contact the merchant to handle the return. So that consumers can purchase the fruits and vegetables they choose through the network, such as real shopping, to ensure the quality of the fruits and vegetables in the purchase process, and the operation is simple and practical, effectively improving the online shopping experience.
  • the merchant puts all the photos of fruits and vegetables on the Internet for consumers to choose, and specifies the price for each type of fruit and vegetables according to the different specifications of fruits and vegetables; when the consumer selects the designated fruits and vegetables at the time of purchase, after the order is generated, The photos of the designated fruits and vegetables will be sent to the consumers; after the consumers receive the fruits and vegetables, using the uniqueness of each fruit and vegetable, it is determined that each fruit and vegetable received is the fruit and vegetable selected at the time of purchase, ensuring that the fruits and vegetables are distributed at the merchant. The goods will not be exchanged during transportation and transportation, so that the quality of fruits and vegetables is guaranteed during purchase and transportation.
  • the uniqueness of fruits and vegetables can be directly observed by the human eye when the shape or color of fruits and vegetables is very different; however, when the shape and color are not very different, it is necessary to analyze the image of the fruit and vegetable, preferably, in the image.
  • the "fixed reference” ie, the invariant reference
  • the uniqueness of the fruit and vegetable is verified by taking photos of the received fruits and vegetables and comparing the generated photos with the photos of the designated fruits and vegetables received.
  • the computer program when executed by the processor, before comparing the first photo and the second photo, further realizing: adjusting the size of the second photo until the fixed reference object in the second photo (eg, a positioning mark) is the same size as a fixed reference (eg, a positioning mark) in the first photo.
  • the fixed reference object in the second photo eg, a positioning mark
  • a fixed reference eg, a positioning mark
  • each designated fruit and vegetable has a positioning mark, no matter what changes occur in the purchase process of the fruit and vegetable, such as confusion during mailing, or maliciously exchanged during transportation, the positioning mark is the same in the fruit and vegetable.
  • the size of the positioning mark thereon changes accordingly, when the positioning mark in the second photo and the positioning mark in the first photo
  • stop the adjustment so that the positioning mark is used as a precondition for judging the uniqueness of the fruit and vegetables.
  • compare the two photos to verify whether the received fruits and vegetables are unique, thus ensuring consumers through the network, such as Buying the fruits and vegetables you picked yourself in the same way as real shopping.
  • the camera when taking the first photo and the second photo, the camera can be selected to take the positioning mark.
  • the first photo and the second photo are compared, and the specific step of determining whether the specified fruit and vegetable has uniqueness according to the comparison result comprises: selecting corresponding coordinates in the first photo and the second photo a first image and a second image of the location; acquiring and calculating a difference between the pixel value of the first image and the pixel value of the second image; determining whether the difference is greater than a preset threshold; and determining, when the difference is greater than a preset threshold, determining The specified fruit and vegetable are not unique; when the difference is less than or equal to the preset threshold, the method further includes: extracting the first contour image of the first photo and the second contour image of the second photo; determining whether the first contour image and the second contour image are Coincident; when the first contour image and the second contour image coincide, it is determined that the designated fruit and vegetable are unique.
  • the first image and the second image at the corresponding coordinate positions in the first photo and the second photo are randomly selected by color discrimination, and the difference between the pixel values corresponding to the first image and the second image is obtained and calculated. If the difference is greater than the preset threshold, it is considered that the received fruits and vegetables are different in color from the designated fruits and vegetables, not the same fruit and vegetable, that is, the designated fruits and vegetables are not unique. If the difference is less than or equal to the preset threshold, it is considered that the received fruits and vegetables are the same color as the designated fruits and vegetables, and the contour of the next photo is determined, and the contour images of the first photo and the second photo are respectively extracted, and the contour edges are compared, if the contours coincide , it means the same fruit and vegetable.
  • the method for determining the contour coincidence is to subtract the pixel value of the corresponding coordinate position of the second contour image by the first contour image, and if the subtracted result is close to or equal to 0, the contour is considered to be coincident, that is, the designated fruit and vegetable are unique. At this point, you can complete the shopping.
  • the image information of the first photo and the second photo is recorded, and the image information includes a color, a shape, and a size of the positioning mark.
  • the image information at the selected coordinate position can be recorded and displayed in real time, which not only increases the interest but also makes the comparison more intuitive.
  • a terminal having application software related to remote monitoring comprising: a processor, a memory, an input device, and an output device, wherein the processor calls an operation instruction stored in the memory, For performing the following operations: selecting a fruit and vegetable according to the photo of the fruit and vegetable, specifying the fruit and vegetable to have a positioning mark; receiving the first photo of the designated fruit and vegetable after the order is generated; obtaining the second photo of the designated fruit and vegetable after confirming the receipt; Comparing with the second photo, judging whether the designated fruit and vegetable is unique according to the comparison result; when the designated fruit and vegetable is unique, the shopping is completed.
  • the terminal with the application software related to the remote monitoring enables the consumer to purchase the fruits and vegetables selected by the user through the network, such as the actual shopping, to ensure the quality of the fruits and vegetables in the purchase process, and the operation is simple, practical and effective.
  • the online shopping experience is simple, practical and effective.
  • the processor is further configured to: adjust the size of the second photo until the first photo and the second photo are compared by calling an operation instruction stored in the memory;
  • the fixed reference eg, the locating indicia
  • the fixed reference in the second photo is the same size as the fixed reference (eg, locating indicia) in the first photo.
  • each designated fruit and vegetable has a positioning mark
  • the positioning mark is the same in the fruit and vegetable.
  • the size of the positioning mark thereon changes accordingly.
  • the positioning mark in the second photo is the same size as the positioning mark in the first photo, the adjustment is stopped, so that the positioning mark is used as the uniqueness of the fruit and vegetable.
  • the camera when taking the first photo and the second photo, the camera can be selected to take the positioning mark.
  • the first photo and the second photo are Comparing the lines, determining, according to the comparison result, a specific step of determining whether the specified fruit and vegetable has uniqueness, comprising: selecting the first image and the second image of the corresponding coordinate position in the first photo and the second photo; acquiring and calculating the pixel value of the first image and The difference between the pixel values of the second image; determining whether the difference is greater than a preset threshold; determining that the specified fruit and vegetable does not have uniqueness when the difference is greater than the preset threshold; and when the difference is less than or equal to the preset threshold, the method further includes: Extracting a first contour image of the first photo and a second contour image of the second photo; determining whether the first contour image and the second contour image are coincident; and when the first contour image and the second contour image are coincident, determining that the designated fruit and vegetable have Uniqueness.
  • the first image and the second image at the corresponding coordinate positions in the first photo and the second photo are randomly selected by color discrimination, and the difference between the pixel values corresponding to the first image and the second image is obtained and calculated. If the difference is greater than the preset threshold, it is considered that the received fruits and vegetables are different in color from the designated fruits and vegetables, not the same fruit and vegetable, that is, the designated fruits and vegetables are not unique. If the difference is less than or equal to the preset threshold, it is considered that the received fruits and vegetables are the same color as the designated fruits and vegetables, and the contour of the next photo is determined, and the contour images of the first photo and the second photo are respectively extracted, and the contour edges are compared, if the contours coincide , it means the same fruit and vegetable.
  • the method for determining the contour coincidence is to subtract the pixel value of the corresponding coordinate position of the second contour image by the first contour image, and if the subtracted result is close to or equal to 0, the contour is considered to be coincident, that is, the designated fruit and vegetable are unique. At this point, you can complete the shopping.
  • the processor is further configured to: perform image information of the first photo and the second photo by using an operation instruction stored in the memory, where the image information includes a color, a shape, and a size of the positioning mark. .
  • the difference between the two can be intuitively compared.
  • the image information at the selected coordinate position can be recorded and displayed in real time, which not only increases the interest but also makes the comparison more intuitive.
  • the method further includes: recording image information of the first photo and the second photo, the image information including a color, a shape, and a size of the positioning mark.
  • the difference between the two can be intuitively compared.
  • the image information at the selected coordinate position can be recorded and displayed in real time. Not only increases the fun, but also makes the comparison more intuitive.
  • FIG. 1 is a flow chart showing a method of purchasing a designated fruit and vegetable according to an embodiment of the present invention
  • FIG. 2 is a flow chart showing a method of purchasing a designated fruit and vegetable according to another embodiment of the present invention.
  • FIG. 3 is a flow chart showing a method of purchasing a designated fruit and vegetable according to still another embodiment of the present invention.
  • FIG. 4 shows a schematic block diagram of a system for purchasing designated fruits and vegetables in accordance with one embodiment of the present invention
  • Figure 5 shows a schematic block diagram of a system for purchasing designated fruits and vegetables in accordance with another embodiment of the present invention
  • FIG. 6 shows a schematic block diagram of a system for purchasing a designated fruit and vegetable according to still another embodiment of the present invention
  • Figure 7 shows a schematic block diagram of a system for purchasing designated fruits and vegetables in accordance with yet another embodiment of the present invention.
  • Figure 8 is a schematic block diagram showing a system for purchasing a designated fruit and vegetable according to a fifth embodiment of the present invention.
  • Figure 9 shows a schematic block diagram of a terminal in accordance with one embodiment of the present invention.
  • FIG. 10 is a block diagram showing the structure of a computer device according to an embodiment of the present invention.
  • FIG. 11 is a block diagram showing the structure of a terminal having application software related to e-commerce shopping according to an embodiment of the present invention.
  • Figure 12a is a flow chart showing a method of purchasing a designated fruit and vegetable according to an embodiment of the present invention
  • Figure 12b illustrates a first contour image of an apple in accordance with an embodiment of the present invention
  • Figure 12c shows a second contour image of an apple in accordance with an embodiment of the present invention.
  • FIG. 1 a schematic flow chart of a method of purchasing a designated fruit and vegetable according to an embodiment of the present invention.
  • the method comprises:
  • Step 102 selecting a fruit and vegetable according to the photo of the fruit and vegetable, and designating the fruit and vegetable to have a positioning mark;
  • Step 104 after the order is generated, receiving a first photo of the designated fruit and vegetable;
  • Step 106 after confirming the receipt, obtaining a second photo of the designated fruit and vegetable;
  • Step 108 comparing the first photo with the second photo, and determining, according to the comparison result, whether the designated fruit and vegetable are unique;
  • Step 110 when the designated fruits and vegetables are unique, the shopping is completed
  • step 112 when the designated fruit and vegetable does not have uniqueness, the return is exchanged.
  • the fruits and vegetables include fruits and vegetables, preferably fruits and vegetables having a stable contour and shape to ensure the accuracy of the method, such as apples, tomatoes, cucumbers, and the like.
  • the method for purchasing a designated fruit and vegetable according to the present invention, by receiving a first photo of the designated fruit and vegetable, and obtaining a second photo of the designated fruit and vegetable, and comparing the first photo with the second photo to verify whether the designated fruit and vegetable are unique,
  • the fruits and vegetables received by the consumers are the designated fruits and vegetables selected on the Internet, and the shopping can be completed at this time; when the designated fruits and vegetables are not unique, the fruits and vegetables received by the consumers are not selected online.
  • the designated fruits and vegetables at this time you can contact the merchant to handle the return. So that consumers can purchase the fruits and vegetables they choose through the network, such as real shopping, to ensure the quality of the fruits and vegetables in the purchase process, and the operation is simple and practical, effectively improving the online shopping experience.
  • the merchant puts all the photos of fruits and vegetables on the Internet for consumers to choose, and specifies the price for each type of fruit and vegetables according to the different specifications of fruits and vegetables; when the consumer selects the designated fruits and vegetables at the time of purchase, after the order is generated, The photos of the designated fruits and vegetables will be sent to the consumers; after the consumers receive the fruits and vegetables, using the uniqueness of each fruit and vegetable, it is determined that each fruit and vegetable received is the fruit and vegetable selected at the time of purchase, ensuring that the fruits and vegetables are distributed at the merchant. The goods will not be exchanged during transportation and transportation, so that the quality of fruits and vegetables is guaranteed during purchase and transportation.
  • the uniqueness of fruits and vegetables can be directly observed by the human eye when the shape or color of fruits and vegetables is very different; however, when the shape and color are not very different, it is necessary to analyze the image of the fruit and vegetable, preferably, in the image.
  • the "fixed reference” ie, the invariant reference
  • the uniqueness of the fruit and vegetable is verified by taking photos of the received fruits and vegetables and comparing the generated photos with the photos of the designated fruits and vegetables received.
  • FIG. 2 is a schematic flow chart of a method of purchasing a designated fruit and vegetable according to another embodiment of the present invention. Wherein the method comprises:
  • Step 202 selecting a fruit and vegetable according to the photo of the fruit and vegetable, and designating the fruit and vegetable to have a positioning mark;
  • Step 204 after the order is generated, receiving a first photo of the designated fruit and vegetable;
  • Step 206 after confirming the receipt, obtaining a second photo of the designated fruit and vegetable;
  • Step 208 adjusting the size of the second photo until the positioning mark in the second photo is the same size as the positioning mark in the first photo;
  • Step 210 comparing the first photo with the second photo, and determining, according to the comparison result, whether the designated fruit and vegetable are unique;
  • step 212 when the designated fruits and vegetables are unique, the shopping is completed.
  • each of the designated fruits and vegetables has a positioning mark
  • the size of the positioning marks in the fruits and vegetables is the same regardless of any changes in the fruits and vegetables during the purchase process, such as confusion during mailing or malicious exchange during transportation.
  • the size of the positioning mark thereon changes accordingly.
  • the positioning mark in the second photo is the same size as the positioning mark in the first photo
  • the adjustment is stopped, so that the positioning mark is used as the uniqueness of the fruit and vegetable.
  • the following schemes can be further used to further confirm and confirm, so as to ensure consumers through the network. , as in real shopping, buy the fruits and vegetables you have chosen.
  • the camera when taking the first photo and the second photo, the camera is shooting the positioning mark.
  • the photographing machine with the same shooting pixels is used for photographing comparison and shooting at the same height as the positioning mark.
  • FIG. 3 a schematic flow chart of a method of purchasing a designated fruit and vegetable according to still another embodiment of the present invention. Wherein the method comprises:
  • Step 302 selecting a fruit and vegetable according to the photo of the fruit and vegetable, and designating the fruit and vegetable to have a positioning mark;
  • Step 304 after the order is generated, receiving a first photo of the designated fruit and vegetable;
  • Step 306 after confirming the receipt, obtaining a second photo of the designated fruit and vegetable;
  • Step 308 adjusting the size of the second photo until the positioning mark in the second photo is the same size as the positioning mark in the first photo;
  • Step 310 Select a first image and a second image of corresponding coordinate positions in the first photo and the second photo;
  • Step 312 Acquire and calculate a difference between a pixel value of the first image and a pixel value of the second image;
  • Step 314 determining whether the difference is greater than a preset threshold
  • Step 316 when the difference is greater than a preset threshold, determining that the designated fruit and vegetable are not unique;
  • Step 318 when the difference is less than or equal to the preset threshold, extracting the first contour image of the first photo and the second contour image of the second photo;
  • Step 320 determining whether the first contour image and the second contour image are coincident
  • step 322 when the first contour image and the second contour image are coincident, it is determined that the designated fruit and vegetable are unique; if the determination result is not coincident, the process returns to step 316.
  • the first image and the second image at the corresponding coordinate positions in the first photo and the second photo are randomly selected by color discrimination, and the difference between the pixel values corresponding to the first image and the second image is obtained and calculated. If the difference is greater than the preset threshold, it is considered that the received fruits and vegetables are different in color from the designated fruits and vegetables, not the same fruit and vegetable, that is, the designated fruits and vegetables are not unique. If the difference is less than or equal to the preset threshold, it is considered that the received fruits and vegetables are the same color as the designated fruits and vegetables, and the contour of the next photo is determined, and the contour images of the first photo and the second photo are respectively extracted, and the contour edges are compared, if the contours coincide , it means the same fruit and vegetable.
  • the method for determining the contour coincidence is to subtract the pixel value of the corresponding coordinate position of the second contour image by the first contour image, and if the subtracted result is close to or equal to 0, the contour is considered to be coincident, that is, the designated fruit and vegetable are unique. At this time, you can complete the purchase. Things.
  • the preset threshold ranges from 0 to 10.
  • the preset threshold ranges from 0 to 10, but is not limited thereto. It can be understood that the smaller the value of the preset threshold, the more accurate the uniqueness of the fruit and vegetable will be judged.
  • the method further includes: recording image information of the first photo and the second photo, the image information including a color, a shape, and a size of the positioning mark.
  • the difference between the two can be intuitively compared.
  • the image information at the selected coordinate position can be recorded and displayed in real time, which not only increases the interest but also makes the comparison more intuitive.
  • the positioning mark comprises at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, a price look-up codes (price look-up codes).
  • the positioning marks include, but are not limited to, at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, a PLU code.
  • the additional positioning marks on fruits and vegetables not only have the function of traceability, but because of the constant size of the fruits and vegetables, the uniqueness of the fruits and vegetables can be verified by the positioning marks, thereby judging the fruits and vegetables received and the designated fruits and vegetables. Is it consistent?
  • system 400 includes:
  • the selecting unit 402 is configured to select a fruit and vegetable according to the fruit and vegetable photo selection, and the designated fruit and vegetable have a positioning mark;
  • the receiving unit 404 is configured to receive a first photo of the designated fruit and vegetable after the order is generated
  • the obtaining unit 406 is configured to obtain a second photo of the designated fruit and vegetable after confirming the receipt of the goods
  • the verification unit 408 is configured to compare the first photo with the second photo, determine whether the designated fruit and vegetable is unique according to the comparison result, and complete the shopping when the designated fruit and vegetable are unique.
  • the system 400 for purchasing a designated fruit and vegetable verifies whether the designated fruit and vegetable are unique by receiving a first photo of the designated fruit and vegetable, and obtaining a second photo of the designated fruit and vegetable, and comparing the first photo with the second photo.
  • the designated fruits and vegetables are unique, it means that the fruits and vegetables received by the consumers are the designated fruits and vegetables selected on the Internet, and the shopping can be completed at this time; when the designated fruits and vegetables are not unique, the fruits and vegetables received by the consumers are not online. Selected fruits and vegetables, At this point, you can contact the merchant to process the return. So that consumers can purchase the fruits and vegetables they choose through the network, such as real shopping, to ensure the quality of the fruits and vegetables in the purchase process, and the operation is simple and practical, effectively improving the online shopping experience.
  • the merchant puts all the photos of fruits and vegetables on the Internet for consumers to choose, and specifies the price for each type of fruit and vegetables according to the different specifications of fruits and vegetables; when the consumer selects the designated fruits and vegetables at the time of purchase, after the order is generated, The photos of the designated fruits and vegetables will be sent to the consumers; after the consumers receive the fruits and vegetables, using the uniqueness of each fruit and vegetable, it is determined that each fruit and vegetable received is the fruit and vegetable selected at the time of purchase, ensuring that the fruits and vegetables are distributed at the merchant. The goods will not be exchanged during transportation and transportation, so that the quality of fruits and vegetables is guaranteed during purchase and transportation.
  • the uniqueness of fruits and vegetables can be directly observed by the human eye when the shape or color of fruits and vegetables is very different; however, when the shape and color are not very different, it is necessary to analyze the image of the fruit and vegetable, preferably, in the image.
  • the "fixed reference” ie, the invariant reference
  • the uniqueness of the fruits and vegetables is verified, that is, the fixed reference objects are selected, and the coordinate origin is determined to achieve the same coordinate position between the two photos.
  • the size, shape and color of the alignment can be achieved by the following steps.
  • system 500 includes:
  • the selecting unit 502 is configured to select a fruit and vegetable according to the fruit and vegetable photo selection, and specify the fruit and vegetable to have a positioning mark;
  • the receiving unit 504 is configured to receive a first photo of the designated fruit and vegetable after the order is generated
  • the obtaining unit 506 is configured to obtain a second photo of the designated fruit and vegetable after confirming the receipt of the goods
  • the verification unit 508 is configured to compare the first photo with the second photo, determine whether the designated fruit and vegetable is unique according to the comparison result, and complete the shopping when the designated fruit and vegetable are unique;
  • the adjusting unit 510 is configured to adjust the size of the second photo until the positioning mark in the second photo is the same size as the positioning mark in the first photo before comparing the first photo and the second photo.
  • each designated fruit and vegetable has a positioning mark, regardless of changes in the fruit and vegetable during the purchase process, such as confusion during mailing, or malicious exchange during transportation, positioning mark
  • the size is the same in fruits and vegetables.
  • the size of the positioning mark thereon changes accordingly.
  • the positioning mark in the second photo is the same size as the positioning mark in the first photo, the adjustment is stopped, so that the positioning mark is used as the uniqueness of the fruit and vegetable.
  • Prerequisites based on this, compare the two photos to verify whether the received fruits and vegetables are unique. If the shape, color or size can be judged by the naked eye, then it is determined that it is not the fruit and vegetable of your choice. Take the following steps for further identification and judgment, so as to ensure that consumers purchase their own fruits and vegetables through the Internet, such as real shopping.
  • the camera when taking the first photo and the second photo, the camera is shooting the positioning mark.
  • the photographing machine with the same shooting pixels is used for photographing comparison and shooting at the same height as the positioning mark.
  • system 600 includes:
  • the selecting unit 602 is configured to select a fruit and vegetable according to the fruit and vegetable photo selection, and specify the fruit and vegetable to have a positioning mark;
  • the receiving unit 604 is configured to receive a first photo of the designated fruit and vegetable after the order is generated
  • the obtaining unit 606 is configured to obtain a second photo of the designated fruit and vegetable after confirming the receipt
  • the verification unit 608 is configured to compare the first photo with the second photo, determine whether the designated fruit and vegetable is unique according to the comparison result, and complete the shopping when the designated fruit and vegetable are unique;
  • the adjusting unit 610 is configured to adjust the size of the second photo until the positioning mark in the second photo is the same size as the positioning mark in the first photo before comparing the first photo and the second photo;
  • the verification unit 608 includes:
  • the image selecting unit 6082 is configured to select the first image and the second image of the corresponding coordinate positions in the first photo and the second photo;
  • the calculating unit 6084 is configured to acquire and calculate a difference between a pixel value of the first image and a pixel value of the second image;
  • the first determining unit 6086 is configured to determine whether the difference is greater than a preset threshold; when the difference is greater than the preset threshold, determining that the designated fruit and vegetable does not have uniqueness.
  • the correspondence between the first photo and the second photo is randomly selected by color discrimination.
  • the first image and the second image at the coordinate position acquire and calculate a difference between pixel values corresponding to the first image and the second image, and if the difference is greater than a preset threshold, the received fruit and vegetable are different from the specified fruit and vegetable. It is not the same fruit and vegetable, that is, the designated fruit and vegetable are not unique.
  • system 700 includes:
  • the selecting unit 702 is configured to select a fruit and vegetable according to the fruit and vegetable photo selection, and specify the fruit and vegetable to have a positioning mark;
  • the receiving unit 704 is configured to receive a first photo of the designated fruit and vegetable after the order is generated
  • the obtaining unit 706 is configured to obtain a second photo of the designated fruit and vegetable after confirming the receipt of the goods
  • the verification unit 708 is configured to compare the first photo with the second photo, determine whether the designated fruit and vegetable is unique according to the comparison result, and complete the shopping when the designated fruit and vegetable are unique;
  • the adjusting unit 710 is configured to adjust a size of the second photo until the positioning mark in the second photo is the same size as the positioning mark in the first photo, before comparing the first photo and the second photo;
  • the verification unit 708 includes: an image selection unit 7082, configured to select a first image and a second image of a corresponding coordinate position in the first photo and the second photo; and a calculation unit 7084, configured to acquire and calculate a pixel value of the first image And a difference between the pixel values of the second image; the first determining unit 1086 is configured to determine whether the difference is greater than a preset threshold; and when the difference is greater than the preset threshold, determining that the designated fruit and vegetable are not unique;
  • the verification unit 708 also includes:
  • the contour extracting unit 7088 is configured to extract a first contour image of the first photo and a second contour image of the second photo when the difference is less than or equal to the preset threshold;
  • the second determining unit 7090 is configured to determine whether the first contour image and the second contour image are coincident; and when the first contour image and the second contour image are coincident, determining that the designated fruit and vegetable are unique.
  • the method for judging the contours is to subtract the pixel values of the corresponding coordinate positions of the second contour image by the first contour image, and if the subtracted results are all close to or equal to 0, the contours are considered to coincide, that is, the specified result.
  • the vegetables are unique and at this point, you can complete the shopping.
  • the preset threshold ranges from 0 to 10.
  • the preset threshold ranges from 0 to 10, but is not limited thereto. It can be understood that the smaller the value of the preset threshold, the more accurate the uniqueness of the fruit and vegetable will be judged.
  • the system 800 includes:
  • the selecting unit 802 is configured to select a fruit and vegetable according to the fruit and vegetable photo selection, and specify the fruit and vegetable to have a positioning mark;
  • the receiving unit 804 is configured to receive a first photo of the designated fruit and vegetable after the order is generated
  • the obtaining unit 806 is configured to obtain a second photo of the designated fruit and vegetable after confirming the receipt of the goods
  • the verification unit 808 is configured to compare the first photo with the second photo, determine whether the designated fruit and vegetable is unique according to the comparison result, and complete the shopping when the designated fruit and vegetable are unique;
  • the adjusting unit 810 is configured to adjust the size of the second photo until the positioning mark in the second photo is the same size as the positioning mark in the first photo before comparing the first photo and the second photo;
  • the verification unit 808 includes: an image selection unit 8082, configured to select a first image and a second image of a corresponding coordinate position in the first photo and the second photo; and a calculation unit 8084, configured to acquire and calculate a pixel value of the first image And a difference between the pixel values of the second image; the first determining unit 8086 is configured to determine whether the difference is greater than a preset threshold; and when the difference is greater than the preset threshold, determining that the designated fruit and vegetable are not unique;
  • the verification unit 808 further includes: a contour extracting unit 8088, configured to extract a first contour image of the first photo and a second contour image of the second photo when the difference is less than or equal to the preset threshold; and the second determining unit 8090 is configured to: Determining whether the first contour image and the second contour image are coincident; when the first contour image and the second contour image are coincident, determining that the designated fruit and vegetable are unique;
  • the recording unit 812 is configured to record image information of the first photo and the second photo, where the image information includes a color, a shape, and a size of the positioning mark.
  • the difference between the two can be intuitively compared.
  • the image information at the selected coordinate position can be recorded and displayed in real time, It only adds interest and makes the comparison more intuitive.
  • the positioning mark comprises at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, a PLU code.
  • the positioning marks include, but are not limited to, at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, a PLU code.
  • the additional positioning marks on fruits and vegetables not only have the function of traceability, but because of the constant size of the fruits and vegetables, the uniqueness of the fruits and vegetables can be verified by the positioning marks, thereby judging the fruits and vegetables received and the designated fruits and vegetables. Is it consistent?
  • the terminal 900 includes the system 902 for purchasing a designated fruit and vegetable as in any of the above embodiments. Therefore, the terminal 900 has all the beneficial effects of the system 902 for purchasing the designated fruits and vegetables, and details are not described herein again.
  • FIG. 10 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
  • the computer device 1 includes a memory 12, a processor 14, and a computer program stored on the memory 12 and operable on the processor 14.
  • the processor 14 implements the following steps when executing the computer program:
  • the first photo and the second photo are compared, and the specified fruit and vegetable are judged to be unique according to the comparison result; when the designated fruit and vegetable are unique, the shopping is completed.
  • the computer device 1 of the present invention by receiving a first photo of a designated fruit and vegetable, and acquiring a second photo of the designated fruit and vegetable, and comparing the first photo with the second photo, verifying whether the designated fruit and vegetable are unique, when specifying the fruit and vegetable
  • it is unique it means that the fruits and vegetables received by the consumers are the designated fruits and vegetables selected on the Internet, and the shopping can be completed at this time; when the designated fruits and vegetables are not unique, the fruits and vegetables received by the consumers are not selected on the Internet.
  • Fruits and vegetables at this time you can contact the merchant to handle the return. So that consumers can purchase the fruits and vegetables they choose through the network, such as real shopping, to ensure the quality of the fruits and vegetables in the purchase process, and the operation is simple and practical, effectively improving the online shopping experience.
  • the merchant puts all the photos of fruits and vegetables on the Internet for consumers to choose, and assigns prices to each type of fruit and vegetables according to the different specifications of fruits and vegetables; when consumers purchase, they select and specify Fruits and vegetables, after the order is generated, the photos of the designated fruits and vegetables will be sent to the consumers; after the consumers receive the fruits and vegetables, using the uniqueness of each fruit and vegetable, it is determined that each fruit and vegetable received is the one selected at the time of purchase.
  • Fruits and vegetables ensure that fruits and vegetables will not be exchanged during shipment and transportation, so that the quality of fruits and vegetables is guaranteed during purchase and transportation.
  • the uniqueness of fruits and vegetables can be directly observed by the human eye when the shape or color of fruits and vegetables is very different; however, when the shape and color are not very different, it is necessary to analyze the image of the fruit and vegetable, preferably, in the image.
  • the "fixed reference” ie, the invariant reference
  • the uniqueness of the fruits and vegetables is verified, that is, the fixed reference objects are selected, and the coordinate origin is determined to achieve the same coordinate position between the two photos.
  • the size, shape and color of the alignment can be achieved by the following steps.
  • the processor 14 executes the computer program, before comparing the first photo and the second photo, it is further implemented to: adjust the size of the second photo until the positioning mark in the second photo is The positioning marks in the first photo are the same size.
  • each of the designated fruits and vegetables has a positioning mark
  • the size of the positioning marks in the fruits and vegetables is the same regardless of any changes in the fruits and vegetables during the purchase process, such as confusion during mailing or malicious exchange during transportation.
  • the size of the positioning mark thereon changes accordingly.
  • the positioning mark in the second photo is the same size as the positioning mark in the first photo, the adjustment is stopped, so that the positioning mark is used as the uniqueness of the fruit and vegetable.
  • the camera when taking the first photo and the second photo, the camera is shooting the positioning mark.
  • the photographing machine with the same shooting pixels is used for photographing comparison and shooting at the same height as the positioning mark.
  • comparing the first photo with the second photo, and determining, according to the comparison result, a specific step of determining whether the designated vegetable has uniqueness comprising: selecting corresponding coordinate positions in the first photo and the second photo a first image and a second image; acquiring and calculating a difference between a pixel value of the first image and a pixel value of the second image; determining whether the difference is greater than a preset threshold; and when the difference is greater than a preset threshold, determining the specified Fruits and vegetables are not unique; when the difference is less than or equal to the preset threshold,
  • the method includes: extracting a first contour image of the first photo and a second contour image of the second photo; determining whether the first contour image and the second contour image are coincident; and when the first contour image and the second contour image are coincident, determining the designation Fruits and vegetables are unique.
  • the first image and the second image at the corresponding coordinate positions in the first photo and the second photo are randomly selected by color discrimination, and the difference between the pixel values corresponding to the first image and the second image is obtained and calculated. If the difference is greater than the preset threshold, it is considered that the received fruits and vegetables are different in color from the designated fruits and vegetables, not the same fruit and vegetable, that is, the designated fruits and vegetables are not unique. If the difference is less than or equal to the preset threshold, it is considered that the received fruits and vegetables are the same color as the designated fruits and vegetables, and the contour of the next photo is determined, and the contour images of the first photo and the second photo are respectively extracted, and the contour edges are compared, if the contours coincide , it means the same fruit and vegetable.
  • the method for determining the contour coincidence is to subtract the pixel value of the corresponding coordinate position of the second contour image by the first contour image, and if the subtracted result is close to or equal to 0, the contour is considered to be coincident, that is, the designated fruit and vegetable are unique. At this point, you can complete the shopping.
  • the preset threshold ranges from 0 to 10.
  • the preset threshold ranges from 0 to 10, but is not limited thereto. It can be understood that the smaller the value of the preset threshold, the more accurate the uniqueness of the fruit and vegetable will be judged.
  • the processor 14 when the processor 14 executes the computer program, it further implements: recording image information of the first photo and the second photo, the image information including a color, a shape, and a size of the positioning mark.
  • the difference between the two can be intuitively compared.
  • the image information at the selected coordinate position can be recorded and displayed in real time, which not only increases the interest but also makes the comparison more intuitive.
  • the positioning mark comprises at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, a price look-up codes (price look-up codes).
  • the positioning marks include, but are not limited to, at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, a PLU code.
  • the additional positioning marks on fruits and vegetables not only have the function of traceability, but because of the constant size of the fruits and vegetables, the uniqueness of the fruits and vegetables can be verified by the positioning marks, thereby judging the fruits and vegetables received and the designated fruits and vegetables. Is it consistent?
  • One embodiment of the present invention provides a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of: designating a fruit and vegetable according to a fruit and vegetable photo selection, designating a fruit and vegetable with a positioning mark; After receiving the first photo of the designated fruit and vegetable; after confirming the receipt, obtaining a second photo of the designated fruit and vegetable; comparing the first photo with the second photo, judging whether the designated fruit and vegetable are unique according to the comparison result; When it's unique, finish shopping.
  • the size of the second photo is adjusted until the positioning mark in the second photo is The positioning marks in the first photo are the same size.
  • comparing the first photo with the second photo, and determining, according to the comparison result, a specific step of determining whether the designated vegetable has uniqueness comprising: selecting corresponding coordinate positions in the first photo and the second photo a first image and a second image; acquiring and calculating a difference between a pixel value of the first image and a pixel value of the second image; determining whether the difference is greater than a preset threshold; and when the difference is greater than a preset threshold, determining the specified The fruit and vegetable are not unique; when the difference is less than or equal to the preset threshold, the method further includes: extracting the first contour image of the first photo and the second contour image of the second photo; determining whether the first contour image and the second contour image are coincident When the first contour image and the second contour image coincide, it is determined that the designated fruit and vegetable are unique.
  • the preset threshold ranges from 0 to 10.
  • the computer program when executed by the processor, it is further implemented to record image information of the first photo and the second photo, the image information including a color, a shape, and a size of the positioning mark.
  • the positioning mark comprises at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, a price look-up codes (price look-up codes).
  • FIG. 11 is a schematic structural diagram of a terminal having application software related to an e-commerce shopping according to an embodiment of the present invention.
  • the terminal 2 having application software related to e-commerce shopping includes: a processor 22, a memory 24, an input device 26, and an output device 28, wherein the processor 22 is configured to execute by calling an operation instruction stored in the memory 24. Do the following:
  • the first photo and the second photo are compared, and the specified fruit and vegetable are judged to be unique according to the comparison result; when the designated fruit and vegetable are unique, the shopping is completed.
  • the processor 22 is further configured to perform: adjusting the size of the second photo until the second before comparing the first photo and the second photo by calling an operation instruction stored in the memory 24.
  • the anchor mark in the photo is the same size as the anchor mark in the first photo.
  • comparing the first photo with the second photo, and determining, according to the comparison result, a specific step of determining whether the designated vegetable has uniqueness comprising: selecting corresponding coordinate positions in the first photo and the second photo a first image and a second image; acquiring and calculating a difference between a pixel value of the first image and a pixel value of the second image; determining whether the difference is greater than a preset threshold; and when the difference is greater than a preset threshold, determining the specified The fruit and vegetable are not unique; when the difference is less than or equal to the preset threshold, the method further includes: extracting the first contour image of the first photo and the second contour image of the second photo; determining whether the first contour image and the second contour image are coincident When the first contour image and the second contour image coincide, it is determined that the designated fruit and vegetable are unique.
  • the preset threshold ranges from 0 to 10.
  • the processor 22 when the processor 22 executes the computer program, it further implements: recording image information of the first photo and the second photo, the image information including a color, a shape, and a size of the positioning mark.
  • the positioning mark comprises at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, a price look-up codes (price look-up codes).
  • FIG. 12a a schematic flow diagram of a method of purchasing a designated fruit or vegetable in accordance with an embodiment of the present invention. Wherein the method comprises:
  • Step 1202 taking a picture of each fruit and vegetable
  • Step 1204 publishing the photo to the shopping platform and marking the price for each fruit and vegetable;
  • Step 1206 whether a certain fruit or vegetable has been sold
  • step 1208 the photo of the fruit and vegetable is sent to the buyer, and the fruit and vegetable are removed.
  • the buyer After the buyer receives the fruits and vegetables, verify the uniqueness of the fruits and vegetables (in the case of apples): use the Apple label as the positioning mark (as shown in Figures 12b and 12c), the camera is facing the positioning mark, and the apple is taken. According to the photo, the generated image is called Apple A.
  • the apple When testing the apple, the apple is being photographed and the apple B is generated.
  • the size of Apple B and Apple A images may be different, and it is impossible to compare whether they are the same apple, but it can be noticed that the positioning marks are the same size in all apples. Therefore, the Apple B image can be scaled so that the positioning marks of the Apple A and Apple B images are the same size.
  • the shape is determined, and the first contour image of apple A and the second contour image of apple B are respectively extracted, and the contour edges are compared. If the contours coincide, the same apple is illustrated; the method for judging the contour coincidence is to correspond to apple A minus apple B.
  • the pixel values of the coordinate positions, if subtracted, are close to or equal to 0, and the contours are considered to coincide.

Abstract

A method and system for shopping for specific produce. The method for shopping for specific produce comprises: selecting specific produce according to a produce picture, the specific produce having a positioning mark (202); after an order is generated, receiving a first picture of the specific produce (204); acquiring a second picture of the specific produce upon receipt confirmation (206); adjusting the size of the second picture until the positioning mark in the second picture is the same size as the positioning mark in the first picture (208); comparing the first picture and the second picture, and determining whether the specific produce is unique according to the comparison result (210); and when the specific produce is determined to be unique, completing the purchase (212). With the described method, consumers may buy the produce selected thereby over a network just like real shopping, so that the quality of the produce in a shopping process is guaranteed, the operation is simple and practical, and the network shopping experience is effectively improved.

Description

购买指定果蔬的方法和系统Method and system for purchasing designated fruits and vegetables
本申请要求于2017年4月28日提交中国专利局、申请号为2017102965351发明名称为“购买指定果蔬的方法和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. PCT Application No. No. No. No. No. No. No. No. No. No. No. No.
技术领域Technical field
本发明涉及智能云技术领域,具体而言,涉及一种购买指定果蔬的方法、一种购买指定果蔬的系统、一种终端、一种计算机设备、一种计算机可读存储介质、一种具有与电商购物相关的应用软件的终端。The present invention relates to the field of intelligent cloud technologies, and in particular, to a method for purchasing a designated fruit and vegetable, a system for purchasing a designated fruit and vegetable, a terminal, a computer device, a computer readable storage medium, and a E-commerce shopping related application software terminal.
背景技术Background technique
目前电商网络越来越发达,通过电商买卖果蔬成了一种趋势。果蔬成熟后,会有很多人选择通过网络购买果蔬,然而通过网络购买果蔬时,往往不能预先看到果蔬,仅能从商家的描述和展示图片来决定是否购买,不能和现实一样挑选指定的果蔬来购买,现实购买果蔬时,挑选好了之后,称重、付款就可以。At present, the e-commerce network is more and more developed, and it is a trend to buy and sell fruits and vegetables through e-commerce. After the fruits and vegetables are ripe, many people choose to buy fruits and vegetables through the Internet. However, when buying fruits and vegetables through the Internet, they often cannot see the fruits and vegetables in advance. They can only decide whether to buy from the descriptions and pictures of the merchants, and cannot select the designated fruits and vegetables as the reality. To buy, when buying fruits and vegetables in reality, after picking them up, weigh and pay.
如果商家允许消费者购买指定的果蔬,就需要保证消费者拿到的果蔬就是购买时指定的那个果蔬,保证在商家发货和运输途中果蔬不会被调换。果蔬追溯机制虽然在一定程度上可以解决果蔬的来源和质量问题,但是它是以二维码、条形码或者其他防伪标记,贴到果蔬上,这种标贴附件在果蔬上会有被撕下来贴到其他果蔬上的可能,这种情况下就无法解决质量问题了,不能保证消费者拿到的果蔬就是购买时指定的那个果蔬。If the merchant allows the consumer to purchase the designated fruits and vegetables, it is necessary to ensure that the fruits and vegetables that the consumer receives are the fruits and vegetables designated at the time of purchase, and that the fruits and vegetables are not exchanged during the delivery and transportation of the merchant. Although the fruit and vegetable traceability mechanism can solve the source and quality problems of fruits and vegetables to a certain extent, it is attached to fruits and vegetables by QR code, barcode or other anti-counterfeiting marks. The label attachments will be torn off on fruits and vegetables. The possibility of going to other fruits and vegetables, in this case, can not solve the quality problem, can not guarantee that the fruits and vegetables that consumers get are the fruits and vegetables specified at the time of purchase.
因此,如何在网上和现实中一样购买指定的果蔬,成为亟待解决的技术问题。Therefore, how to purchase the designated fruits and vegetables on the Internet and in reality has become a technical problem to be solved urgently.
发明内容 Summary of the invention
本发明旨在至少解决现有技术或相关技术中存在的技术问题之一。The present invention aims to solve at least one of the technical problems existing in the prior art or related art.
为此,本发明的第一个目的在于提出了一种购买指定果蔬的方法。To this end, a first object of the present invention is to propose a method of purchasing a designated fruit or vegetable.
本发明的第二个目的在于提出了一种购买指定果蔬的系统。A second object of the present invention is to provide a system for purchasing designated fruits and vegetables.
本发明的第三个目的在于提出了一种终端。A third object of the present invention is to propose a terminal.
本发明的第四个目的在于提出了一种计算机设备。A fourth object of the present invention is to propose a computer device.
本发明的第五个目的在于提出了一种计算机可读存储介质。A fifth object of the present invention is to provide a computer readable storage medium.
本发明的第六个目的在于提出了一种具有与电商购物相关的应用软件的终端。A sixth object of the present invention is to provide a terminal having application software related to e-commerce shopping.
有鉴于此,本发明提出了一种购买指定果蔬的方法,包括:根据果蔬照片选择指定果蔬,指定果蔬具有定位标记;在订单生成后,接收指定果蔬的第一照片;在确认收货后,获取指定果蔬的第二照片;将第一照片和第二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性;当指定果蔬具备唯一性时,完成购物。In view of this, the present invention provides a method for purchasing a designated fruit and vegetable, comprising: designating a fruit and vegetable according to a photo of a fruit and vegetable, specifying a fruit and vegetable with a positioning mark; receiving a first photo of the designated fruit and vegetable after the order is generated; and after confirming the receipt, Obtaining a second photo of the designated fruit and vegetable; comparing the first photo with the second photo, judging whether the designated fruit and vegetable is unique according to the comparison result; and completing the shopping when the designated fruit and vegetable are unique.
其中,所述果蔬包括水果和蔬菜。根据本发明的购买指定果蔬的方法,通过接收指定果蔬的第一照片,及获取指定果蔬的第二照片,并将第一照片与第二照片进行对比,来验证指定果蔬是否具备唯一性,当指定果蔬具备唯一性时,说明消费者收到的果蔬就是在网上所挑选的指定果蔬,此时可以完成购物;当指定果蔬不具备唯一性时,说明消费者收到的果蔬并非在网上所挑选的指定果蔬,此时可以联系商家办理退换货。从而使消费者通过网络,如现实购物一样购买到自己挑选的果蔬,保证了果蔬在购买过程中的质量,并且操作简单、实用,有效提升了网络购物体验。Wherein the fruits and vegetables include fruits and vegetables. The method for purchasing a designated fruit and vegetable according to the present invention, by receiving a first photo of the designated fruit and vegetable, and obtaining a second photo of the designated fruit and vegetable, and comparing the first photo with the second photo to verify whether the designated fruit and vegetable are unique, When the designated fruits and vegetables are unique, the fruits and vegetables received by the consumers are the designated fruits and vegetables selected on the Internet, and the shopping can be completed at this time; when the designated fruits and vegetables are not unique, the fruits and vegetables received by the consumers are not selected online. The designated fruits and vegetables, at this time you can contact the merchant to handle the return. So that consumers can purchase the fruits and vegetables they choose through the network, such as real shopping, to ensure the quality of the fruits and vegetables in the purchase process, and the operation is simple and practical, effectively improving the online shopping experience.
具体的,商家把所有果蔬照片都放到网上,供消费者选择,并根据果蔬规格的不同,对每个或每类果蔬指定价格;消费者在购买时,挑选指定的果蔬,生成订单后,所指定的果蔬的照片会发送给消费者;在消费者收到果蔬后,利用每个果蔬的唯一性,确定收到的每一个果蔬就是购买时所选定的那个果蔬,保证果蔬在商家发货时和运输途中不会被调换,使果蔬的质量在购买和运输过程中得到保证。其中果蔬的唯一性,在果蔬形状或者颜色差别很大的时候,可以用人眼直接观察出来;但是在形状和颜色都差别不是很大时,就需要对果蔬图像进行分析,优选地,利用图像中的“固 定参照物”(即不变参照物)来进行区分,例如利用第一照片和第二照片的定位标记进行比较。通过对收到的果蔬进行拍照,并将生成的照片与接收的指定的果蔬的照片进行对比,验证果蔬的唯一性。Specifically, the merchant puts all the photos of fruits and vegetables on the Internet for consumers to choose, and specifies the price for each type of fruit and vegetables according to the different specifications of fruits and vegetables; when the consumer selects the designated fruits and vegetables at the time of purchase, after the order is generated, The photos of the designated fruits and vegetables will be sent to the consumers; after the consumers receive the fruits and vegetables, using the uniqueness of each fruit and vegetable, it is determined that each fruit and vegetable received is the fruit and vegetable selected at the time of purchase, ensuring that the fruits and vegetables are distributed at the merchant. The goods will not be exchanged during transportation and transportation, so that the quality of fruits and vegetables is guaranteed during purchase and transportation. The uniqueness of fruits and vegetables can be directly observed by the human eye when the shape or color of fruits and vegetables is very different; however, when the shape and color are not very different, it is necessary to analyze the image of the fruit and vegetable, preferably, in the image. "solid Differentiate the reference object (ie, the invariant reference object), for example, using the first photo and the positioning mark of the second photo for comparison. By taking a picture of the received fruit and vegetables, and taking the generated photo with the designated fruit and vegetable received The photos are compared to verify the uniqueness of the fruits and vegetables.
另外,根据本发明上述的购买指定果蔬的方法,通过固定参照物确定坐标来比较的步骤中,优选地,在将第一照片和第二照片进行比较之前,还包括:调整第二照片的大小,直至第二照片中的固定参照物(例如定位标记)与第一照片中的固定参照物(例如同一定位标记)大小相同为止。Further, in the above-described method of purchasing a designated fruit and vegetable, the step of comparing the coordinates by the fixed reference, preferably, before comparing the first photo and the second photo, further comprising: adjusting the size of the second photo Until the fixed reference (eg, the positioning mark) in the second photo is the same size as the fixed reference (eg, the same positioning mark) in the first photo.
在该技术方案中,每个指定果蔬均具有定位标记,无论果蔬在购买过程中发生什么变化,比如邮寄时发生混淆,或运输中被恶意调换,定位标记在果蔬中的大小都是一样的。通过调整第二照片的大小,其上定位标记的大小随之发生变化,当第二照片中的定位标记与第一照片中的定位标记大小相同时,停止调整,使定位标记作为判断果蔬唯一性的前提条件,在此基础之上,再对比两张照片,来验证收到的果蔬是否具备唯一性,从而确保消费者通过网络,如现实购物一样购买到自己挑选的果蔬。In this technical solution, each designated fruit and vegetable has a positioning mark, no matter what changes occur in the purchase process of the fruit and vegetable, such as confusion during mailing, or maliciously exchanged during transportation, the positioning mark is the same in the fruit and vegetable. By adjusting the size of the second photo, the size of the positioning mark thereon changes accordingly. When the positioning mark in the second photo is the same size as the positioning mark in the first photo, the adjustment is stopped, so that the positioning mark is used as the uniqueness of the fruit and vegetable. Prerequisites, based on this, compare two photos to verify the uniqueness of the fruits and vegetables received, so as to ensure that consumers buy their own fruits and vegetables through the Internet, such as real shopping.
其中,本领域技术人员应该理解,在拍摄第一照片和第二照片时,可以选择摄像头正对定位标记进行拍摄,同时,为保证比较的准确性,最好采用拍摄像素相同的拍摄机器进行拍照比较,更优选地,可以选择正对定位标记且相距一样的高度进行拍摄。Among them, those skilled in the art should understand that when taking the first photo and the second photo, the camera can be selected to shoot the positioning mark, and at the same time, in order to ensure the accuracy of the comparison, it is better to take the photo with the same shooting machine as the shooting pixel. For comparison, more preferably, it is possible to select the same height of the positioning marks and shoot them at the same distance.
在将上述固定参照物调整至相同大小之后,优选地,将第一照片和第二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性的具体步骤,包括:选取第一照片和第二照片中对应坐标位置的第一图像和第二图像;获取并计算第一图像的像素值和第二图像的像素值的差值;判断差值是否大于预设阈值;当差值大于预设阈值时,则判定指定果蔬不具备唯一性。After adjusting the fixed reference object to the same size, preferably comparing the first photo with the second photo, and determining, according to the comparison result, a specific step of determining whether the designated vegetable has uniqueness, comprising: selecting the first photo and the second photo a first image and a second image corresponding to the coordinate position; acquiring and calculating a difference between the pixel value of the first image and the pixel value of the second image; determining whether the difference is greater than a preset threshold; and when the difference is greater than a preset threshold , it is determined that the designated fruits and vegetables are not unique.
在该技术方案中,通过显色区分,随机选取第一照片和第二照片中对应坐标位置处的第一图像和第二图像,获取并计算第一图像和第二图像对应的像素值之差,若差值大于预设阈值时,则认为收到的果蔬和指定的果蔬颜色不同,不是同一个果蔬,也就是该指定果蔬不具备唯一性。In the technical solution, the first image and the second image at the corresponding coordinate positions in the first photo and the second photo are randomly selected by color discrimination, and the difference between the pixel values corresponding to the first image and the second image is obtained and calculated. If the difference is greater than the preset threshold, it is considered that the received fruits and vegetables are different in color from the designated fruits and vegetables, not the same fruit and vegetable, that is, the designated fruits and vegetables are not unique.
在上述任一技术方案中,优选地,当差值小于等于预设阈值时,还包括:提取第一照片的第一轮廓图像和第二照片的第二轮廓图像;判断第一轮廓图像 和第二轮廓图像是否重合;当第一轮廓图像和第二轮廓图像重合时,则判定指定果蔬具备唯一性。In any one of the above aspects, preferably, when the difference is less than or equal to the preset threshold, the method further includes: extracting the first contour image of the first photo and the second contour image of the second photo; determining the first contour image And whether the second contour image coincides; when the first contour image and the second contour image coincide, it is determined that the designated fruit and vegetable are unique.
在该技术方案中,若差值小于等于预设阈值时,则认为收到的果蔬和指定的果蔬颜色相同,进入下一步的轮廓判断,分别提取第一照片和第二照片的轮廓图像,对比轮廓边缘,如果轮廓重合,则说明为同一个果蔬。优选地,轮廓重合的判断方法是通过第一轮廓图像减第二轮廓图像对应坐标位置的像素值,相减后结果若都接近或者等于0,则认为轮廓重合,也就是该指定果蔬具备唯一性,此时,可以完成购物。In the technical solution, if the difference is less than or equal to the preset threshold, it is considered that the received fruits and vegetables and the designated fruits and vegetables have the same color, and the contour of the next step is judged, and the contour images of the first photo and the second photo are respectively extracted, and the contrast is obtained. The edge of the contour, if the contours coincide, it is the same fruit and vegetable. Preferably, the method for determining the contour coincidence is to subtract the pixel value of the corresponding coordinate position of the second contour image by the first contour image, and if the subtracted result is close to or equal to 0, the contour is considered to be coincident, that is, the designated fruit and vegetable are unique. At this point, you can complete the shopping.
在上述任一技术方案中,优选地,预设阈值的范围为0至10。In any of the above technical solutions, preferably, the preset threshold ranges from 0 to 10.
在该技术方案中,预设阈值的范围为0至10,但不限于此。可以理解的是,预设阈值的取值越小,对于果蔬的唯一性判断会越精准。In this technical solution, the preset threshold ranges from 0 to 10, but is not limited thereto. It can be understood that the smaller the value of the preset threshold, the more accurate the uniqueness of the fruit and vegetable will be judged.
在上述任一技术方案中,优选地,还包括:记录第一照片和第二照片的图像信息,图像信息包括颜色、形状、定位标记的大小。In any of the above technical solutions, preferably, the method further includes: recording image information of the first photo and the second photo, the image information including a color, a shape, and a size of the positioning mark.
在该技术方案中,通过记录第一照片和第二照片的颜色、形状、定位标记的大小等信息,可以直观的对比两者的区别。具体的,在验证指定果蔬的唯一性时,可以实时的记录并显示所选取的坐标位置处的图像信息,不仅增加趣味性,而且使得对比更加直观。In this technical solution, by recording information such as the color, shape, size of the positioning mark, and the like of the first photo and the second photo, the difference between the two can be intuitively compared. Specifically, when verifying the uniqueness of the designated fruit and vegetable, the image information at the selected coordinate position can be recorded and displayed in real time, which not only increases the interest but also makes the comparison more intuitive.
在上述任一技术方案中,优选地,定位标记包括以下至少一种或其组合:果蔬标签、二维码、条形码、PLU码(Price look-up codes,价格查找代码)。In any of the above technical solutions, preferably, the positioning mark comprises at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, and a price look-up codes.
在该技术方案中,定位标记包括但不限于以下至少一种或其组合:果蔬标签、二维码、条形码、PLU码,当具有多种定位标记时,可任选其中一种进行定位,或者任选两种以上用于定位以及相互印证。果蔬上附加的定位标记不仅具有溯源的功能,由于其在果蔬上的大小是不变的,因此还能通过定位标记,对果蔬的唯一性进行验证,从而判断出收到的果蔬与指定的果蔬是否一致。In this technical solution, the positioning mark includes, but is not limited to, at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, a PLU code, and when there are multiple positioning marks, one of them may be selected for positioning, or Either two or more are used for positioning and mutual verification. The additional positioning marks on fruits and vegetables not only have the function of traceability, but because of the constant size of the fruits and vegetables, the uniqueness of the fruits and vegetables can be verified by the positioning marks, thereby judging the fruits and vegetables received and the designated fruits and vegetables. Is it consistent?
根据本发明的第二个目的,提出了一种购买指定果蔬的系统,包括:选择单元,用于根据果蔬照片选择指定果蔬,指定果蔬具有定位标记;接收单元,用于在订单生成后,接收指定果蔬的第一照片;获取单元,用于 在确认收货后,获取指定果蔬的第二照片;验证单元,用于将第一照片和第二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性;当指定果蔬具备唯一性时,完成购物。According to a second object of the present invention, a system for purchasing a designated fruit and vegetable is provided, comprising: a selecting unit for selecting a fruit and vegetable according to a photo of a fruit and vegetable, specifying a fruit and vegetable with an positioning mark; and a receiving unit for receiving after the order is generated Specify the first photo of the fruit and vegetable; the acquisition unit for After confirming the receipt, obtaining a second photo of the designated fruit and vegetable; the verification unit is configured to compare the first photo with the second photo, and determine whether the designated fruit and vegetable is unique according to the comparison result; when the designated fruit and vegetable are unique, the completion is completed shopping.
根据本发明的购买指定果蔬的系统,通过接收指定果蔬的第一照片,及获取指定果蔬的第二照片,并将第一照片与第二照片进行对比,来验证指定果蔬是否具备唯一性,当指定果蔬具备唯一性时,说明消费者收到的果蔬就是在网上所挑选的指定果蔬,此时可以完成购物;当指定果蔬不具备唯一性时,说明消费者收到的果蔬并非在网上所挑选的指定果蔬,此时可以联系商家办理退换货。从而使消费者通过网络,如现实购物一样购买到自己挑选的果蔬,保证了果蔬在购买过程中的质量,并且操作简单、实用,有效提升了网络购物体验。The system for purchasing a designated fruit and vegetable according to the present invention, by receiving a first photo of the designated fruit and vegetable, and obtaining a second photo of the designated fruit and vegetable, and comparing the first photo with the second photo to verify whether the designated fruit and vegetable are unique, When the designated fruits and vegetables are unique, the fruits and vegetables received by the consumers are the designated fruits and vegetables selected on the Internet, and the shopping can be completed at this time; when the designated fruits and vegetables are not unique, the fruits and vegetables received by the consumers are not selected online. The designated fruits and vegetables, at this time you can contact the merchant to handle the return. So that consumers can purchase the fruits and vegetables they choose through the network, such as real shopping, to ensure the quality of the fruits and vegetables in the purchase process, and the operation is simple and practical, effectively improving the online shopping experience.
具体的,商家把所有果蔬照片都放到网上,供消费者选择,并根据果蔬规格的不同,对每个或每类果蔬指定价格;消费者在购买时,挑选指定的果蔬,生成订单后,所指定的果蔬的照片会发送给消费者;在消费者收到果蔬后,利用每个果蔬的唯一性,确定收到的每一个果蔬就是购买时所选定的那个果蔬,保证果蔬在商家发货时和运输途中不会被调换,使果蔬的质量在购买和运输过程中得到保证。其中果蔬的唯一性,在果蔬形状或者颜色差别很大的时候,可以用人眼直接观察出来;但是在形状和颜色都差别不是很大时,就需要对果蔬图像进行分析,优选地,利用图像中的“固定参照物”(即不变参照物)来进行区分,例如利用第一照片和第二照片的定位标记进行比较。通过对收到的果蔬进行拍照,并将生成的照片与接收的指定的果蔬的照片进行对比,验证果蔬的唯一性。Specifically, the merchant puts all the photos of fruits and vegetables on the Internet for consumers to choose, and specifies the price for each type of fruit and vegetables according to the different specifications of fruits and vegetables; when the consumer selects the designated fruits and vegetables at the time of purchase, after the order is generated, The photos of the designated fruits and vegetables will be sent to the consumers; after the consumers receive the fruits and vegetables, using the uniqueness of each fruit and vegetable, it is determined that each fruit and vegetable received is the fruit and vegetable selected at the time of purchase, ensuring that the fruits and vegetables are distributed at the merchant. The goods will not be exchanged during transportation and transportation, so that the quality of fruits and vegetables is guaranteed during purchase and transportation. The uniqueness of fruits and vegetables can be directly observed by the human eye when the shape or color of fruits and vegetables is very different; however, when the shape and color are not very different, it is necessary to analyze the image of the fruit and vegetable, preferably, in the image. The "fixed reference" (ie, the invariant reference) is used to distinguish, for example, using the first photo and the second photo's alignment mark. The uniqueness of the fruit and vegetable is verified by taking photos of the received fruits and vegetables and comparing the generated photos with the photos of the designated fruits and vegetables received.
在上述技术方案中,优选地,还包括:调整单元,用于在将第一照片和第二照片进行比较之前,调整第二照片的大小,直至第二照片中的固定参照物(例如定位标记)与第一照片中的固定参照物(例如同一定位标记)大小相同为止。In the above technical solution, preferably, the method further includes: an adjusting unit, configured to adjust the size of the second photo until the first photo and the second photo are compared, until the fixed reference object in the second photo (for example, the positioning mark ) is the same size as the fixed reference (eg, the same positioning mark) in the first photo.
在该技术方案中,每个指定果蔬均具有定位标记,无论果蔬在购买过程中发生什么变化,比如邮寄时发生混淆,或运输中被恶意调换,定位标记在果蔬中的大小都是一样的。通过调整第二照片的大小,其上定位标记 的大小随之发生变化,当第二照片中的定位标记与第一照片中的定位标记大小相同时,停止调整,使定位标记作为判断果蔬唯一性的前提条件,在此基础之上,再对比两张照片,来验证收到的果蔬是否具备唯一性,从而确保消费者通过网络,如现实购物一样购买到自己挑选的果蔬。In this technical solution, each designated fruit and vegetable has a positioning mark, no matter what changes occur in the purchase process of the fruit and vegetable, such as confusion during mailing, or maliciously exchanged during transportation, the positioning mark is the same in the fruit and vegetable. By adjusting the size of the second photo, the positioning mark on it The size of the second photo changes accordingly. When the positioning mark in the second photo is the same size as the positioning mark in the first photo, the adjustment is stopped, so that the positioning mark is used as a precondition for judging the uniqueness of the fruit and vegetables. Two photos to verify the uniqueness of the fruits and vegetables received, so that consumers can purchase the fruits and vegetables they choose through the Internet, such as real shopping.
其中,本领域技术人员应该理解,在拍摄第一照片和第二照片时,可以选择摄像头正对定位标记进行拍摄。同时,为保证比较的准确性,最好采用拍摄像素相同的拍摄机器进行拍照比较,更优选地,可以选择正对定位标记且相距一样的高度进行拍摄。Among them, those skilled in the art should understand that when taking the first photo and the second photo, the camera can be selected to take the positioning mark. At the same time, in order to ensure the accuracy of the comparison, it is preferable to perform photographing comparison using the photographing machine with the same photographing pixels. More preferably, it is possible to select the photographing at the same height as the positioning marks.
在上述任一技术方案中,优选地,验证单元,包括:图像选取单元,用于选取第一照片和第二照片中对应坐标位置的第一图像和第二图像;计算单元,用于获取并计算第一图像的像素值和第二图像的像素值的差值;第一判断单元,用于判断差值是否大于预设阈值;当差值大于预设阈值时,则判定指定果蔬不具备唯一性。In any one of the above aspects, preferably, the verification unit includes: an image selection unit, configured to select a first image and a second image of a corresponding coordinate position in the first photo and the second photo; and a calculation unit configured to acquire and Calculating a difference between the pixel value of the first image and the pixel value of the second image; the first determining unit is configured to determine whether the difference is greater than a preset threshold; and when the difference is greater than the preset threshold, determining that the designated fruit and vegetable are not unique Sex.
在该技术方案中,通过显色区分,随机选取第一照片和第二照片中对应坐标位置处的第一图像和第二图像,获取并计算第一图像和第二图像对应的像素值之差,若差值大于预设阈值时,则认为收到的果蔬和指定的果蔬颜色不同,不是同一个果蔬,也就是该指定果蔬不具备唯一性。In the technical solution, the first image and the second image at the corresponding coordinate positions in the first photo and the second photo are randomly selected by color discrimination, and the difference between the pixel values corresponding to the first image and the second image is obtained and calculated. If the difference is greater than the preset threshold, it is considered that the received fruits and vegetables are different in color from the designated fruits and vegetables, not the same fruit and vegetable, that is, the designated fruits and vegetables are not unique.
在上述任一技术方案中,优选地,验证单元,还包括:轮廓提取单元,用于当差值小于等于预设阈值时,提取第一照片的第一轮廓图像和第二照片的第二轮廓图像;第二判断单元,用于判断第一轮廓图像和第二轮廓图像是否重合;当第一轮廓图像和第二轮廓图像重合时,则判定指定果蔬具备唯一性。In any one of the above aspects, preferably, the verification unit further includes: a contour extraction unit, configured to extract the first contour image of the first photo and the second contour of the second photo when the difference is less than or equal to the preset threshold And a second determining unit, configured to determine whether the first contour image and the second contour image are coincident; and when the first contour image and the second contour image are coincident, determining that the designated fruit and vegetable are unique.
在该技术方案中,若差值小于等于预设阈值时,则认为收到的果蔬和指定的果蔬颜色相同,进入下一步的轮廓判断,分别提取第一照片和第二照片的轮廓图像,对比轮廓边缘,如果轮廓重合,则说明为同一个果蔬。优选地,轮廓重合的判断方法是通过第一轮廓图像减第二轮廓图像对应坐标位置的像素值,相减后结果若都接近或者等于0,则认为轮廓重合,也就是该指定果蔬具备唯一性,此时,可以完成购物。In the technical solution, if the difference is less than or equal to the preset threshold, it is considered that the received fruits and vegetables and the designated fruits and vegetables have the same color, and the contour of the next step is judged, and the contour images of the first photo and the second photo are respectively extracted, and the contrast is obtained. The edge of the contour, if the contours coincide, it is the same fruit and vegetable. Preferably, the method for determining the contour coincidence is to subtract the pixel value of the corresponding coordinate position of the second contour image by the first contour image, and if the subtracted result is close to or equal to 0, the contour is considered to be coincident, that is, the designated fruit and vegetable are unique. At this point, you can complete the shopping.
在上述任一技术方案中,优选地,预设阈值的范围为0至10。In any of the above technical solutions, preferably, the preset threshold ranges from 0 to 10.
在该技术方案中,预设阈值的范围为0至10,但不限于此。可以理解的 是,预设阈值的取值越小,对于果蔬的唯一性判断会越精准。In this technical solution, the preset threshold ranges from 0 to 10, but is not limited thereto. Understandable Yes, the smaller the value of the preset threshold, the more accurate the uniqueness of the fruit and vegetable will be.
在上述任一技术方案中,优选地,还包括:记录单元,用于记录第一照片和第二照片的图像信息,图像信息包括颜色、形状、定位标记的大小。In any of the above technical solutions, preferably, the method further includes: a recording unit, configured to record image information of the first photo and the second photo, where the image information includes a color, a shape, and a size of the positioning mark.
在该技术方案中,通过记录第一照片和第二照片的颜色、形状、定位标记的大小等信息,可以直观的对比两者的区别。具体的,在验证指定果蔬的唯一性时,可以实时的记录并显示所选取的坐标位置处的图像信息,不仅增加趣味性,而且使得对比更加直观。In this technical solution, by recording information such as the color, shape, size of the positioning mark, and the like of the first photo and the second photo, the difference between the two can be intuitively compared. Specifically, when verifying the uniqueness of the designated fruit and vegetable, the image information at the selected coordinate position can be recorded and displayed in real time, which not only increases the interest but also makes the comparison more intuitive.
在上述任一技术方案中,优选地,定位标记包括以下至少一种或其组合:果蔬标签、二维码、条形码、PLU码。In any of the above aspects, preferably, the positioning mark comprises at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, and a PLU code.
在该技术方案中,定位标记包括但不限于以下至少一种或其组合:果蔬标签、二维码、条形码、PLU码。果蔬上附加的定位标记不仅具有溯源的功能,由于其在果蔬上的大小是不变的,因此还能通过定位标记,对果蔬的唯一性进行验证,从而判断出收到的果蔬与指定的果蔬是否一致。In this technical solution, the positioning mark includes, but is not limited to, at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, and a PLU code. The additional positioning marks on fruits and vegetables not only have the function of traceability, but because of the constant size of the fruits and vegetables, the uniqueness of the fruits and vegetables can be verified by the positioning marks, thereby judging the fruits and vegetables received and the designated fruits and vegetables. Is it consistent?
根据本发明的第三个目的,提出了一种终端,包括如上述任一技术方案中的购买指定果蔬的系统。According to a third object of the present invention, there is provided a terminal comprising a system for purchasing a designated fruit or vegetable according to any of the above aspects.
根据本发明的终端,利用上述任一技术方案中的购买指定果蔬的系统,使消费者通过网络,如现实购物一样购买到自己挑选的果蔬,保证了果蔬在购买过程中的质量,并且操作简单、实用,有效提升了网络购物体验。The terminal according to the present invention utilizes the system for purchasing designated fruits and vegetables in any of the above technical solutions, so that the consumers can purchase the fruits and vegetables selected by the consumers through the network, such as real shopping, thereby ensuring the quality of the fruits and vegetables during the purchase process, and the operation is simple. Practical and effective, it has effectively improved the online shopping experience.
根据本发明的第四个目的,提出了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现以下步骤:根据果蔬照片选择指定果蔬,指定果蔬具有定位标记;在订单生成后,接收指定果蔬的第一照片;在确认收货后,获取指定果蔬的第二照片;将第一照片和第二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性;当指定果蔬具备唯一性时,完成购物。According to a fourth object of the present invention, a computer apparatus is provided, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor performing the following steps: according to the fruit and vegetable photo Selecting the designated fruit and vegetable, specifying the fruit and vegetable with the positioning mark; receiving the first photo of the designated fruit and vegetable after the order is generated; obtaining the second photo of the designated fruit and vegetable after confirming the receipt; comparing the first photo with the second photo, according to the comparison As a result, it is judged whether the designated fruit and vegetable are unique; when the designated fruit and vegetable are unique, the shopping is completed.
根据本发明的计算机设备,通过接收指定果蔬的第一照片,及获取指定果蔬的第二照片,并将第一照片与第二照片进行对比,来验证指定果蔬是否具备唯一性,当指定果蔬具备唯一性时,说明消费者收到的果蔬就是在网上所挑选的指定果蔬,此时可以完成购物;当指定果蔬不具备唯一性时,说明消费者收到的果蔬并非在网上所挑选的指定果蔬,此时可以联系 商家办理退换货。从而使消费者通过网络,如现实购物一样购买到自己挑选的果蔬,保证了果蔬在购买过程中的质量,并且操作简单、实用,有效提升了网络购物体验。The computer device according to the present invention, by receiving a first photo of a designated fruit and vegetable, and obtaining a second photo of the designated fruit and vegetable, and comparing the first photo with the second photo to verify whether the designated fruit and vegetable are unique, when the designated fruit and vegetable have Uniqueness means that the fruits and vegetables received by the consumers are the designated fruits and vegetables selected on the Internet, and the shopping can be completed at this time; when the designated fruits and vegetables are not unique, the fruits and vegetables received by the consumers are not the designated fruits and vegetables selected on the Internet. At this time, you can contact Merchants handle the return. So that consumers can purchase the fruits and vegetables they choose through the network, such as real shopping, to ensure the quality of the fruits and vegetables in the purchase process, and the operation is simple and practical, effectively improving the online shopping experience.
具体的,商家把所有果蔬照片都放到网上,供消费者选择,并根据果蔬规格的不同,对每个或每类果蔬指定价格;消费者在购买时,挑选指定的果蔬,生成订单后,所指定的果蔬的照片会发送给消费者;在消费者收到果蔬后,利用每个果蔬的唯一性,确定收到的每一个果蔬就是购买时所选定的那个果蔬,保证果蔬在商家发货时和运输途中不会被调换,使果蔬的质量在购买和运输过程中得到保证。其中果蔬的唯一性,在果蔬形状或者颜色差别很大的时候,可以用人眼直接观察出来;但是在形状和颜色都差别不是很大时,就需要对果蔬图像进行分析,优选地,利用图像中的“固定参照物”(即不变参照物)来进行区分,例如利用第一照片和第二照片的定位标记进行比较。通过对收到的果蔬进行拍照,并将生成的照片与接收的指定的果蔬的照片进行对比,验证果蔬的唯一性。Specifically, the merchant puts all the photos of fruits and vegetables on the Internet for consumers to choose, and specifies the price for each type of fruit and vegetables according to the different specifications of fruits and vegetables; when the consumer selects the designated fruits and vegetables at the time of purchase, after the order is generated, The photos of the designated fruits and vegetables will be sent to the consumers; after the consumers receive the fruits and vegetables, using the uniqueness of each fruit and vegetable, it is determined that each fruit and vegetable received is the fruit and vegetable selected at the time of purchase, ensuring that the fruits and vegetables are distributed at the merchant. The goods will not be exchanged during transportation and transportation, so that the quality of fruits and vegetables is guaranteed during purchase and transportation. The uniqueness of fruits and vegetables can be directly observed by the human eye when the shape or color of fruits and vegetables is very different; however, when the shape and color are not very different, it is necessary to analyze the image of the fruit and vegetable, preferably, in the image. The "fixed reference" (ie, the invariant reference) is used to distinguish, for example, using the first photo and the second photo's alignment mark. The uniqueness of the fruit and vegetable is verified by taking photos of the received fruits and vegetables and comparing the generated photos with the photos of the designated fruits and vegetables received.
在上述技术方案中,优选地,处理器执行计算机程序时,在将第一照片和第二照片进行比较之前,还实现了:调整第二照片的大小,直至第二照片中的固定参照物(例如定位标记)与第一照片中的固定参照物(例如定位标记)大小相同为止。In the above technical solution, preferably, when the processor executes the computer program, before comparing the first photo and the second photo, it is further implemented: adjusting the size of the second photo until the fixed reference object in the second photo ( For example, the positioning mark is the same size as the fixed reference (eg, positioning mark) in the first photo.
在该技术方案中,每个指定果蔬均具有定位标记,无论果蔬在购买过程中发生什么变化,比如邮寄时发生混淆,或运输中被恶意调换,定位标记在果蔬中的大小都是一样的。通过调整第二照片的大小,其上定位标记的大小随之发生变化,当第二照片中的定位标记与第一照片中的定位标记大小相同时,停止调整,使定位标记作为判断果蔬唯一性的前提条件,在此基础之上,再对比两张照片,来验证收到的果蔬是否具备唯一性,从而确保消费者通过网络,如现实购物一样购买到自己挑选的果蔬。In this technical solution, each designated fruit and vegetable has a positioning mark, no matter what changes occur in the purchase process of the fruit and vegetable, such as confusion during mailing, or maliciously exchanged during transportation, the positioning mark is the same in the fruit and vegetable. By adjusting the size of the second photo, the size of the positioning mark thereon changes accordingly. When the positioning mark in the second photo is the same size as the positioning mark in the first photo, the adjustment is stopped, so that the positioning mark is used as the uniqueness of the fruit and vegetable. Prerequisites, based on this, compare two photos to verify the uniqueness of the fruits and vegetables received, so as to ensure that consumers buy their own fruits and vegetables through the Internet, such as real shopping.
其中,本领域技术人员应该理解,在拍摄第一照片和第二照片时,可以选择摄像头正对定位标记进行拍摄。同时,为保证比较的准确性,最好采用拍摄像素相同的拍摄机器进行拍照比较,更优选地,可以选择正对定位标记且相距一样的高度进行拍摄。 Among them, those skilled in the art should understand that when taking the first photo and the second photo, the camera can be selected to take the positioning mark. At the same time, in order to ensure the accuracy of the comparison, it is preferable to perform photographing comparison using the photographing machine with the same photographing pixels. More preferably, it is possible to select the photographing at the same height as the positioning marks.
固定参照物调整至相同大小之后,优选地,将第一照片和第二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性的具体步骤,包括:选取第一照片和第二照片中对应坐标位置的第一图像和第二图像;获取并计算第一图像的像素值和第二图像的像素值的差值;判断差值是否大于预设阈值;当差值大于预设阈值时,则判定指定果蔬不具备唯一性;当差值小于等于预设阈值时,还包括:提取第一照片的第一轮廓图像和第二照片的第二轮廓图像;判断第一轮廓图像和第二轮廓图像是否重合;当第一轮廓图像和第二轮廓图像重合时,则判定指定果蔬具备唯一性。After the fixed reference object is adjusted to the same size, preferably, the first photo and the second photo are compared, and the specific step of determining whether the specified fruit and vegetable has uniqueness according to the comparison result comprises: selecting corresponding coordinates in the first photo and the second photo a first image and a second image of the location; acquiring and calculating a difference between the pixel value of the first image and the pixel value of the second image; determining whether the difference is greater than a preset threshold; and determining, when the difference is greater than a preset threshold, determining The specified fruit and vegetable are not unique; when the difference is less than or equal to the preset threshold, the method further includes: extracting the first contour image of the first photo and the second contour image of the second photo; determining whether the first contour image and the second contour image are Coincident; when the first contour image and the second contour image coincide, it is determined that the designated fruit and vegetable are unique.
在该技术方案中,通过显色区分,随机选取第一照片和第二照片中对应坐标位置处的第一图像和第二图像,获取并计算第一图像和第二图像对应的像素值之差,若差值大于预设阈值时,则认为收到的果蔬和指定的果蔬颜色不同,不是同一个果蔬,也就是该指定果蔬不具备唯一性。若差值小于等于预设阈值时,则认为收到的果蔬和指定的果蔬颜色相同,进入下一步的轮廓判断,分别提取第一照片和第二照片的轮廓图像,对比轮廓边缘,如果轮廓重合,则说明为同一个果蔬。优选地,轮廓重合的判断方法是通过第一轮廓图像减第二轮廓图像对应坐标位置的像素值,相减后结果若都接近或者等于0,则认为轮廓重合,也就是该指定果蔬具备唯一性,此时,可以完成购物。In the technical solution, the first image and the second image at the corresponding coordinate positions in the first photo and the second photo are randomly selected by color discrimination, and the difference between the pixel values corresponding to the first image and the second image is obtained and calculated. If the difference is greater than the preset threshold, it is considered that the received fruits and vegetables are different in color from the designated fruits and vegetables, not the same fruit and vegetable, that is, the designated fruits and vegetables are not unique. If the difference is less than or equal to the preset threshold, it is considered that the received fruits and vegetables are the same color as the designated fruits and vegetables, and the contour of the next photo is determined, and the contour images of the first photo and the second photo are respectively extracted, and the contour edges are compared, if the contours coincide , it means the same fruit and vegetable. Preferably, the method for determining the contour coincidence is to subtract the pixel value of the corresponding coordinate position of the second contour image by the first contour image, and if the subtracted result is close to or equal to 0, the contour is considered to be coincident, that is, the designated fruit and vegetable are unique. At this point, you can complete the shopping.
在上述任一技术方案中,优选地,处理器执行计算机程序时,还实现了:记录第一照片和第二照片的图像信息,图像信息包括颜色、形状、定位标记的大小。In any of the above technical solutions, preferably, when the processor executes the computer program, the image information of the first photo and the second photo is recorded, and the image information includes a color, a shape, and a size of the positioning mark.
在该技术方案中,通过记录第一照片和第二照片的颜色、形状、定位标记的大小等信息,可以直观的对比两者的区别。具体的,在验证指定果蔬的唯一性时,可以实时的记录并显示所选取的坐标位置处的图像信息,不仅增加趣味性,而且使得对比更加直观。In this technical solution, by recording information such as the color, shape, size of the positioning mark, and the like of the first photo and the second photo, the difference between the two can be intuitively compared. Specifically, when verifying the uniqueness of the designated fruit and vegetable, the image information at the selected coordinate position can be recorded and displayed in real time, which not only increases the interest but also makes the comparison more intuitive.
根据本发明的第五个目的,提出了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:根据果蔬照片选择指定果蔬,指定果蔬具有定位标记;在订单生成后,接收指定果蔬的第一照片;在确认收货后,获取指定果蔬的第二照片;将第一照片和第 二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性;当指定果蔬具备唯一性时,完成购物。According to a fifth object of the present invention, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by the processor, the following steps are performed: selecting a fruit and vegetable according to the fruit and vegetable photo selection, and designating the fruit and vegetable to have a positioning mark; After the order is generated, receiving the first photo of the designated fruit and vegetable; after confirming the receipt, obtaining the second photo of the designated fruit and vegetable; the first photo and the first The two photos are compared, and the specified fruits and vegetables are judged to be unique according to the comparison result; when the designated fruits and vegetables are unique, the shopping is completed.
根据本发明的计算机可读存储介质,通过接收指定果蔬的第一照片,及获取指定果蔬的第二照片,并将第一照片与第二照片进行对比,来验证指定果蔬是否具备唯一性,当指定果蔬具备唯一性时,说明消费者收到的果蔬就是在网上所挑选的指定果蔬,此时可以完成购物;当指定果蔬不具备唯一性时,说明消费者收到的果蔬并非在网上所挑选的指定果蔬,此时可以联系商家办理退换货。从而使消费者通过网络,如现实购物一样购买到自己挑选的果蔬,保证了果蔬在购买过程中的质量,并且操作简单、实用,有效提升了网络购物体验。The computer readable storage medium according to the present invention, by receiving a first photo of a designated fruit and vegetable, and acquiring a second photo of the designated fruit and vegetable, and comparing the first photo with the second photo to verify whether the designated fruit and vegetable is unique, When the designated fruits and vegetables are unique, the fruits and vegetables received by the consumers are the designated fruits and vegetables selected on the Internet, and the shopping can be completed at this time; when the designated fruits and vegetables are not unique, the fruits and vegetables received by the consumers are not selected online. The designated fruits and vegetables, at this time you can contact the merchant to handle the return. So that consumers can purchase the fruits and vegetables they choose through the network, such as real shopping, to ensure the quality of the fruits and vegetables in the purchase process, and the operation is simple and practical, effectively improving the online shopping experience.
具体的,商家把所有果蔬照片都放到网上,供消费者选择,并根据果蔬规格的不同,对每个或每类果蔬指定价格;消费者在购买时,挑选指定的果蔬,生成订单后,所指定的果蔬的照片会发送给消费者;在消费者收到果蔬后,利用每个果蔬的唯一性,确定收到的每一个果蔬就是购买时所选定的那个果蔬,保证果蔬在商家发货时和运输途中不会被调换,使果蔬的质量在购买和运输过程中得到保证。其中果蔬的唯一性,在果蔬形状或者颜色差别很大的时候,可以用人眼直接观察出来;但是在形状和颜色都差别不是很大时,就需要对果蔬图像进行分析,优选地,利用图像中的“固定参照物”(即不变参照物)来进行区分,例如利用第一照片和第二照片的定位标记进行比较。通过对收到的果蔬进行拍照,并将生成的照片与接收的指定的果蔬的照片进行对比,验证果蔬的唯一性。Specifically, the merchant puts all the photos of fruits and vegetables on the Internet for consumers to choose, and specifies the price for each type of fruit and vegetables according to the different specifications of fruits and vegetables; when the consumer selects the designated fruits and vegetables at the time of purchase, after the order is generated, The photos of the designated fruits and vegetables will be sent to the consumers; after the consumers receive the fruits and vegetables, using the uniqueness of each fruit and vegetable, it is determined that each fruit and vegetable received is the fruit and vegetable selected at the time of purchase, ensuring that the fruits and vegetables are distributed at the merchant. The goods will not be exchanged during transportation and transportation, so that the quality of fruits and vegetables is guaranteed during purchase and transportation. The uniqueness of fruits and vegetables can be directly observed by the human eye when the shape or color of fruits and vegetables is very different; however, when the shape and color are not very different, it is necessary to analyze the image of the fruit and vegetable, preferably, in the image. The "fixed reference" (ie, the invariant reference) is used to distinguish, for example, using the first photo and the second photo's alignment mark. The uniqueness of the fruit and vegetable is verified by taking photos of the received fruits and vegetables and comparing the generated photos with the photos of the designated fruits and vegetables received.
在上述技术方案中,优选地,计算机程序被处理器执行时,在将第一照片和第二照片进行比较之前,还实现了:调整第二照片的大小,直至第二照片中的固定参照物(例如定位标记)与第一照片中的固定参照物(例如定位标记)大小相同为止。In the above technical solution, preferably, when the computer program is executed by the processor, before comparing the first photo and the second photo, further realizing: adjusting the size of the second photo until the fixed reference object in the second photo (eg, a positioning mark) is the same size as a fixed reference (eg, a positioning mark) in the first photo.
在该技术方案中,每个指定果蔬均具有定位标记,无论果蔬在购买过程中发生什么变化,比如邮寄时发生混淆,或运输中被恶意调换,定位标记在果蔬中的大小都是一样的。通过调整第二照片的大小,其上定位标记的大小随之发生变化,当第二照片中的定位标记与第一照片中的定位标记 大小相同时,停止调整,使定位标记作为判断果蔬唯一性的前提条件,在此基础之上,再对比两张照片,来验证收到的果蔬是否具备唯一性,从而确保消费者通过网络,如现实购物一样购买到自己挑选的果蔬。In this technical solution, each designated fruit and vegetable has a positioning mark, no matter what changes occur in the purchase process of the fruit and vegetable, such as confusion during mailing, or maliciously exchanged during transportation, the positioning mark is the same in the fruit and vegetable. By adjusting the size of the second photo, the size of the positioning mark thereon changes accordingly, when the positioning mark in the second photo and the positioning mark in the first photo When the size is the same, stop the adjustment so that the positioning mark is used as a precondition for judging the uniqueness of the fruit and vegetables. On this basis, compare the two photos to verify whether the received fruits and vegetables are unique, thus ensuring consumers through the network, such as Buying the fruits and vegetables you picked yourself in the same way as real shopping.
其中,本领域技术人员应该理解,在拍摄第一照片和第二照片时,可以选择摄像头正对定位标记进行拍摄。同时,为保证比较的准确性,最好采用拍摄像素相同的拍摄机器进行拍照比较,更优选地,可以选择正对定位标记且相距一样的高度进行拍摄。Among them, those skilled in the art should understand that when taking the first photo and the second photo, the camera can be selected to take the positioning mark. At the same time, in order to ensure the accuracy of the comparison, it is preferable to perform photographing comparison using the photographing machine with the same photographing pixels. More preferably, it is possible to select the photographing at the same height as the positioning marks.
固定参照物调整至相同大小之后,优选地,将第一照片和第二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性的具体步骤,包括:选取第一照片和第二照片中对应坐标位置的第一图像和第二图像;获取并计算第一图像的像素值和第二图像的像素值的差值;判断差值是否大于预设阈值;当差值大于预设阈值时,则判定指定果蔬不具备唯一性;当差值小于等于预设阈值时,还包括:提取第一照片的第一轮廓图像和第二照片的第二轮廓图像;判断第一轮廓图像和第二轮廓图像是否重合;当第一轮廓图像和第二轮廓图像重合时,则判定指定果蔬具备唯一性。After the fixed reference object is adjusted to the same size, preferably, the first photo and the second photo are compared, and the specific step of determining whether the specified fruit and vegetable has uniqueness according to the comparison result comprises: selecting corresponding coordinates in the first photo and the second photo a first image and a second image of the location; acquiring and calculating a difference between the pixel value of the first image and the pixel value of the second image; determining whether the difference is greater than a preset threshold; and determining, when the difference is greater than a preset threshold, determining The specified fruit and vegetable are not unique; when the difference is less than or equal to the preset threshold, the method further includes: extracting the first contour image of the first photo and the second contour image of the second photo; determining whether the first contour image and the second contour image are Coincident; when the first contour image and the second contour image coincide, it is determined that the designated fruit and vegetable are unique.
在该技术方案中,通过显色区分,随机选取第一照片和第二照片中对应坐标位置处的第一图像和第二图像,获取并计算第一图像和第二图像对应的像素值之差,若差值大于预设阈值时,则认为收到的果蔬和指定的果蔬颜色不同,不是同一个果蔬,也就是该指定果蔬不具备唯一性。若差值小于等于预设阈值时,则认为收到的果蔬和指定的果蔬颜色相同,进入下一步的轮廓判断,分别提取第一照片和第二照片的轮廓图像,对比轮廓边缘,如果轮廓重合,则说明为同一个果蔬。优选地,轮廓重合的判断方法是通过第一轮廓图像减第二轮廓图像对应坐标位置的像素值,相减后结果若都接近或者等于0,则认为轮廓重合,也就是该指定果蔬具备唯一性,此时,可以完成购物。In the technical solution, the first image and the second image at the corresponding coordinate positions in the first photo and the second photo are randomly selected by color discrimination, and the difference between the pixel values corresponding to the first image and the second image is obtained and calculated. If the difference is greater than the preset threshold, it is considered that the received fruits and vegetables are different in color from the designated fruits and vegetables, not the same fruit and vegetable, that is, the designated fruits and vegetables are not unique. If the difference is less than or equal to the preset threshold, it is considered that the received fruits and vegetables are the same color as the designated fruits and vegetables, and the contour of the next photo is determined, and the contour images of the first photo and the second photo are respectively extracted, and the contour edges are compared, if the contours coincide , it means the same fruit and vegetable. Preferably, the method for determining the contour coincidence is to subtract the pixel value of the corresponding coordinate position of the second contour image by the first contour image, and if the subtracted result is close to or equal to 0, the contour is considered to be coincident, that is, the designated fruit and vegetable are unique. At this point, you can complete the shopping.
在上述任一技术方案中,优选地,计算机程序被处理器执行时,还实现了:记录第一照片和第二照片的图像信息,图像信息包括颜色、形状、定位标记的大小。In any of the above technical solutions, preferably, when the computer program is executed by the processor, the image information of the first photo and the second photo is recorded, and the image information includes a color, a shape, and a size of the positioning mark.
在该技术方案中,通过记录第一照片和第二照片的颜色、形状、定位 标记的大小等信息,可以直观的对比两者的区别。具体的,在验证指定果蔬的唯一性时,可以实时的记录并显示所选取的坐标位置处的图像信息,不仅增加趣味性,而且使得对比更加直观。In this technical solution, by recording the color, shape, and positioning of the first photo and the second photo Information such as the size of the mark can be used to visually compare the difference between the two. Specifically, when verifying the uniqueness of the designated fruit and vegetable, the image information at the selected coordinate position can be recorded and displayed in real time, which not only increases the interest but also makes the comparison more intuitive.
根据本发明的第六个目的,提出了一种具有与远程监控相关的应用软件的终端,包括:处理器、存储器、输入装置和输出装置,其中,处理器通过调用存储器中存储的操作指令,用于执行如下操作:根据果蔬照片选择指定果蔬,指定果蔬具有定位标记;在订单生成后,接收指定果蔬的第一照片;在确认收货后,获取指定果蔬的第二照片;将第一照片和第二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性;当指定果蔬具备唯一性时,完成购物。According to a sixth object of the present invention, a terminal having application software related to remote monitoring is provided, comprising: a processor, a memory, an input device, and an output device, wherein the processor calls an operation instruction stored in the memory, For performing the following operations: selecting a fruit and vegetable according to the photo of the fruit and vegetable, specifying the fruit and vegetable to have a positioning mark; receiving the first photo of the designated fruit and vegetable after the order is generated; obtaining the second photo of the designated fruit and vegetable after confirming the receipt; Comparing with the second photo, judging whether the designated fruit and vegetable is unique according to the comparison result; when the designated fruit and vegetable is unique, the shopping is completed.
根据本发明的具有与远程监控相关的应用软件的终端,使消费者通过网络,如现实购物一样购买到自己挑选的果蔬,保证了果蔬在购买过程中的质量,并且操作简单、实用,有效提升了网络购物体验。The terminal with the application software related to the remote monitoring according to the present invention enables the consumer to purchase the fruits and vegetables selected by the user through the network, such as the actual shopping, to ensure the quality of the fruits and vegetables in the purchase process, and the operation is simple, practical and effective. The online shopping experience.
在上述技术方案中,优选地,处理器通过调用存储器中存储的操作指令,在将所述第一照片和所述第二照片进行比较之前,还用于执行:调整第二照片的大小,直至第二照片中的固定参照物(例如定位标记)与第一照片中的固定参照物(例如定位标记)大小相同为止。In the above technical solution, preferably, the processor is further configured to: adjust the size of the second photo until the first photo and the second photo are compared by calling an operation instruction stored in the memory; The fixed reference (eg, the locating indicia) in the second photo is the same size as the fixed reference (eg, locating indicia) in the first photo.
在该技术方案中,每个指定果蔬均具有定位标记,无论果蔬在购买过程中发生什么变化,比如邮寄时发生混淆,或运输中被恶意调换,定位标记在果蔬中的大小都是一样的。通过调整第二照片的大小,其上定位标记的大小随之发生变化,当第二照片中的定位标记与第一照片中的定位标记大小相同时,停止调整,使定位标记作为判断果蔬唯一性的前提条件,在此基础之上,再对比两张照片,来验证收到的果蔬是否具备唯一性,从而确保消费者通过网络,如现实购物一样购买到自己挑选的果蔬。In this technical solution, each designated fruit and vegetable has a positioning mark, no matter what changes occur in the purchase process of the fruit and vegetable, such as confusion during mailing, or maliciously exchanged during transportation, the positioning mark is the same in the fruit and vegetable. By adjusting the size of the second photo, the size of the positioning mark thereon changes accordingly. When the positioning mark in the second photo is the same size as the positioning mark in the first photo, the adjustment is stopped, so that the positioning mark is used as the uniqueness of the fruit and vegetable. Prerequisites, based on this, compare two photos to verify the uniqueness of the fruits and vegetables received, so as to ensure that consumers buy their own fruits and vegetables through the Internet, such as real shopping.
其中,本领域技术人员应该理解,在拍摄第一照片和第二照片时,可以选择摄像头正对定位标记进行拍摄。同时,为保证比较的准确性,最好采用拍摄像素相同的拍摄机器进行拍照比较,更优选地,可以选择正对定位标记且相距一样的高度进行拍摄。Among them, those skilled in the art should understand that when taking the first photo and the second photo, the camera can be selected to take the positioning mark. At the same time, in order to ensure the accuracy of the comparison, it is preferable to perform photographing comparison using the photographing machine with the same photographing pixels. More preferably, it is possible to select the photographing at the same height as the positioning marks.
固定参照物调整至相同大小之后,优选地,将第一照片和第二照片进 行比较,根据比较结果判断指定果蔬是否具备唯一性的具体步骤,包括:选取第一照片和第二照片中对应坐标位置的第一图像和第二图像;获取并计算第一图像的像素值和第二图像的像素值的差值;判断差值是否大于预设阈值;当差值大于预设阈值时,则判定指定果蔬不具备唯一性;当差值小于等于预设阈值时,还包括:提取第一照片的第一轮廓图像和第二照片的第二轮廓图像;判断第一轮廓图像和第二轮廓图像是否重合;当第一轮廓图像和第二轮廓图像重合时,则判定指定果蔬具备唯一性。After the fixed reference is adjusted to the same size, preferably, the first photo and the second photo are Comparing the lines, determining, according to the comparison result, a specific step of determining whether the specified fruit and vegetable has uniqueness, comprising: selecting the first image and the second image of the corresponding coordinate position in the first photo and the second photo; acquiring and calculating the pixel value of the first image and The difference between the pixel values of the second image; determining whether the difference is greater than a preset threshold; determining that the specified fruit and vegetable does not have uniqueness when the difference is greater than the preset threshold; and when the difference is less than or equal to the preset threshold, the method further includes: Extracting a first contour image of the first photo and a second contour image of the second photo; determining whether the first contour image and the second contour image are coincident; and when the first contour image and the second contour image are coincident, determining that the designated fruit and vegetable have Uniqueness.
在该技术方案中,通过显色区分,随机选取第一照片和第二照片中对应坐标位置处的第一图像和第二图像,获取并计算第一图像和第二图像对应的像素值之差,若差值大于预设阈值时,则认为收到的果蔬和指定的果蔬颜色不同,不是同一个果蔬,也就是该指定果蔬不具备唯一性。若差值小于等于预设阈值时,则认为收到的果蔬和指定的果蔬颜色相同,进入下一步的轮廓判断,分别提取第一照片和第二照片的轮廓图像,对比轮廓边缘,如果轮廓重合,则说明为同一个果蔬。优选地,轮廓重合的判断方法是通过第一轮廓图像减第二轮廓图像对应坐标位置的像素值,相减后结果若都接近或者等于0,则认为轮廓重合,也就是该指定果蔬具备唯一性,此时,可以完成购物。In the technical solution, the first image and the second image at the corresponding coordinate positions in the first photo and the second photo are randomly selected by color discrimination, and the difference between the pixel values corresponding to the first image and the second image is obtained and calculated. If the difference is greater than the preset threshold, it is considered that the received fruits and vegetables are different in color from the designated fruits and vegetables, not the same fruit and vegetable, that is, the designated fruits and vegetables are not unique. If the difference is less than or equal to the preset threshold, it is considered that the received fruits and vegetables are the same color as the designated fruits and vegetables, and the contour of the next photo is determined, and the contour images of the first photo and the second photo are respectively extracted, and the contour edges are compared, if the contours coincide , it means the same fruit and vegetable. Preferably, the method for determining the contour coincidence is to subtract the pixel value of the corresponding coordinate position of the second contour image by the first contour image, and if the subtracted result is close to or equal to 0, the contour is considered to be coincident, that is, the designated fruit and vegetable are unique. At this point, you can complete the shopping.
在上述任一技术方案中,优选地,处理器通过调用存储器中存储的操作指令,还用于执行:记录第一照片和第二照片的图像信息,图像信息包括颜色、形状、定位标记的大小。In any one of the above technical solutions, preferably, the processor is further configured to: perform image information of the first photo and the second photo by using an operation instruction stored in the memory, where the image information includes a color, a shape, and a size of the positioning mark. .
在该技术方案中,通过记录第一照片和第二照片的颜色、形状、定位标记的大小等信息,可以直观的对比两者的区别。具体的,在验证指定果蔬的唯一性时,可以实时的记录并显示所选取的坐标位置处的图像信息,不仅增加趣味性,而且使得对比更加直观。In this technical solution, by recording information such as the color, shape, size of the positioning mark, and the like of the first photo and the second photo, the difference between the two can be intuitively compared. Specifically, when verifying the uniqueness of the designated fruit and vegetable, the image information at the selected coordinate position can be recorded and displayed in real time, which not only increases the interest but also makes the comparison more intuitive.
在上述任一技术方案中,优选地,还包括:记录第一照片和第二照片的图像信息,图像信息包括颜色、形状、定位标记的大小。In any of the above technical solutions, preferably, the method further includes: recording image information of the first photo and the second photo, the image information including a color, a shape, and a size of the positioning mark.
在该技术方案中,通过记录第一照片和第二照片的颜色、形状、定位标记的大小等信息,可以直观的对比两者的区别。具体的,在验证指定果蔬的唯一性时,可以实时的记录并显示所选取的坐标位置处的图像信息, 不仅增加趣味性,而且使得对比更加直观。In this technical solution, by recording information such as the color, shape, size of the positioning mark, and the like of the first photo and the second photo, the difference between the two can be intuitively compared. Specifically, when verifying the uniqueness of the designated fruit and vegetable, the image information at the selected coordinate position can be recorded and displayed in real time. Not only increases the fun, but also makes the comparison more intuitive.
本发明的附加方面和优点将在下面的描述部分中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be apparent from the description of the invention.
附图说明DRAWINGS
本发明的上述和/或附加的方面和优点从结合下面附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from
图1示出了根据本发明的一个实施例的购买指定果蔬的方法的流程示意图;1 is a flow chart showing a method of purchasing a designated fruit and vegetable according to an embodiment of the present invention;
图2示出了根据本发明的另一个实施例的购买指定果蔬的方法的流程示意图;2 is a flow chart showing a method of purchasing a designated fruit and vegetable according to another embodiment of the present invention;
图3示出了根据本发明的再一个实施例的购买指定果蔬的方法的流程示意图;3 is a flow chart showing a method of purchasing a designated fruit and vegetable according to still another embodiment of the present invention;
图4示出了根据本发明的一个实施例的购买指定果蔬的系统的示意框图;4 shows a schematic block diagram of a system for purchasing designated fruits and vegetables in accordance with one embodiment of the present invention;
图5示出了根据本发明的另一个实施例的购买指定果蔬的系统的示意框图;Figure 5 shows a schematic block diagram of a system for purchasing designated fruits and vegetables in accordance with another embodiment of the present invention;
图6示出了根据本发明的再一个实施例的购买指定果蔬的系统的示意框图;6 shows a schematic block diagram of a system for purchasing a designated fruit and vegetable according to still another embodiment of the present invention;
图7示出了根据本发明的又一个实施例的购买指定果蔬的系统的示意框图;Figure 7 shows a schematic block diagram of a system for purchasing designated fruits and vegetables in accordance with yet another embodiment of the present invention;
图8示出了根据本发明的第五个实施例的购买指定果蔬的系统的示意框图;Figure 8 is a schematic block diagram showing a system for purchasing a designated fruit and vegetable according to a fifth embodiment of the present invention;
图9示出了根据本发明的一个实施例的终端的示意框图;Figure 9 shows a schematic block diagram of a terminal in accordance with one embodiment of the present invention;
图10示出了根据本发明的一个实施例的计算机设备的结构示意图;FIG. 10 is a block diagram showing the structure of a computer device according to an embodiment of the present invention; FIG.
图11示出了根据本发明的一个实施例的具有与电商购物相关的应用软件的终端的结构示意图;FIG. 11 is a block diagram showing the structure of a terminal having application software related to e-commerce shopping according to an embodiment of the present invention; FIG.
图12a示出了根据本发明的一个具体实施例的购买指定果蔬的方法的流程示意图; Figure 12a is a flow chart showing a method of purchasing a designated fruit and vegetable according to an embodiment of the present invention;
图12b示出了根据本发明的一个具体实施例的苹果的第一轮廓图像;Figure 12b illustrates a first contour image of an apple in accordance with an embodiment of the present invention;
图12c示出了根据本发明的一个具体实施例的苹果的第二轮廓图像。Figure 12c shows a second contour image of an apple in accordance with an embodiment of the present invention.
具体实施方式detailed description
为了能够更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。The present invention will be further described in detail below with reference to the drawings and specific embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明的保护范围并不受下面公开的具体实施例的限制。In the following description, numerous specific details are set forth in order to provide a full understanding of the invention, but the invention may be practiced otherwise than as described herein. Limitations of the embodiments.
如图1所示,根据本发明的一个实施例的购买指定果蔬的方法的流程示意图。其中,该方法包括:As shown in FIG. 1, a schematic flow chart of a method of purchasing a designated fruit and vegetable according to an embodiment of the present invention. Wherein the method comprises:
步骤102,根据果蔬照片选择指定果蔬,指定果蔬具有定位标记; Step 102, selecting a fruit and vegetable according to the photo of the fruit and vegetable, and designating the fruit and vegetable to have a positioning mark;
步骤104,在订单生成后,接收指定果蔬的第一照片; Step 104, after the order is generated, receiving a first photo of the designated fruit and vegetable;
步骤106,在确认收货后,获取指定果蔬的第二照片;Step 106, after confirming the receipt, obtaining a second photo of the designated fruit and vegetable;
步骤108,将第一照片和第二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性;Step 108: comparing the first photo with the second photo, and determining, according to the comparison result, whether the designated fruit and vegetable are unique;
步骤110,当指定果蔬具备唯一性时,完成购物; Step 110, when the designated fruits and vegetables are unique, the shopping is completed;
步骤112,当指定果蔬不具备唯一性时,办理退换货。In step 112, when the designated fruit and vegetable does not have uniqueness, the return is exchanged.
具体地,所述果蔬包括水果和蔬菜,优选有稳定轮廓和外形的果蔬,以保证方法的准确性,例如苹果、西红柿、黄瓜等。根据本发明的购买指定果蔬的方法,通过接收指定果蔬的第一照片,及获取指定果蔬的第二照片,并将第一照片与第二照片进行对比,来验证指定果蔬是否具备唯一性,当指定果蔬具备唯一性时,说明消费者收到的果蔬就是在网上所挑选的指定果蔬,此时可以完成购物;当指定果蔬不具备唯一性时,说明消费者收到的果蔬并非在网上所挑选的指定果蔬,此时可以联系商家办理退换货。从而使消费者通过网络,如现实购物一样购买到自己挑选的果蔬,保证了果蔬在购买过程中的质量,并且操作简单、实用,有效提升了网络购物体验。 Specifically, the fruits and vegetables include fruits and vegetables, preferably fruits and vegetables having a stable contour and shape to ensure the accuracy of the method, such as apples, tomatoes, cucumbers, and the like. The method for purchasing a designated fruit and vegetable according to the present invention, by receiving a first photo of the designated fruit and vegetable, and obtaining a second photo of the designated fruit and vegetable, and comparing the first photo with the second photo to verify whether the designated fruit and vegetable are unique, When the designated fruits and vegetables are unique, the fruits and vegetables received by the consumers are the designated fruits and vegetables selected on the Internet, and the shopping can be completed at this time; when the designated fruits and vegetables are not unique, the fruits and vegetables received by the consumers are not selected online. The designated fruits and vegetables, at this time you can contact the merchant to handle the return. So that consumers can purchase the fruits and vegetables they choose through the network, such as real shopping, to ensure the quality of the fruits and vegetables in the purchase process, and the operation is simple and practical, effectively improving the online shopping experience.
具体的,商家把所有果蔬照片都放到网上,供消费者选择,并根据果蔬规格的不同,对每个或每类果蔬指定价格;消费者在购买时,挑选指定的果蔬,生成订单后,所指定的果蔬的照片会发送给消费者;在消费者收到果蔬后,利用每个果蔬的唯一性,确定收到的每一个果蔬就是购买时所选定的那个果蔬,保证果蔬在商家发货时和运输途中不会被调换,使果蔬的质量在购买和运输过程中得到保证。其中果蔬的唯一性,在果蔬形状或者颜色差别很大的时候,可以用人眼直接观察出来;但是在形状和颜色都差别不是很大时,就需要对果蔬图像进行分析,优选地,利用图像中的“固定参照物”(即不变参照物)来进行区分,例如利用第一照片和第二照片的定位标记进行比较。通过对收到的果蔬进行拍照,并将生成的照片与接收的指定的果蔬的照片进行对比,验证果蔬的唯一性。Specifically, the merchant puts all the photos of fruits and vegetables on the Internet for consumers to choose, and specifies the price for each type of fruit and vegetables according to the different specifications of fruits and vegetables; when the consumer selects the designated fruits and vegetables at the time of purchase, after the order is generated, The photos of the designated fruits and vegetables will be sent to the consumers; after the consumers receive the fruits and vegetables, using the uniqueness of each fruit and vegetable, it is determined that each fruit and vegetable received is the fruit and vegetable selected at the time of purchase, ensuring that the fruits and vegetables are distributed at the merchant. The goods will not be exchanged during transportation and transportation, so that the quality of fruits and vegetables is guaranteed during purchase and transportation. The uniqueness of fruits and vegetables can be directly observed by the human eye when the shape or color of fruits and vegetables is very different; however, when the shape and color are not very different, it is necessary to analyze the image of the fruit and vegetable, preferably, in the image. The "fixed reference" (ie, the invariant reference) is used to distinguish, for example, using the first photo and the second photo's alignment mark. The uniqueness of the fruit and vegetable is verified by taking photos of the received fruits and vegetables and comparing the generated photos with the photos of the designated fruits and vegetables received.
如图2所示,根据本发明的另一个实施例的购买指定果蔬的方法的流程示意图。其中,该方法包括:2 is a schematic flow chart of a method of purchasing a designated fruit and vegetable according to another embodiment of the present invention. Wherein the method comprises:
步骤202,根据果蔬照片选择指定果蔬,指定果蔬具有定位标记; Step 202, selecting a fruit and vegetable according to the photo of the fruit and vegetable, and designating the fruit and vegetable to have a positioning mark;
步骤204,在订单生成后,接收指定果蔬的第一照片; Step 204, after the order is generated, receiving a first photo of the designated fruit and vegetable;
步骤206,在确认收货后,获取指定果蔬的第二照片; Step 206, after confirming the receipt, obtaining a second photo of the designated fruit and vegetable;
步骤208,调整第二照片的大小,直至第二照片中的定位标记与第一照片中的定位标记大小相同为止; Step 208, adjusting the size of the second photo until the positioning mark in the second photo is the same size as the positioning mark in the first photo;
步骤210,将第一照片和第二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性;Step 210: comparing the first photo with the second photo, and determining, according to the comparison result, whether the designated fruit and vegetable are unique;
步骤212,当指定果蔬具备唯一性时,完成购物。In step 212, when the designated fruits and vegetables are unique, the shopping is completed.
在该实施例中,每个指定果蔬均具有定位标记,无论果蔬在购买过程中发生什么变化,比如邮寄时发生混淆,或运输中被恶意调换,定位标记在果蔬中的大小都是一样的。通过调整第二照片的大小,其上定位标记的大小随之发生变化,当第二照片中的定位标记与第一照片中的定位标记大小相同时,停止调整,使定位标记作为判断果蔬唯一性的前提条件,在此基础之上,再对比两张照片,来验证收到的果蔬是否具备唯一性,对于比对的方式方法,可以进一步采用以下方案进行进一步判断确认,从而确保消费者通过网络,如现实购物一样购买到自己挑选的果蔬。 In this embodiment, each of the designated fruits and vegetables has a positioning mark, and the size of the positioning marks in the fruits and vegetables is the same regardless of any changes in the fruits and vegetables during the purchase process, such as confusion during mailing or malicious exchange during transportation. By adjusting the size of the second photo, the size of the positioning mark thereon changes accordingly. When the positioning mark in the second photo is the same size as the positioning mark in the first photo, the adjustment is stopped, so that the positioning mark is used as the uniqueness of the fruit and vegetable. Prerequisites, based on this, compare the two photos to verify whether the received fruits and vegetables are unique. For the comparison method, the following schemes can be further used to further confirm and confirm, so as to ensure consumers through the network. , as in real shopping, buy the fruits and vegetables you have chosen.
其中,在拍摄第一照片和第二照片时,摄像头正对定位标记进行拍摄。同时,为保证比较的准确性,采用拍摄像素相同的拍摄机器进行拍照比较且在正对定位标记间距一样的高度进行拍摄。Among them, when taking the first photo and the second photo, the camera is shooting the positioning mark. At the same time, in order to ensure the accuracy of the comparison, the photographing machine with the same shooting pixels is used for photographing comparison and shooting at the same height as the positioning mark.
如图3所示,根据本发明的再一个实施例的购买指定果蔬的方法的流程示意图。其中,该方法包括:As shown in FIG. 3, a schematic flow chart of a method of purchasing a designated fruit and vegetable according to still another embodiment of the present invention. Wherein the method comprises:
步骤302,根据果蔬照片选择指定果蔬,指定果蔬具有定位标记; Step 302, selecting a fruit and vegetable according to the photo of the fruit and vegetable, and designating the fruit and vegetable to have a positioning mark;
步骤304,在订单生成后,接收指定果蔬的第一照片; Step 304, after the order is generated, receiving a first photo of the designated fruit and vegetable;
步骤306,在确认收货后,获取指定果蔬的第二照片; Step 306, after confirming the receipt, obtaining a second photo of the designated fruit and vegetable;
步骤308,调整第二照片的大小,直至第二照片中的定位标记与第一照片中的定位标记大小相同为止; Step 308, adjusting the size of the second photo until the positioning mark in the second photo is the same size as the positioning mark in the first photo;
步骤310,选取第一照片和第二照片中对应坐标位置的第一图像和第二图像;Step 310: Select a first image and a second image of corresponding coordinate positions in the first photo and the second photo;
步骤312,获取并计算第一图像的像素值和第二图像的像素值的差值;Step 312: Acquire and calculate a difference between a pixel value of the first image and a pixel value of the second image;
步骤314,判断差值是否大于预设阈值; Step 314, determining whether the difference is greater than a preset threshold;
步骤316,当差值大于预设阈值时,则判定指定果蔬不具备唯一性; Step 316, when the difference is greater than a preset threshold, determining that the designated fruit and vegetable are not unique;
步骤318,当差值小于等于预设阈值时,提取第一照片的第一轮廓图像和第二照片的第二轮廓图像; Step 318, when the difference is less than or equal to the preset threshold, extracting the first contour image of the first photo and the second contour image of the second photo;
步骤320,判断第一轮廓图像和第二轮廓图像是否重合; Step 320, determining whether the first contour image and the second contour image are coincident;
步骤322,当第一轮廓图像和第二轮廓图像重合时,则判定指定果蔬具备唯一性;若判定结果为不重合,则返回执行步骤316。In step 322, when the first contour image and the second contour image are coincident, it is determined that the designated fruit and vegetable are unique; if the determination result is not coincident, the process returns to step 316.
在该实施例中,通过显色区分,随机选取第一照片和第二照片中对应坐标位置处的第一图像和第二图像,获取并计算第一图像和第二图像对应的像素值之差,若差值大于预设阈值时,则认为收到的果蔬和指定的果蔬颜色不同,不是同一个果蔬,也就是该指定果蔬不具备唯一性。若差值小于等于预设阈值时,则认为收到的果蔬和指定的果蔬颜色相同,进入下一步的轮廓判断,分别提取第一照片和第二照片的轮廓图像,对比轮廓边缘,如果轮廓重合,则说明为同一个果蔬。优选地,轮廓重合的判断方法是通过第一轮廓图像减第二轮廓图像对应坐标位置的像素值,相减后结果若都接近或者等于0,则认为轮廓重合,也就是该指定果蔬具备唯一性,此时,可以完成购 物。In this embodiment, the first image and the second image at the corresponding coordinate positions in the first photo and the second photo are randomly selected by color discrimination, and the difference between the pixel values corresponding to the first image and the second image is obtained and calculated. If the difference is greater than the preset threshold, it is considered that the received fruits and vegetables are different in color from the designated fruits and vegetables, not the same fruit and vegetable, that is, the designated fruits and vegetables are not unique. If the difference is less than or equal to the preset threshold, it is considered that the received fruits and vegetables are the same color as the designated fruits and vegetables, and the contour of the next photo is determined, and the contour images of the first photo and the second photo are respectively extracted, and the contour edges are compared, if the contours coincide , it means the same fruit and vegetable. Preferably, the method for determining the contour coincidence is to subtract the pixel value of the corresponding coordinate position of the second contour image by the first contour image, and if the subtracted result is close to or equal to 0, the contour is considered to be coincident, that is, the designated fruit and vegetable are unique. At this time, you can complete the purchase. Things.
在上述任一实施例中,优选地,预设阈值的范围为0至10。In any of the above embodiments, preferably, the preset threshold ranges from 0 to 10.
在该实施例中,预设阈值的范围为0至10,但不限于此。可以理解的是,预设阈值的取值越小,对于果蔬的唯一性判断会越精准。In this embodiment, the preset threshold ranges from 0 to 10, but is not limited thereto. It can be understood that the smaller the value of the preset threshold, the more accurate the uniqueness of the fruit and vegetable will be judged.
在上述任一实施例中,优选地,还包括:记录第一照片和第二照片的图像信息,图像信息包括颜色、形状、定位标记的大小。In any of the above embodiments, preferably, the method further includes: recording image information of the first photo and the second photo, the image information including a color, a shape, and a size of the positioning mark.
在该实施例中,通过记录第一照片和第二照片的颜色、形状、定位标记的大小等信息,可以直观的对比两者的区别。具体的,在验证指定果蔬的唯一性时,可以实时的记录并显示所选取的坐标位置处的图像信息,不仅增加趣味性,而且使得对比更加直观。In this embodiment, by recording information such as the color, shape, size of the positioning mark, and the like of the first photo and the second photo, the difference between the two can be intuitively compared. Specifically, when verifying the uniqueness of the designated fruit and vegetable, the image information at the selected coordinate position can be recorded and displayed in real time, which not only increases the interest but also makes the comparison more intuitive.
在上述任一实施例中,优选地,定位标记包括以下至少一种或其组合:果蔬标签、二维码、条形码、PLU码(Price look-up codes,价格查找代码)。In any of the above embodiments, preferably, the positioning mark comprises at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, a price look-up codes (price look-up codes).
在该实施例中,定位标记包括但不限于以下至少一种或其组合:果蔬标签、二维码、条形码、PLU码。果蔬上附加的定位标记不仅具有溯源的功能,由于其在果蔬上的大小是不变的,因此还能通过定位标记,对果蔬的唯一性进行验证,从而判断出收到的果蔬与指定的果蔬是否一致。In this embodiment, the positioning marks include, but are not limited to, at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, a PLU code. The additional positioning marks on fruits and vegetables not only have the function of traceability, but because of the constant size of the fruits and vegetables, the uniqueness of the fruits and vegetables can be verified by the positioning marks, thereby judging the fruits and vegetables received and the designated fruits and vegetables. Is it consistent?
如图4所示,根据本发明的一个实施例的购买指定果蔬的系统的示意框图。其中,该系统400包括:As shown in Figure 4, a schematic block diagram of a system for purchasing designated fruits and vegetables in accordance with one embodiment of the present invention. Wherein, the system 400 includes:
选择单元402,用于根据果蔬照片选择指定果蔬,指定果蔬具有定位标记;The selecting unit 402 is configured to select a fruit and vegetable according to the fruit and vegetable photo selection, and the designated fruit and vegetable have a positioning mark;
接收单元404,用于在订单生成后,接收指定果蔬的第一照片;The receiving unit 404 is configured to receive a first photo of the designated fruit and vegetable after the order is generated;
获取单元406,用于在确认收货后,获取指定果蔬的第二照片;The obtaining unit 406 is configured to obtain a second photo of the designated fruit and vegetable after confirming the receipt of the goods;
验证单元408,用于将第一照片和第二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性;当指定果蔬具备唯一性时,完成购物。The verification unit 408 is configured to compare the first photo with the second photo, determine whether the designated fruit and vegetable is unique according to the comparison result, and complete the shopping when the designated fruit and vegetable are unique.
根据本发明的购买指定果蔬的系统400,通过接收指定果蔬的第一照片,及获取指定果蔬的第二照片,并将第一照片与第二照片进行对比,来验证指定果蔬是否具备唯一性,当指定果蔬具备唯一性时,说明消费者收到的果蔬就是在网上所挑选的指定果蔬,此时可以完成购物;当指定果蔬不具备唯一性时,说明消费者收到的果蔬并非在网上所挑选的指定果蔬, 此时可以联系商家办理退换货。从而使消费者通过网络,如现实购物一样购买到自己挑选的果蔬,保证了果蔬在购买过程中的质量,并且操作简单、实用,有效提升了网络购物体验。The system 400 for purchasing a designated fruit and vegetable according to the present invention verifies whether the designated fruit and vegetable are unique by receiving a first photo of the designated fruit and vegetable, and obtaining a second photo of the designated fruit and vegetable, and comparing the first photo with the second photo. When the designated fruits and vegetables are unique, it means that the fruits and vegetables received by the consumers are the designated fruits and vegetables selected on the Internet, and the shopping can be completed at this time; when the designated fruits and vegetables are not unique, the fruits and vegetables received by the consumers are not online. Selected fruits and vegetables, At this point, you can contact the merchant to process the return. So that consumers can purchase the fruits and vegetables they choose through the network, such as real shopping, to ensure the quality of the fruits and vegetables in the purchase process, and the operation is simple and practical, effectively improving the online shopping experience.
具体的,商家把所有果蔬照片都放到网上,供消费者选择,并根据果蔬规格的不同,对每个或每类果蔬指定价格;消费者在购买时,挑选指定的果蔬,生成订单后,所指定的果蔬的照片会发送给消费者;在消费者收到果蔬后,利用每个果蔬的唯一性,确定收到的每一个果蔬就是购买时所选定的那个果蔬,保证果蔬在商家发货时和运输途中不会被调换,使果蔬的质量在购买和运输过程中得到保证。其中果蔬的唯一性,在果蔬形状或者颜色差别很大的时候,可以用人眼直接观察出来;但是在形状和颜色都差别不是很大时,就需要对果蔬图像进行分析,优选地,利用图像中的“固定参照物”(即不变参照物)来进行区分,例如利用第一照片和第二照片的定位标记进行比较。通过对收到的果蔬进行拍照,并将生成的照片与接收的指定的果蔬的照片进行对比,验证果蔬的唯一性,即选择固定参照物,确定坐标原点,实现两张照片相同坐标位置之间的大小、形状和颜色的比对,具体可以采用如下步骤实现。Specifically, the merchant puts all the photos of fruits and vegetables on the Internet for consumers to choose, and specifies the price for each type of fruit and vegetables according to the different specifications of fruits and vegetables; when the consumer selects the designated fruits and vegetables at the time of purchase, after the order is generated, The photos of the designated fruits and vegetables will be sent to the consumers; after the consumers receive the fruits and vegetables, using the uniqueness of each fruit and vegetable, it is determined that each fruit and vegetable received is the fruit and vegetable selected at the time of purchase, ensuring that the fruits and vegetables are distributed at the merchant. The goods will not be exchanged during transportation and transportation, so that the quality of fruits and vegetables is guaranteed during purchase and transportation. The uniqueness of fruits and vegetables can be directly observed by the human eye when the shape or color of fruits and vegetables is very different; however, when the shape and color are not very different, it is necessary to analyze the image of the fruit and vegetable, preferably, in the image. The "fixed reference" (ie, the invariant reference) is used to distinguish, for example, using the first photo and the second photo's alignment mark. By taking photos of the received fruits and vegetables, and comparing the generated photos with the photos of the designated fruits and vegetables received, the uniqueness of the fruits and vegetables is verified, that is, the fixed reference objects are selected, and the coordinate origin is determined to achieve the same coordinate position between the two photos. The size, shape and color of the alignment can be achieved by the following steps.
如图5所示,根据本发明的另一个实施例的购买指定果蔬的系统的示意框图。其中,该系统500包括:As shown in Figure 5, a schematic block diagram of a system for purchasing designated fruits and vegetables in accordance with another embodiment of the present invention. Wherein, the system 500 includes:
选择单元502,用于根据果蔬照片选择指定果蔬,指定果蔬具有定位标记;The selecting unit 502 is configured to select a fruit and vegetable according to the fruit and vegetable photo selection, and specify the fruit and vegetable to have a positioning mark;
接收单元504,用于在订单生成后,接收指定果蔬的第一照片;The receiving unit 504 is configured to receive a first photo of the designated fruit and vegetable after the order is generated;
获取单元506,用于在确认收货后,获取指定果蔬的第二照片;The obtaining unit 506 is configured to obtain a second photo of the designated fruit and vegetable after confirming the receipt of the goods;
验证单元508,用于将第一照片和第二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性;当指定果蔬具备唯一性时,完成购物;The verification unit 508 is configured to compare the first photo with the second photo, determine whether the designated fruit and vegetable is unique according to the comparison result, and complete the shopping when the designated fruit and vegetable are unique;
调整单元510,用于在将第一照片和第二照片进行比较之前,调整第二照片的大小,直至第二照片中的定位标记与第一照片中的定位标记大小相同为止。The adjusting unit 510 is configured to adjust the size of the second photo until the positioning mark in the second photo is the same size as the positioning mark in the first photo before comparing the first photo and the second photo.
在该实施例中,每个指定果蔬均具有定位标记,无论果蔬在购买过程中发生什么变化,比如邮寄时发生混淆,或运输中被恶意调换,定位标记 在果蔬中的大小都是一样的。通过调整第二照片的大小,其上定位标记的大小随之发生变化,当第二照片中的定位标记与第一照片中的定位标记大小相同时,停止调整,使定位标记作为判断果蔬唯一性的前提条件,在此基础之上,再对比两张照片,来验证收到的果蔬是否具备唯一性,若是能肉眼判断出形状、颜色或大小的不同,则确定不是自己所选择的果蔬,反之,采取以下步骤作进一步鉴别判断,从而确保消费者通过网络,如现实购物一样购买到自己挑选的果蔬。In this embodiment, each designated fruit and vegetable has a positioning mark, regardless of changes in the fruit and vegetable during the purchase process, such as confusion during mailing, or malicious exchange during transportation, positioning mark The size is the same in fruits and vegetables. By adjusting the size of the second photo, the size of the positioning mark thereon changes accordingly. When the positioning mark in the second photo is the same size as the positioning mark in the first photo, the adjustment is stopped, so that the positioning mark is used as the uniqueness of the fruit and vegetable. Prerequisites, based on this, compare the two photos to verify whether the received fruits and vegetables are unique. If the shape, color or size can be judged by the naked eye, then it is determined that it is not the fruit and vegetable of your choice. Take the following steps for further identification and judgment, so as to ensure that consumers purchase their own fruits and vegetables through the Internet, such as real shopping.
其中,在拍摄第一照片和第二照片时,摄像头正对定位标记进行拍摄。同时,为保证比较的准确性,采用拍摄像素相同的拍摄机器进行拍照比较且在正对定位标记间距一样的高度进行拍摄。Among them, when taking the first photo and the second photo, the camera is shooting the positioning mark. At the same time, in order to ensure the accuracy of the comparison, the photographing machine with the same shooting pixels is used for photographing comparison and shooting at the same height as the positioning mark.
如图6所示,根据本发明的再一个实施例的购买指定果蔬的系统的示意框图。其中,该系统600包括:As shown in Figure 6, a schematic block diagram of a system for purchasing designated fruits and vegetables in accordance with still another embodiment of the present invention. Wherein, the system 600 includes:
选择单元602,用于根据果蔬照片选择指定果蔬,指定果蔬具有定位标记;The selecting unit 602 is configured to select a fruit and vegetable according to the fruit and vegetable photo selection, and specify the fruit and vegetable to have a positioning mark;
接收单元604,用于在订单生成后,接收指定果蔬的第一照片;The receiving unit 604 is configured to receive a first photo of the designated fruit and vegetable after the order is generated;
获取单元606,用于在确认收货后,获取指定果蔬的第二照片;The obtaining unit 606 is configured to obtain a second photo of the designated fruit and vegetable after confirming the receipt;
验证单元608,用于将第一照片和第二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性;当指定果蔬具备唯一性时,完成购物;The verification unit 608 is configured to compare the first photo with the second photo, determine whether the designated fruit and vegetable is unique according to the comparison result, and complete the shopping when the designated fruit and vegetable are unique;
调整单元610,用于在将第一照片和第二照片进行比较之前,调整第二照片的大小,直至第二照片中的定位标记与第一照片中的定位标记大小相同为止;The adjusting unit 610 is configured to adjust the size of the second photo until the positioning mark in the second photo is the same size as the positioning mark in the first photo before comparing the first photo and the second photo;
其中,验证单元608包括:The verification unit 608 includes:
图像选取单元6082,用于选取第一照片和第二照片中对应坐标位置的第一图像和第二图像;The image selecting unit 6082 is configured to select the first image and the second image of the corresponding coordinate positions in the first photo and the second photo;
计算单元6084,用于获取并计算第一图像的像素值和第二图像的像素值的差值;The calculating unit 6084 is configured to acquire and calculate a difference between a pixel value of the first image and a pixel value of the second image;
第一判断单元6086,用于判断差值是否大于预设阈值;当差值大于预设阈值时,则判定指定果蔬不具备唯一性。The first determining unit 6086 is configured to determine whether the difference is greater than a preset threshold; when the difference is greater than the preset threshold, determining that the designated fruit and vegetable does not have uniqueness.
在该实施例中,通过显色区分,随机选取第一照片和第二照片中对应 坐标位置处的第一图像和第二图像,获取并计算第一图像和第二图像对应的像素值之差,若差值大于预设阈值时,则认为收到的果蔬和指定的果蔬颜色不同,不是同一个果蔬,也就是该指定果蔬不具备唯一性。In this embodiment, the correspondence between the first photo and the second photo is randomly selected by color discrimination. The first image and the second image at the coordinate position acquire and calculate a difference between pixel values corresponding to the first image and the second image, and if the difference is greater than a preset threshold, the received fruit and vegetable are different from the specified fruit and vegetable. It is not the same fruit and vegetable, that is, the designated fruit and vegetable are not unique.
如图7所示,根据本发明的又一个实施例的购买指定果蔬的系统的示意框图。其中,该系统700包括:As shown in Figure 7, a schematic block diagram of a system for purchasing designated fruits and vegetables in accordance with yet another embodiment of the present invention. Wherein, the system 700 includes:
选择单元702,用于根据果蔬照片选择指定果蔬,指定果蔬具有定位标记;The selecting unit 702 is configured to select a fruit and vegetable according to the fruit and vegetable photo selection, and specify the fruit and vegetable to have a positioning mark;
接收单元704,用于在订单生成后,接收指定果蔬的第一照片;The receiving unit 704 is configured to receive a first photo of the designated fruit and vegetable after the order is generated;
获取单元706,用于在确认收货后,获取指定果蔬的第二照片;The obtaining unit 706 is configured to obtain a second photo of the designated fruit and vegetable after confirming the receipt of the goods;
验证单元708,用于将第一照片和第二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性;当指定果蔬具备唯一性时,完成购物;The verification unit 708 is configured to compare the first photo with the second photo, determine whether the designated fruit and vegetable is unique according to the comparison result, and complete the shopping when the designated fruit and vegetable are unique;
调整单元710,用于在将第一照片和第二照片进行比较之前,调整第二照片的大小,直至第二照片中的定位标记与第一照片中的定位标记大小相同为止;The adjusting unit 710 is configured to adjust a size of the second photo until the positioning mark in the second photo is the same size as the positioning mark in the first photo, before comparing the first photo and the second photo;
其中,验证单元708包括:图像选取单元7082,用于选取第一照片和第二照片中对应坐标位置的第一图像和第二图像;计算单元7084,用于获取并计算第一图像的像素值和第二图像的像素值的差值;第一判断单元7086,用于判断差值是否大于预设阈值;当差值大于预设阈值时,则判定指定果蔬不具备唯一性;The verification unit 708 includes: an image selection unit 7082, configured to select a first image and a second image of a corresponding coordinate position in the first photo and the second photo; and a calculation unit 7084, configured to acquire and calculate a pixel value of the first image And a difference between the pixel values of the second image; the first determining unit 1086 is configured to determine whether the difference is greater than a preset threshold; and when the difference is greater than the preset threshold, determining that the designated fruit and vegetable are not unique;
验证单元708还包括:The verification unit 708 also includes:
轮廓提取单元7088,用于当差值小于等于预设阈值时,提取第一照片的第一轮廓图像和第二照片的第二轮廓图像;The contour extracting unit 7088 is configured to extract a first contour image of the first photo and a second contour image of the second photo when the difference is less than or equal to the preset threshold;
第二判断单元7090,用于判断第一轮廓图像和第二轮廓图像是否重合;当第一轮廓图像和第二轮廓图像重合时,则判定指定果蔬具备唯一性。The second determining unit 7090 is configured to determine whether the first contour image and the second contour image are coincident; and when the first contour image and the second contour image are coincident, determining that the designated fruit and vegetable are unique.
在该实施例中,若差值小于等于预设阈值时,则认为收到的果蔬和指定的果蔬颜色相同,进入下一步的轮廓判断,分别提取第一照片和第二照片的轮廓图像,对比轮廓边缘,如果轮廓重合,则说明为同一个果蔬。优选地,轮廓重合的判断方法是通过第一轮廓图像减第二轮廓图像对应坐标位置的像素值,相减后结果若都接近或者等于0,则认为轮廓重合,也就是该指定果 蔬具备唯一性,此时,可以完成购物。In this embodiment, if the difference is less than or equal to the preset threshold, it is considered that the received fruits and vegetables are the same color as the designated fruits and vegetables, and the contour of the next step is determined, and the contour images of the first photo and the second photo are respectively extracted, and the contrast is obtained. The edge of the contour, if the contours coincide, it is the same fruit and vegetable. Preferably, the method for judging the contours is to subtract the pixel values of the corresponding coordinate positions of the second contour image by the first contour image, and if the subtracted results are all close to or equal to 0, the contours are considered to coincide, that is, the specified result. The vegetables are unique and at this point, you can complete the shopping.
在上述任一实施例中,优选地,预设阈值的范围为0至10。In any of the above embodiments, preferably, the preset threshold ranges from 0 to 10.
在该实施例中,预设阈值的范围为0至10,但不限于此。可以理解的是,预设阈值的取值越小,对于果蔬的唯一性判断会越精准。In this embodiment, the preset threshold ranges from 0 to 10, but is not limited thereto. It can be understood that the smaller the value of the preset threshold, the more accurate the uniqueness of the fruit and vegetable will be judged.
如图8所示,根据本发明的第五个实施例的购买指定果蔬的系统的示意框图。其中,该系统800包括:As shown in Fig. 8, a schematic block diagram of a system for purchasing a designated fruit and vegetable according to a fifth embodiment of the present invention. Wherein, the system 800 includes:
选择单元802,用于根据果蔬照片选择指定果蔬,指定果蔬具有定位标记;The selecting unit 802 is configured to select a fruit and vegetable according to the fruit and vegetable photo selection, and specify the fruit and vegetable to have a positioning mark;
接收单元804,用于在订单生成后,接收指定果蔬的第一照片;The receiving unit 804 is configured to receive a first photo of the designated fruit and vegetable after the order is generated;
获取单元806,用于在确认收货后,获取指定果蔬的第二照片;The obtaining unit 806 is configured to obtain a second photo of the designated fruit and vegetable after confirming the receipt of the goods;
验证单元808,用于将第一照片和第二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性;当指定果蔬具备唯一性时,完成购物;The verification unit 808 is configured to compare the first photo with the second photo, determine whether the designated fruit and vegetable is unique according to the comparison result, and complete the shopping when the designated fruit and vegetable are unique;
调整单元810,用于在将第一照片和第二照片进行比较之前,调整第二照片的大小,直至第二照片中的定位标记与第一照片中的定位标记大小相同为止;The adjusting unit 810 is configured to adjust the size of the second photo until the positioning mark in the second photo is the same size as the positioning mark in the first photo before comparing the first photo and the second photo;
其中,验证单元808包括:图像选取单元8082,用于选取第一照片和第二照片中对应坐标位置的第一图像和第二图像;计算单元8084,用于获取并计算第一图像的像素值和第二图像的像素值的差值;第一判断单元8086,用于判断差值是否大于预设阈值;当差值大于预设阈值时,则判定指定果蔬不具备唯一性;The verification unit 808 includes: an image selection unit 8082, configured to select a first image and a second image of a corresponding coordinate position in the first photo and the second photo; and a calculation unit 8084, configured to acquire and calculate a pixel value of the first image And a difference between the pixel values of the second image; the first determining unit 8086 is configured to determine whether the difference is greater than a preset threshold; and when the difference is greater than the preset threshold, determining that the designated fruit and vegetable are not unique;
验证单元808还包括:轮廓提取单元8088,用于当差值小于等于预设阈值时,提取第一照片的第一轮廓图像和第二照片的第二轮廓图像;第二判断单元8090,用于判断第一轮廓图像和第二轮廓图像是否重合;当第一轮廓图像和第二轮廓图像重合时,则判定指定果蔬具备唯一性;The verification unit 808 further includes: a contour extracting unit 8088, configured to extract a first contour image of the first photo and a second contour image of the second photo when the difference is less than or equal to the preset threshold; and the second determining unit 8090 is configured to: Determining whether the first contour image and the second contour image are coincident; when the first contour image and the second contour image are coincident, determining that the designated fruit and vegetable are unique;
记录单元812,用于记录第一照片和第二照片的图像信息,图像信息包括颜色、形状、定位标记的大小。The recording unit 812 is configured to record image information of the first photo and the second photo, where the image information includes a color, a shape, and a size of the positioning mark.
在该实施例中,通过记录第一照片和第二照片的颜色、形状、定位标记的大小等信息,可以直观的对比两者的区别。具体的,在验证指定果蔬的唯一性时,可以实时的记录并显示所选取的坐标位置处的图像信息,不 仅增加趣味性,而且使得对比更加直观。In this embodiment, by recording information such as the color, shape, size of the positioning mark, and the like of the first photo and the second photo, the difference between the two can be intuitively compared. Specifically, when verifying the uniqueness of the designated fruit and vegetable, the image information at the selected coordinate position can be recorded and displayed in real time, It only adds interest and makes the comparison more intuitive.
在上述任一实施例中,优选地,定位标记包括以下至少一种或其组合:果蔬标签、二维码、条形码、PLU码。In any of the above embodiments, preferably, the positioning mark comprises at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, a PLU code.
在该实施例中,定位标记包括但不限于以下至少一种或其组合:果蔬标签、二维码、条形码、PLU码。果蔬上附加的定位标记不仅具有溯源的功能,由于其在果蔬上的大小是不变的,因此还能通过定位标记,对果蔬的唯一性进行验证,从而判断出收到的果蔬与指定的果蔬是否一致。In this embodiment, the positioning marks include, but are not limited to, at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, a PLU code. The additional positioning marks on fruits and vegetables not only have the function of traceability, but because of the constant size of the fruits and vegetables, the uniqueness of the fruits and vegetables can be verified by the positioning marks, thereby judging the fruits and vegetables received and the designated fruits and vegetables. Is it consistent?
如图9所示,根据本发明的一个实施例的终端的示意框图。其中,该终端900包括:如上述任一实施例中的购买指定果蔬的系统902。因而终端900具备购买指定果蔬的系统902的全部有益效果,在此不再赘述。As shown in Figure 9, a schematic block diagram of a terminal in accordance with one embodiment of the present invention. The terminal 900 includes the system 902 for purchasing a designated fruit and vegetable as in any of the above embodiments. Therefore, the terminal 900 has all the beneficial effects of the system 902 for purchasing the designated fruits and vegetables, and details are not described herein again.
如图10所示,根据本发明的一实施例的计算机设备的结构示意图。其中,该计算机设备1包括:包括存储器12、处理器14及存储在存储器12上并可在处理器14上运行的计算机程序,处理器14执行计算机程序时实现以下步骤:FIG. 10 is a schematic structural diagram of a computer device according to an embodiment of the present invention. The computer device 1 includes a memory 12, a processor 14, and a computer program stored on the memory 12 and operable on the processor 14. The processor 14 implements the following steps when executing the computer program:
根据果蔬照片选择指定果蔬,指定果蔬具有定位标记;Specifying fruits and vegetables according to the photos of fruits and vegetables, and designating fruits and vegetables with positioning marks;
在订单生成后,接收指定果蔬的第一照片;Receiving a first photo of the designated fruit and vegetable after the order is generated;
在确认收货后,获取指定果蔬的第二照片;After confirming the receipt, obtain a second photo of the designated fruit and vegetable;
将第一照片和第二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性;当指定果蔬具备唯一性时,完成购物。The first photo and the second photo are compared, and the specified fruit and vegetable are judged to be unique according to the comparison result; when the designated fruit and vegetable are unique, the shopping is completed.
根据本发明的计算机设备1,通过接收指定果蔬的第一照片,及获取指定果蔬的第二照片,并将第一照片与第二照片进行对比,来验证指定果蔬是否具备唯一性,当指定果蔬具备唯一性时,说明消费者收到的果蔬就是在网上所挑选的指定果蔬,此时可以完成购物;当指定果蔬不具备唯一性时,说明消费者收到的果蔬并非在网上所挑选的指定果蔬,此时可以联系商家办理退换货。从而使消费者通过网络,如现实购物一样购买到自己挑选的果蔬,保证了果蔬在购买过程中的质量,并且操作简单、实用,有效提升了网络购物体验。According to the computer device 1 of the present invention, by receiving a first photo of a designated fruit and vegetable, and acquiring a second photo of the designated fruit and vegetable, and comparing the first photo with the second photo, verifying whether the designated fruit and vegetable are unique, when specifying the fruit and vegetable When it is unique, it means that the fruits and vegetables received by the consumers are the designated fruits and vegetables selected on the Internet, and the shopping can be completed at this time; when the designated fruits and vegetables are not unique, the fruits and vegetables received by the consumers are not selected on the Internet. Fruits and vegetables, at this time you can contact the merchant to handle the return. So that consumers can purchase the fruits and vegetables they choose through the network, such as real shopping, to ensure the quality of the fruits and vegetables in the purchase process, and the operation is simple and practical, effectively improving the online shopping experience.
具体的,商家把所有果蔬照片都放到网上,供消费者选择,并根据果蔬规格的不同,对每个或每类果蔬指定价格;消费者在购买时,挑选指定 的果蔬,生成订单后,所指定的果蔬的照片会发送给消费者;在消费者收到果蔬后,利用每个果蔬的唯一性,确定收到的每一个果蔬就是购买时所选定的那个果蔬,保证果蔬在商家发货时和运输途中不会被调换,使果蔬的质量在购买和运输过程中得到保证。其中果蔬的唯一性,在果蔬形状或者颜色差别很大的时候,可以用人眼直接观察出来;但是在形状和颜色都差别不是很大时,就需要对果蔬图像进行分析,优选地,利用图像中的“固定参照物”(即不变参照物)来进行区分,例如利用第一照片和第二照片的定位标记进行比较。通过对收到的果蔬进行拍照,并将生成的照片与接收的指定的果蔬的照片进行对比,验证果蔬的唯一性,即选择固定参照物,确定坐标原点,实现两张照片相同坐标位置之间的大小、形状和颜色的比对,具体可以采用如下步骤实现。Specifically, the merchant puts all the photos of fruits and vegetables on the Internet for consumers to choose, and assigns prices to each type of fruit and vegetables according to the different specifications of fruits and vegetables; when consumers purchase, they select and specify Fruits and vegetables, after the order is generated, the photos of the designated fruits and vegetables will be sent to the consumers; after the consumers receive the fruits and vegetables, using the uniqueness of each fruit and vegetable, it is determined that each fruit and vegetable received is the one selected at the time of purchase. Fruits and vegetables ensure that fruits and vegetables will not be exchanged during shipment and transportation, so that the quality of fruits and vegetables is guaranteed during purchase and transportation. The uniqueness of fruits and vegetables can be directly observed by the human eye when the shape or color of fruits and vegetables is very different; however, when the shape and color are not very different, it is necessary to analyze the image of the fruit and vegetable, preferably, in the image. The "fixed reference" (ie, the invariant reference) is used to distinguish, for example, using the first photo and the second photo's alignment mark. By taking photos of the received fruits and vegetables, and comparing the generated photos with the photos of the designated fruits and vegetables received, the uniqueness of the fruits and vegetables is verified, that is, the fixed reference objects are selected, and the coordinate origin is determined to achieve the same coordinate position between the two photos. The size, shape and color of the alignment can be achieved by the following steps.
在上述实施例中,优选地,处理器14执行计算机程序时,在将第一照片和第二照片进行比较之前,还实现了:调整第二照片的大小,直至第二照片中的定位标记与第一照片中的定位标记大小相同为止。In the above embodiment, preferably, when the processor 14 executes the computer program, before comparing the first photo and the second photo, it is further implemented to: adjust the size of the second photo until the positioning mark in the second photo is The positioning marks in the first photo are the same size.
在该实施例中,每个指定果蔬均具有定位标记,无论果蔬在购买过程中发生什么变化,比如邮寄时发生混淆,或运输中被恶意调换,定位标记在果蔬中的大小都是一样的。通过调整第二照片的大小,其上定位标记的大小随之发生变化,当第二照片中的定位标记与第一照片中的定位标记大小相同时,停止调整,使定位标记作为判断果蔬唯一性的前提条件,在此基础之上,再对比两张照片,来验证收到的果蔬是否具备唯一性,从而确保消费者通过网络,如现实购物一样购买到自己挑选的果蔬。In this embodiment, each of the designated fruits and vegetables has a positioning mark, and the size of the positioning marks in the fruits and vegetables is the same regardless of any changes in the fruits and vegetables during the purchase process, such as confusion during mailing or malicious exchange during transportation. By adjusting the size of the second photo, the size of the positioning mark thereon changes accordingly. When the positioning mark in the second photo is the same size as the positioning mark in the first photo, the adjustment is stopped, so that the positioning mark is used as the uniqueness of the fruit and vegetable. Prerequisites, based on this, compare two photos to verify the uniqueness of the fruits and vegetables received, so as to ensure that consumers buy their own fruits and vegetables through the Internet, such as real shopping.
其中,在拍摄第一照片和第二照片时,摄像头正对定位标记进行拍摄。同时,为保证比较的准确性,采用拍摄像素相同的拍摄机器进行拍照比较且在正对定位标记间距一样的高度进行拍摄。Among them, when taking the first photo and the second photo, the camera is shooting the positioning mark. At the same time, in order to ensure the accuracy of the comparison, the photographing machine with the same shooting pixels is used for photographing comparison and shooting at the same height as the positioning mark.
在上述任一实施例中,优选地,将第一照片和第二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性的具体步骤,包括:选取第一照片和第二照片中对应坐标位置的第一图像和第二图像;获取并计算第一图像的像素值和第二图像的像素值的差值;判断差值是否大于预设阈值;当差值大于预设阈值时,则判定指定果蔬不具备唯一性;当差值小于等于预设阈值时,还 包括:提取第一照片的第一轮廓图像和第二照片的第二轮廓图像;判断第一轮廓图像和第二轮廓图像是否重合;当第一轮廓图像和第二轮廓图像重合时,则判定指定果蔬具备唯一性。In any of the above embodiments, preferably, comparing the first photo with the second photo, and determining, according to the comparison result, a specific step of determining whether the designated vegetable has uniqueness, comprising: selecting corresponding coordinate positions in the first photo and the second photo a first image and a second image; acquiring and calculating a difference between a pixel value of the first image and a pixel value of the second image; determining whether the difference is greater than a preset threshold; and when the difference is greater than a preset threshold, determining the specified Fruits and vegetables are not unique; when the difference is less than or equal to the preset threshold, The method includes: extracting a first contour image of the first photo and a second contour image of the second photo; determining whether the first contour image and the second contour image are coincident; and when the first contour image and the second contour image are coincident, determining the designation Fruits and vegetables are unique.
在该实施例中,通过显色区分,随机选取第一照片和第二照片中对应坐标位置处的第一图像和第二图像,获取并计算第一图像和第二图像对应的像素值之差,若差值大于预设阈值时,则认为收到的果蔬和指定的果蔬颜色不同,不是同一个果蔬,也就是该指定果蔬不具备唯一性。若差值小于等于预设阈值时,则认为收到的果蔬和指定的果蔬颜色相同,进入下一步的轮廓判断,分别提取第一照片和第二照片的轮廓图像,对比轮廓边缘,如果轮廓重合,则说明为同一个果蔬。优选地,轮廓重合的判断方法是通过第一轮廓图像减第二轮廓图像对应坐标位置的像素值,相减后结果若都接近或者等于0,则认为轮廓重合,也就是该指定果蔬具备唯一性,此时,可以完成购物。In this embodiment, the first image and the second image at the corresponding coordinate positions in the first photo and the second photo are randomly selected by color discrimination, and the difference between the pixel values corresponding to the first image and the second image is obtained and calculated. If the difference is greater than the preset threshold, it is considered that the received fruits and vegetables are different in color from the designated fruits and vegetables, not the same fruit and vegetable, that is, the designated fruits and vegetables are not unique. If the difference is less than or equal to the preset threshold, it is considered that the received fruits and vegetables are the same color as the designated fruits and vegetables, and the contour of the next photo is determined, and the contour images of the first photo and the second photo are respectively extracted, and the contour edges are compared, if the contours coincide , it means the same fruit and vegetable. Preferably, the method for determining the contour coincidence is to subtract the pixel value of the corresponding coordinate position of the second contour image by the first contour image, and if the subtracted result is close to or equal to 0, the contour is considered to be coincident, that is, the designated fruit and vegetable are unique. At this point, you can complete the shopping.
在上述任一实施例中,优选地,预设阈值的范围为0至10。In any of the above embodiments, preferably, the preset threshold ranges from 0 to 10.
在该实施例中,预设阈值的范围为0至10,但不限于此。可以理解的是,预设阈值的取值越小,对于果蔬的唯一性判断会越精准。In this embodiment, the preset threshold ranges from 0 to 10, but is not limited thereto. It can be understood that the smaller the value of the preset threshold, the more accurate the uniqueness of the fruit and vegetable will be judged.
在上述任一实施例中,优选地,处理器14执行计算机程序时,还实现了:记录第一照片和第二照片的图像信息,图像信息包括颜色、形状、定位标记的大小。In any of the above embodiments, preferably, when the processor 14 executes the computer program, it further implements: recording image information of the first photo and the second photo, the image information including a color, a shape, and a size of the positioning mark.
在该实施例中,通过记录第一照片和第二照片的颜色、形状、定位标记的大小等信息,可以直观的对比两者的区别。具体的,在验证指定果蔬的唯一性时,可以实时的记录并显示所选取的坐标位置处的图像信息,不仅增加趣味性,而且使得对比更加直观。In this embodiment, by recording information such as the color, shape, size of the positioning mark, and the like of the first photo and the second photo, the difference between the two can be intuitively compared. Specifically, when verifying the uniqueness of the designated fruit and vegetable, the image information at the selected coordinate position can be recorded and displayed in real time, which not only increases the interest but also makes the comparison more intuitive.
在上述任一实施例中,优选地,定位标记包括以下至少一种或其组合:果蔬标签、二维码、条形码、PLU码(Price look-up codes,价格查找代码)。In any of the above embodiments, preferably, the positioning mark comprises at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, a price look-up codes (price look-up codes).
在该实施例中,定位标记包括但不限于以下至少一种或其组合:果蔬标签、二维码、条形码、PLU码。果蔬上附加的定位标记不仅具有溯源的功能,由于其在果蔬上的大小是不变的,因此还能通过定位标记,对果蔬的唯一性进行验证,从而判断出收到的果蔬与指定的果蔬是否一致。 In this embodiment, the positioning marks include, but are not limited to, at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, a PLU code. The additional positioning marks on fruits and vegetables not only have the function of traceability, but because of the constant size of the fruits and vegetables, the uniqueness of the fruits and vegetables can be verified by the positioning marks, thereby judging the fruits and vegetables received and the designated fruits and vegetables. Is it consistent?
本发明的一个实施例提出了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:根据果蔬照片选择指定果蔬,指定果蔬具有定位标记;在订单生成后,接收指定果蔬的第一照片;在确认收货后,获取指定果蔬的第二照片;将第一照片和第二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性;当指定果蔬具备唯一性时,完成购物。One embodiment of the present invention provides a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of: designating a fruit and vegetable according to a fruit and vegetable photo selection, designating a fruit and vegetable with a positioning mark; After receiving the first photo of the designated fruit and vegetable; after confirming the receipt, obtaining a second photo of the designated fruit and vegetable; comparing the first photo with the second photo, judging whether the designated fruit and vegetable are unique according to the comparison result; When it's unique, finish shopping.
在上述实施例中,优选地,计算机程序被处理器执行时,在将第一照片和第二照片进行比较之前,还实现了:调整第二照片的大小,直至第二照片中的定位标记与第一照片中的定位标记大小相同为止。In the above embodiment, preferably, when the computer program is executed by the processor, before comparing the first photo and the second photo, the size of the second photo is adjusted until the positioning mark in the second photo is The positioning marks in the first photo are the same size.
在上述任一实施例中,优选地,将第一照片和第二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性的具体步骤,包括:选取第一照片和第二照片中对应坐标位置的第一图像和第二图像;获取并计算第一图像的像素值和第二图像的像素值的差值;判断差值是否大于预设阈值;当差值大于预设阈值时,则判定指定果蔬不具备唯一性;当差值小于等于预设阈值时,还包括:提取第一照片的第一轮廓图像和第二照片的第二轮廓图像;判断第一轮廓图像和第二轮廓图像是否重合;当第一轮廓图像和第二轮廓图像重合时,则判定指定果蔬具备唯一性。In any of the above embodiments, preferably, comparing the first photo with the second photo, and determining, according to the comparison result, a specific step of determining whether the designated vegetable has uniqueness, comprising: selecting corresponding coordinate positions in the first photo and the second photo a first image and a second image; acquiring and calculating a difference between a pixel value of the first image and a pixel value of the second image; determining whether the difference is greater than a preset threshold; and when the difference is greater than a preset threshold, determining the specified The fruit and vegetable are not unique; when the difference is less than or equal to the preset threshold, the method further includes: extracting the first contour image of the first photo and the second contour image of the second photo; determining whether the first contour image and the second contour image are coincident When the first contour image and the second contour image coincide, it is determined that the designated fruit and vegetable are unique.
在上述任一实施例中,优选地,预设阈值的范围为0至10。In any of the above embodiments, preferably, the preset threshold ranges from 0 to 10.
在上述任一实施例中,优选地,计算机程序被处理器执行时,还实现了:记录第一照片和第二照片的图像信息,图像信息包括颜色、形状、定位标记的大小。In any of the above embodiments, preferably, when the computer program is executed by the processor, it is further implemented to record image information of the first photo and the second photo, the image information including a color, a shape, and a size of the positioning mark.
在上述任一实施例中,优选地,定位标记包括以下至少一种或其组合:果蔬标签、二维码、条形码、PLU码(Price look-up codes,价格查找代码)。In any of the above embodiments, preferably, the positioning mark comprises at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, a price look-up codes (price look-up codes).
如图11所示,根据本发明的一实施例的具有与电商购物相关的应用软件的终端的结构示意图。其中,该具有与电商购物相关的应用软件的终端2包括:处理器22、存储器24、输入装置26和输出装置28,其中,处理器22通过调用存储器24中存储的操作指令,用于执行如下操作:FIG. 11 is a schematic structural diagram of a terminal having application software related to an e-commerce shopping according to an embodiment of the present invention. The terminal 2 having application software related to e-commerce shopping includes: a processor 22, a memory 24, an input device 26, and an output device 28, wherein the processor 22 is configured to execute by calling an operation instruction stored in the memory 24. Do the following:
根据果蔬照片选择指定果蔬,指定果蔬具有定位标记;Specifying fruits and vegetables according to the photos of fruits and vegetables, and designating fruits and vegetables with positioning marks;
在订单生成后,接收指定果蔬的第一照片; Receiving a first photo of the designated fruit and vegetable after the order is generated;
在确认收货后,获取指定果蔬的第二照片;After confirming the receipt, obtain a second photo of the designated fruit and vegetable;
将第一照片和第二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性;当指定果蔬具备唯一性时,完成购物。The first photo and the second photo are compared, and the specified fruit and vegetable are judged to be unique according to the comparison result; when the designated fruit and vegetable are unique, the shopping is completed.
在上述实施例中,优选地,处理器22通过调用存储器24中存储的操作指令,在将第一照片和第二照片进行比较之前,还用于执行:调整第二照片的大小,直至第二照片中的定位标记与第一照片中的定位标记大小相同为止。In the above embodiment, preferably, the processor 22 is further configured to perform: adjusting the size of the second photo until the second before comparing the first photo and the second photo by calling an operation instruction stored in the memory 24. The anchor mark in the photo is the same size as the anchor mark in the first photo.
在上述任一实施例中,优选地,将第一照片和第二照片进行比较,根据比较结果判断指定果蔬是否具备唯一性的具体步骤,包括:选取第一照片和第二照片中对应坐标位置的第一图像和第二图像;获取并计算第一图像的像素值和第二图像的像素值的差值;判断差值是否大于预设阈值;当差值大于预设阈值时,则判定指定果蔬不具备唯一性;当差值小于等于预设阈值时,还包括:提取第一照片的第一轮廓图像和第二照片的第二轮廓图像;判断第一轮廓图像和第二轮廓图像是否重合;当第一轮廓图像和第二轮廓图像重合时,则判定指定果蔬具备唯一性。In any of the above embodiments, preferably, comparing the first photo with the second photo, and determining, according to the comparison result, a specific step of determining whether the designated vegetable has uniqueness, comprising: selecting corresponding coordinate positions in the first photo and the second photo a first image and a second image; acquiring and calculating a difference between a pixel value of the first image and a pixel value of the second image; determining whether the difference is greater than a preset threshold; and when the difference is greater than a preset threshold, determining the specified The fruit and vegetable are not unique; when the difference is less than or equal to the preset threshold, the method further includes: extracting the first contour image of the first photo and the second contour image of the second photo; determining whether the first contour image and the second contour image are coincident When the first contour image and the second contour image coincide, it is determined that the designated fruit and vegetable are unique.
在上述任一实施例中,优选地,预设阈值的范围为0至10。In any of the above embodiments, preferably, the preset threshold ranges from 0 to 10.
在上述任一实施例中,优选地,处理器22执行计算机程序时,还实现了:记录第一照片和第二照片的图像信息,图像信息包括颜色、形状、定位标记的大小。In any of the above embodiments, preferably, when the processor 22 executes the computer program, it further implements: recording image information of the first photo and the second photo, the image information including a color, a shape, and a size of the positioning mark.
在上述任一实施例中,优选地,定位标记包括以下至少一种或其组合:果蔬标签、二维码、条形码、PLU码(Price look-up codes,价格查找代码)。In any of the above embodiments, preferably, the positioning mark comprises at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, a price look-up codes (price look-up codes).
如图12a所示,根据本发明的一个具体实施例的购买指定果蔬的方法的流程示意图。其中,该方法包括:As shown in Figure 12a, a schematic flow diagram of a method of purchasing a designated fruit or vegetable in accordance with an embodiment of the present invention. Wherein the method comprises:
步骤1202,给每一个果蔬拍照; Step 1202, taking a picture of each fruit and vegetable;
步骤1204,将照片发布至购物平台并为每一个果蔬标示价格; Step 1204, publishing the photo to the shopping platform and marking the price for each fruit and vegetable;
步骤1206,某个果蔬是否已经卖出; Step 1206, whether a certain fruit or vegetable has been sold;
步骤1208,将果蔬照片发送给买家,并下架该果蔬。In step 1208, the photo of the fruit and vegetable is sent to the buyer, and the fruit and vegetable are removed.
买家收到果蔬后,验证果蔬唯一性(以苹果为例):利用苹果标签作为定位标记(如图12b、12c所示),摄像头正对定位标记,对苹果进行拍 照,生成的图像称为苹果A。After the buyer receives the fruits and vegetables, verify the uniqueness of the fruits and vegetables (in the case of apples): use the Apple label as the positioning mark (as shown in Figures 12b and 12c), the camera is facing the positioning mark, and the apple is taken. According to the photo, the generated image is called Apple A.
检验苹果时,正对定位标记对待检验苹果拍照,生成苹果B。When testing the apple, the apple is being photographed and the apple B is generated.
此时苹果B和苹果A图像大小可能会有差异,无法对比出是否为同一个苹果,但是可以注意到,定位标记在所有的苹果中大小都是一样的。因此,可以缩放苹果B图像,使苹果A和苹果B图像的定位标记大小相同。At this time, the size of Apple B and Apple A images may be different, and it is impossible to compare whether they are the same apple, but it can be noticed that the positioning marks are the same size in all apples. Therefore, the Apple B image can be scaled so that the positioning marks of the Apple A and Apple B images are the same size.
首先判断颜色,通过显色区分,随机选取苹果A和苹果B对应坐标位置、相同大小(如8*8像素大小)的图像,对比像素值,若都接近或相等,则认为颜色相同,进入下一步形状判断;否则,认为两个苹果颜色不用,不是同一个苹果。First judge the color, by color differentiation, randomly select the image of the corresponding position of the apple A and the apple B, the same size (such as 8 * 8 pixel size), compare the pixel values, if they are close or equal, the color is considered the same, enter the next One-step shape judgment; otherwise, think that two apple colors are not used, not the same apple.
其次判断形状,分别提取苹果A的第一轮廓图像和苹果B的第二轮廓图像,对比轮廓边缘,如果轮廓重合,则说明为同一个苹果;轮廓重合的判断方法是通过苹果A减苹果B对应坐标位置的像素值,相减后结果,若都接近或者等于0,则认为轮廓重合。Secondly, the shape is determined, and the first contour image of apple A and the second contour image of apple B are respectively extracted, and the contour edges are compared. If the contours coincide, the same apple is illustrated; the method for judging the contour coincidence is to correspond to apple A minus apple B. The pixel values of the coordinate positions, if subtracted, are close to or equal to 0, and the contours are considered to coincide.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (10)

  1. 一种购买指定果蔬的方法,其特征在于,包括:A method of purchasing a designated fruit and vegetable, characterized by comprising:
    根据果蔬照片选择指定果蔬,所述指定果蔬具有定位标记;Specifying a fruit and vegetable according to the photo of the fruit and vegetable, the designated fruit and vegetable having a positioning mark;
    在订单生成后,接收所述指定果蔬的第一照片;Receiving a first photo of the designated fruit and vegetable after the order is generated;
    在确认收货后,获取所述指定果蔬的第二照片;After confirming the receipt, obtaining a second photo of the designated fruit and vegetable;
    将所述第一照片和所述第二照片进行比较,根据比较结果判断所述指定果蔬是否具备唯一性;Comparing the first photo with the second photo, and determining, according to the comparison result, whether the designated fruit and vegetable is unique;
    当所述指定果蔬具备唯一性时,完成购物。When the specified fruits and vegetables are unique, the shopping is completed.
  2. 根据权利要求1所述的购买指定果蔬的方法,其特征在于,在将所述第一照片和所述第二照片进行比较之前,还包括:The method for purchasing a designated fruit or vegetable according to claim 1, wherein before comparing the first photo with the second photo, the method further comprises:
    调整所述第二照片的大小,直至所述第二照片中的定位标记与所述第一照片中的定位标记大小相同为止。The size of the second photo is adjusted until the positioning mark in the second photo is the same size as the positioning mark in the first photo.
  3. 根据权利要求2所述的购买指定果蔬的方法,其特征在于,所述将所述第一照片和所述第二照片进行比较,根据比较结果判断所述指定果蔬是否具备唯一性的具体步骤,包括:The method for purchasing a designated fruit or vegetable according to claim 2, wherein the comparing the first photo with the second photo, and determining, according to the comparison result, whether the specified fruit and vegetable have unique steps, include:
    选取所述第一照片和所述第二照片中对应坐标位置的第一图像和第二图像;Selecting a first image and a second image of corresponding coordinate positions in the first photo and the second photo;
    获取并计算所述第一图像的像素值和所述第二图像的像素值的差值;Obtaining and calculating a difference between a pixel value of the first image and a pixel value of the second image;
    判断所述差值是否大于预设阈值;Determining whether the difference is greater than a preset threshold;
    当所述差值大于所述预设阈值时,则判定所述指定果蔬不具备唯一性。When the difference is greater than the preset threshold, it is determined that the designated fruit and vegetable are not unique.
  4. 根据权利要求3所述的购买指定果蔬的方法,其特征在于,当所述差值小于等于所述预设阈值时,还包括:The method for purchasing a designated fruit and vegetable according to claim 3, wherein when the difference is less than or equal to the predetermined threshold, the method further comprises:
    提取所述第一照片的第一轮廓图像和所述第二照片的第二轮廓图像;Extracting a first contour image of the first photo and a second contour image of the second photo;
    判断所述第一轮廓图像和所述第二轮廓图像是否重合;Determining whether the first contour image and the second contour image are coincident;
    当所述第一轮廓图像和所述第二轮廓图像重合时,则判定所述指定果蔬具备唯一性。When the first contour image and the second contour image coincide, it is determined that the designated fruit and vegetable are unique.
  5. 根据权利要求1至4中任一项所述的购买指定果蔬的方法,其特征在于,所述定位标记包括以下至少一种或其组合:果蔬标签、二维码、条形 码、PLU码。The method for purchasing a designated fruit or vegetable according to any one of claims 1 to 4, wherein the positioning mark comprises at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a strip shape Code, PLU code.
  6. 一种购买指定果蔬的系统,其特征在于,包括:A system for purchasing designated fruits and vegetables, comprising:
    选择单元,用于根据果蔬照片选择指定果蔬,所述指定果蔬具有定位标记;a selection unit, configured to select a fruit and vegetable according to the fruit and vegetable photo selection, the designated fruit and vegetable having a positioning mark;
    接收单元,用于在订单生成后,接收所述指定果蔬的第一照片;a receiving unit, configured to receive a first photo of the designated fruit and vegetable after the order is generated;
    获取单元,用于在确认收货后,获取所述指定果蔬的第二照片;An obtaining unit, configured to obtain a second photo of the designated fruit and vegetable after confirming the receipt;
    验证单元,用于将所述第一照片和所述第二照片进行比较,根据比较结果判断所述指定果蔬是否具备唯一性;a verification unit, configured to compare the first photo with the second photo, and determine, according to the comparison result, whether the designated fruit and vegetable is unique;
    当所述指定果蔬具备唯一性时,完成购物。When the specified fruits and vegetables are unique, the shopping is completed.
  7. 根据权利要求6所述的购买指定果蔬的系统,其特征在于,还包括:The system for purchasing a designated fruit or vegetable according to claim 6, further comprising:
    调整单元,用于在将所述第一照片和所述第二照片进行比较之前,调整所述第二照片的大小,直至所述第二照片中的定位标记与所述第一照片中的定位标记大小相同为止。An adjusting unit, configured to adjust a size of the second photo until the positioning mark in the second photo and the positioning in the first photo before comparing the first photo and the second photo The mark size is the same.
  8. 根据权利要求7所述的购买指定果蔬的系统,其特征在于,所述验证单元,包括:The system for purchasing a designated fruit and vegetable according to claim 7, wherein the verification unit comprises:
    图像选取单元,用于选取所述第一照片和所述第二照片中对应坐标位置的第一图像和第二图像;An image selecting unit, configured to select a first image and a second image of corresponding coordinate positions in the first photo and the second photo;
    计算单元,用于获取并计算所述第一图像的像素值和所述第二图像的像素值的差值;a calculating unit, configured to acquire and calculate a difference between a pixel value of the first image and a pixel value of the second image;
    第一判断单元,用于判断所述差值是否大于预设阈值;a first determining unit, configured to determine whether the difference is greater than a preset threshold;
    当所述差值大于所述预设阈值时,则判定所述指定果蔬不具备唯一性。When the difference is greater than the preset threshold, it is determined that the designated fruit and vegetable are not unique.
  9. 根据权利要求8所述的购买指定果蔬的系统,其特征在于,所述验证单元,还包括:The system for purchasing a designated fruit and vegetable according to claim 8, wherein the verification unit further comprises:
    轮廓提取单元,用于当所述差值小于等于所述预设阈值时,提取所述第一照片的第一轮廓图像和所述第二照片的第二轮廓图像;a contour extracting unit, configured to extract a first contour image of the first photo and a second contour image of the second photo when the difference is less than or equal to the preset threshold;
    第二判断单元,用于判断所述第一轮廓图像和所述第二轮廓图像是否重合;a second determining unit, configured to determine whether the first contour image and the second contour image are coincident;
    当所述第一轮廓图像和所述第二轮廓图像重合时,则判定所述指定果蔬具备唯一性。 When the first contour image and the second contour image coincide, it is determined that the designated fruit and vegetable are unique.
  10. 根据权利要求6至9中任一项所述的购买指定果蔬的系统,其特征在于,所述定位标记包括以下至少一种或其组合:果蔬标签、二维码、条形码、PLU码。 The system for purchasing a designated fruit or vegetable according to any one of claims 6 to 9, wherein the positioning mark comprises at least one of the following or a combination thereof: a fruit and vegetable label, a two-dimensional code, a barcode, a PLU code.
PCT/CN2017/092677 2017-04-28 2017-07-12 Method and system for shopping for specific produce WO2018196172A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710296535.1A CN107123029A (en) 2017-04-28 2017-04-28 The method and system of fruits and vegetables is specified in purchase
CN201710296535.1 2017-04-28

Publications (1)

Publication Number Publication Date
WO2018196172A1 true WO2018196172A1 (en) 2018-11-01

Family

ID=59726159

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/092677 WO2018196172A1 (en) 2017-04-28 2017-07-12 Method and system for shopping for specific produce

Country Status (2)

Country Link
CN (1) CN107123029A (en)
WO (1) WO2018196172A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103903173A (en) * 2012-12-31 2014-07-02 北京银万特科技有限公司 Vegetable purchase and sale method and system based on mobile intelligent terminal
CN104182833A (en) * 2014-08-19 2014-12-03 北京尚品百姿电子商务有限公司 Goods information processing method and device
CN105069640A (en) * 2015-09-11 2015-11-18 俞梦霞 Agricultural product tracing system and method based on random artificial mark and feature photo
CN106157056A (en) * 2015-05-14 2016-11-23 黄世纬 A kind of product is traced to the source method for anti-counterfeit

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1696380A1 (en) * 2005-02-24 2006-08-30 Dolphin Software Ltd. System and method for computerized ordering
CN102682308B (en) * 2011-03-17 2014-05-28 株式会社理光 Imaging processing method and device
CN102419854A (en) * 2011-09-23 2012-04-18 纽海信息技术(上海)有限公司 Wireless shopping system and method
CN103093208B (en) * 2013-01-23 2016-04-13 中国科学技术大学 A kind of method and system of fruits and vegetables identification

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103903173A (en) * 2012-12-31 2014-07-02 北京银万特科技有限公司 Vegetable purchase and sale method and system based on mobile intelligent terminal
CN104182833A (en) * 2014-08-19 2014-12-03 北京尚品百姿电子商务有限公司 Goods information processing method and device
CN106157056A (en) * 2015-05-14 2016-11-23 黄世纬 A kind of product is traced to the source method for anti-counterfeit
CN105069640A (en) * 2015-09-11 2015-11-18 俞梦霞 Agricultural product tracing system and method based on random artificial mark and feature photo

Also Published As

Publication number Publication date
CN107123029A (en) 2017-09-01

Similar Documents

Publication Publication Date Title
US20210370607A1 (en) Systems and methods for identifying three-dimensional printed objects
KR20190002344A (en) Commercial product size determination device and commercial product size determination method
TW201907350A (en) Offline shopping guide method and device
JP6425278B2 (en) Product information acquisition system
US10380734B2 (en) System, method and computer program product for security analysis of jewelry items
WO2019101088A1 (en) Self-service vending method and apparatus
JP5816393B1 (en) Product evaluation apparatus, method and program
US11587059B1 (en) System and method for instant purchase transactions via image recognition
KR20180050224A (en) Method and server for matching size of product
CN112686220B (en) Commodity identification method and device, computing equipment and computer storage medium
US20150199571A1 (en) Pos terminal apparatus and customer information acquisition method
CN110222569B (en) Object detection method and device, electronic equipment and readable storage medium
CN111429194B (en) User track determination system, method, device and server
WO2018196172A1 (en) Method and system for shopping for specific produce
US9230275B1 (en) Systems and methods for merchandising
US10824868B2 (en) Image processing for determining relationships between tracked objects
CN112435025B (en) Article information recording method, apparatus, device and medium
KR101770189B1 (en) Online transaction method and apparatus using identification code and real time video information of cotrollable camera
US20220198552A1 (en) Method for optimizing an electronic ordering system
US9137439B1 (en) Systems and methods for photographing merchandise
CN113591594A (en) Weighing processing method and device and electronic equipment
CN113077308B (en) Intelligent visual commercial transaction platform
US20190318588A1 (en) Reading device and method
TW202115645A (en) Back-end product launching method of self-checkout system
CN111445267A (en) Food anti-counterfeiting traceability system and method based on RFID

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: 17907815

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 27/02/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17907815

Country of ref document: EP

Kind code of ref document: A1