ProductDetector

Constructors

Link copied to clipboard
@VisibleForTesting
constructor(@NonNull lookup: ProductLookup)

Types

Link copied to clipboard
interface Listener

Functions

Link copied to clipboard
open fun addObserver(@NonNull listener: ProductDetector.Listener)
Link copied to clipboard
open fun bannerId(): Int
Link copied to clipboard
open fun cancel()
Link copied to clipboard
@NonNull
open fun filterOcrProductsByStatus(@NonNull input: List<OcrProduct>, @NonNull lookupStatus: LookupStatus): List<OcrProduct>
Link copied to clipboard
@NonNull
open fun lookupResponses(): List<ProductIntelLookupResults>
Link copied to clipboard
@Nullable
open fun recognize(@Nullable ocrProducts: List<OcrProduct>, merchantBannerId: Int, @Nullable phone: String, @Nullable countryCode: String, qsrMerchantDetected: Boolean, performFuzzy: Boolean): List<Task<ProductSummaryDigest>>
@Nullable
open fun recognize(@Nullable ocrProducts: List<OcrProduct>, merchantBannerId: Int, @Nullable phone: String, @Nullable countryCode: String, qsrMerchantDetected: Boolean, performFuzzy: Boolean, batchSize: Int): List<Task<ProductSummaryDigest>>