com.intel.analytics.bigdl.transform.vision.image.augmentation
DetectionCrop
Companion object DetectionCrop
class DetectionCrop extends Crop
Crop from object detections, each image should has a tensor detection, which is stored in ImageFeature
- Alphabetic
- By Inheritance
- DetectionCrop
- Crop
- FeatureTransformer
- Transformer
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
DetectionCrop(roiKey: String, normalized: Boolean = true)
- roiKey
roiKey that map a tensor detection
- normalized
whether is detection is normalized, i.e. in range [0, 1]
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
->[C](other: Transformer[ImageFeature, C]): Transformer[ImageFeature, C]
- Definition Classes
- FeatureTransformer → Transformer
-
def
->(other: FeatureTransformer): FeatureTransformer
- Definition Classes
- FeatureTransformer
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(imageFrame: ImageFrame): ImageFrame
- Definition Classes
- FeatureTransformer
-
def
apply(prev: Iterator[ImageFeature]): Iterator[ImageFeature]
- Definition Classes
- FeatureTransformer → Transformer
-
def
apply(dataset: RDD[ImageFeature])(implicit evidence: ClassTag[ImageFeature]): RDD[ImageFeature]
Apply this transformer to rdd
Apply this transformer to rdd
- Definition Classes
- Transformer
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
cloneTransformer(): Transformer[ImageFeature, ImageFeature]
- Definition Classes
- Transformer
-
def
enableIgnoreException(): DetectionCrop.this.type
catch the exception of the transformer to avoid crashing.
catch the exception of the transformer to avoid crashing.
- Definition Classes
- FeatureTransformer
-
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
generateRoi(feature: ImageFeature): BoundingBox
how to generate crop roi
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
setOutKey(key: String): DetectionCrop.this.type
set the output key to store current transformed result if the key is not set, or same as default, then the transformed result will be overwritted by the following transformer
set the output key to store current transformed result if the key is not set, or same as default, then the transformed result will be overwritted by the following transformer
- key
output key
- Definition Classes
- FeatureTransformer
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
transform(feature: ImageFeature): ImageFeature
transform feature
-
def
transformMat(feature: ImageFeature): Unit
transform mat
transform mat
- Definition Classes
- Crop → FeatureTransformer
-
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( ... )