toggle menu
Genius Scan SDK
99.0
androidJvm
switch theme
search in API
Genius Scan SDK
/
com.geniusscansdk.camera.realtime
/
BorderDetector
Border
Detector
open
class
BorderDetector
:
BorderDetectionThreadManager.BorderDetectionCallback
Members
Constructors
Border
Detector
Link copied to clipboard
constructor
(
documentDetector
:
DocumentDetector
)
Types
Border
Detector
Listener
Link copied to clipboard
interface
BorderDetectorListener
Functions
is
Enabled
Link copied to clipboard
open
fun
isEnabled
(
)
:
Boolean
on
Border
Detection
Failed
Link copied to clipboard
open
fun
onBorderDetectionFailed
(
e
:
Exception
)
on
Border
Detection
Finished
Link copied to clipboard
open
fun
onBorderDetectionFinished
(
result
:
QuadStreamAnalyzer.Result
)
on
Preview
Frame
Link copied to clipboard
open
fun
onPreviewFrame
(
data
:
Array
<
Byte
>
,
width
:
Int
,
height
:
Int
,
stride
:
Int
,
format
:
Int
)
remove
Listener
Link copied to clipboard
open
fun
removeListener
(
)
reset
Link copied to clipboard
open
fun
reset
(
)
set
Auto
Trigger
Listener
Link copied to clipboard
open
fun
setAutoTriggerListener
(
listener
:
BorderDetector.BorderDetectorListener
)
set
Document
Detector
Link copied to clipboard
open
fun
setDocumentDetector
(
documentDetector
:
DocumentDetector
)
set
Enabled
Link copied to clipboard
open
fun
setEnabled
(
enabled
:
Boolean
)