object BboxUtil
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BboxUtil
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bboxTransformInv(boxes: Tensor[Float], deltas: Tensor[Float], normalized: Boolean = false): Tensor[Float]
Note that the output are stored in input deltas
Note that the output are stored in input deltas
- boxes
(N, 4)
- deltas
(N, 4a)
-
def
bboxVote(scoresNms: Tensor[Float], bboxNms: Tensor[Float], scoresAll: Tensor[Float], bboxAll: Tensor[Float], areasBuf: Tensor[Float] = null): RoiLabel
- scoresNms
N
- bboxNms
N * 4
- scoresAll
M
- bboxAll
M * 4
- def clipBoxes(bboxes: Tensor[Float]): Tensor[Float]
-
def
clipBoxes(boxes: Tensor[Float], height: Float, width: Float, minH: Float = 0, minW: Float = 0, scores: Tensor[Float] = null): Int
Clip boxes to image boundaries.
Clip boxes to image boundaries. set the score of all boxes with any side smaller than minSize to 0
- boxes
N * 4a
- height
height of image
- width
width of image
- minH
min height limit
- minW
min width limit
- scores
scores for boxes
- returns
the number of boxes kept (score > 0)
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def decodeBboxesAll(allLocPreds: Array[Array[Tensor[Float]]], priorBoxes: Tensor[Float], priorVariances: Tensor[Float], nClasses: Int, bgLabel: Int, clipBoxes: Boolean, varianceEncodedInTarget: Boolean, shareLocation: Boolean, output: Array[Array[Tensor[Float]]] = null): Array[Array[Tensor[Float]]]
- def decodeBoxes(priorBoxes: Tensor[Float], priorVariances: Tensor[Float], isClipBoxes: Boolean, bboxes: Tensor[Float], varianceEncodedInTarget: Boolean, output: Tensor[Float] = null): Tensor[Float]
- def decodeRois(output: Tensor[Float]): Tensor[Float]
- def decodeWithWeight(encodeBox: Tensor[Float], bbox: Tensor[Float], weight: Array[Float], decodeBox: Tensor[Float]): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getAreas(boxes: Tensor[Float], areas: Tensor[Float], startInd: Int = 1, normalized: Boolean = false): Tensor[Float]
get the areas of boxes
get the areas of boxes
- boxes
N * 4 tensor
- areas
buffer to store the results
- returns
areas array
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getConfidenceScores(conf: Tensor[Float], numPredsPerClass: Int, numClasses: Int, confBuf: Array[Array[Tensor[Float]]] = null): Array[Array[Tensor[Float]]]
- def getGroundTruthIndices(result: Tensor[Float]): Map[Int, (Int, Int)]
- def getGroundTruths(result: Tensor[Float]): Map[Int, Tensor[Float]]
- def getLocPredictions(loc: Tensor[Float], numPredsPerClass: Int, numClasses: Int, shareLocation: Boolean, locPredsBuf: Array[Array[Tensor[Float]]] = null): Array[Array[Tensor[Float]]]
- def getPriorBboxes(prior: Tensor[Float], nPriors: Int): (Tensor[Float], Tensor[Float])
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val logger: Logger
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def scaleBBox(bboxes: Tensor[Float], height: Float, width: Float): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )