IMAGE PROCESSING TO DETECT AGING PRODUCE
During a transaction at a Point-Of-Sale (POS) terminal an image of produce placed in the field of view of a scanner or camera. The image is processed for characteristics associated with the produce and the characteristics are scored and compared against a threshold to determine whether the produce is to receive a discounted price during the transaction.
1 . A method, comprising:
receiving an image for a produce item;
extracting features from the image;
scoring the features to calculate a score;
comparing the score against a threshold to calculate a difference; and
determining whether a discount is to be applied to a price of the produce item based on the difference.
2 . The method of claim 1 further comprising, providing the discount to a transaction manager for processing a transaction for the produce item at a Point-Of-Sale (POS) terminal.
3 . The method of claim 1 , wherein receiving further includes obtaining the image from a scanner during a checkout for the produce item at a Point-Of-Sale (POS) terminal.
4 . The method of claim 1 , wherein receiving further includes obtaining the image from a camera interfaced to a Point-Of-Sale (POS) terminal during a checkout for the produce item at the POS terminal.
5 . The method of claim 1 , wherein extracting further includes extracting color pixel values from the image based on a type of produce for the produce item.
6 . The method of claim 1 , wherein extracting further includes calculating a texture or smoothness in transitions within pixel values for the image.
7 . The method of claim 1 , wherein scoring further includes processing a scoring algorithm based on a type of produce for the produce item.
8 . The method of claim 1 , wherein scoring further includes further includes counting a specific number of occurrences of a specific color that are present in the features.
9 . The method of claim 1 , wherein scoring further includes counting a specific number of textures representing wrinkling that are present in the features.
10 . The method of claim 1 , wherein comparing further includes obtaining the threshold from a plurality of thresholds based on a type of produce for the produce item.
11 . The method of claim 10 , wherein obtaining further includes acquiring the plurality of thresholds from a server, wherein each threshold linked to a specific type of produce.
12 . The method of claim 1 , wherein determining further includes obtaining the discount from a plurality of discounts based on the difference compared against a range of discounts, each range of discounts linked to a specific one of the plurality of discounts and the difference falls within one of the ranges.
13 . A method, comprising:
obtaining an image captured by a camera for a produce item during a checkout at a Point-Of-Sale (POS) terminal;
receiving from a transaction manager processing on the POS terminal a produce type for the produce item;
extracting color and texture features for the image based on the produce type;
calculating a score for the features based on the produce type;
comparing the score to a threshold linked to the produce type to calculate a difference;
determining a discounted price for a price of the produce item based on the difference; and
providing the discounted price to the transaction manager to apply against the price during the checkout.
14 . The method of claim 13 , wherein obtaining further includes receiving the image from the camera that is integrated into a scanner of the POS terminal when the produce item is placed on or in front of the camera of the scanner.
15 . The method of claim 13 , wherein obtaining further includes receiving the image from a camera that is interfaced to the POS terminal and situated overhead of the produce item at the POS terminal.
16 . The method of claim 13 , wherein extracting further includes adjusting values for the features based on a resolution associated with the camera and the image captured by the camera.
17 . The method of claim 13 , wherein comparing further includes dynamically acquiring the threshold value from a server using the produce type.
18 . The method of claim 13 further comprising, processing the method on one of: the POS terminal and a server interfaced to the POS terminal.
19 . A system, comprising:
a Point-Of-Sale (POS) terminal;
the POS terminal including:
a scanner;
a produce manager; and
a transaction manager;
wherein the scanner is configured to capture an image of a produce item placed in the field-of-view of the scanner during a checkout at the POS terminal and provide the image to the produce manager, wherein the transaction manager is configured to provide a produce type for the produce item to the produce manager, and wherein the produce manager is configured to: extract image features for the image based on the produce type, calculate a score for the features based on the produce type, compare the score to a threshold linked to the produce type to calculate a difference, determine a discount to be apply to a price for the produce item based on the difference, and provide the discount to the transaction manager for applying against the price during the checkout.
20 . The system of claim 19 , wherein the POS terminal is one of: a Self-Service Terminal (SST) and a cashier-assisted checkout terminal.