Extends
Methods
getFeeds(imgTensor, imScaleX, imScaleY)
get session infer feeds.
Parameters:
Name | Type | Description |
---|---|---|
imgTensor |
image tensor | |
imScaleX |
image scale factor of x axis | |
imScaleY |
image scale factor of y axis |
Returns:
session infer feeds
infer(imgRGBA, drawThreshold)
detection infer.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
imgRGBA |
RGBA image | ||
drawThreshold |
0.5 | threshold of detection |
Returns:
bboxes of the detection
loadConfigs(inferConfig)
load infer configs
Parameters:
Name | Type | Description |
---|---|---|
inferConfig |
model infer config URL |
- Inherited From:
- Source:
postProcess(resultsTensors, …args)
detection postprocess.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
resultsTensors |
result tensors | ||
args |
<repeatable> |
postprocess args |
Returns:
bboxes of the detection
preProcess(…args)
model preprocess function.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
args |
<repeatable> |
preprocess args |
- Inherited From:
- Source:
Returns:
session infer feeds