BlinkReceipt SDK
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
BlinkReceipt SDK
blinkreceipt-recognizer
/
com.microblink
/
ProductDetector
Product
Detector
class
ProductDetector
:
Cancelable
Members
Constructors
Product
Detector
Link copied to clipboard
@
VisibleForTesting
constructor
(
@
NonNull
lookup
:
ProductLookup
)
Types
Listener
Link copied to clipboard
interface
Listener
Functions
add
Observer
Link copied to clipboard
open
fun
addObserver
(
@
NonNull
listener
:
ProductDetector.Listener
)
banner
Id
Link copied to clipboard
open
fun
bannerId
(
)
:
Int
cancel
Link copied to clipboard
open
fun
cancel
(
)
filter
Ocr
Products
By
Status
Link copied to clipboard
@
NonNull
open
fun
filterOcrProductsByStatus
(
@
NonNull
input
:
List
<
OcrProduct
>
,
@
NonNull
lookupStatus
:
LookupStatus
)
:
List
<
OcrProduct
>
lookup
Responses
Link copied to clipboard
@
NonNull
open
fun
lookupResponses
(
)
:
List
<
ProductIntelLookupResults
>
previously
Detected
QSRMerchant
Link copied to clipboard
open
fun
previouslyDetectedQSRMerchant
(
)
:
Boolean
recognize
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
>
>