UNPKG
tfjs-tiny-yolov2
Version:
latest (0.4.0)
0.4.0
0.3.0
0.2.1
0.2.0
0.1.3
0.1.2
0.1.1
0.1.0
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
0.0.0
Tiny YOLO v2 object detection with tensorflow.js.
tfjs-tiny-yolov2
/
src
/
tinyYolov2
/
getDefaultBackwardOptions.ts
12 lines
(11 loc)
•
272 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{
CELL_SIZE
}
from
'./const'
;
import
{
TinyYolov2BackwardOptions
}
from
'./types'
;
export
function
getDefaultBackwardOptions
(
options: TinyYolov2BackwardOptions
) {
return
Object
.
assign
( {}, {
minBoxSize
:
CELL_SIZE
}, options ) }