public static class ModelPerformanceConfig.Merged extends ModelPerformanceConfig
Single model performing both detections and segmentation. Works faster, has better quality than separate models running with equal performance. Used if both segmentation and detection need to work with same FPS.
ModelPerformanceConfig.Merged, ModelPerformanceConfig.Separate
Constructor and Description |
---|
Merged(ModelPerformance performance)
Single model performing both detections and segmentation.
Works faster, has better quality than separate models running with equal performance.
Used if both segmentation and detection need to work with same FPS.
|
Modifier and Type | Method and Description |
---|---|
ModelPerformance |
component1() |
ModelPerformanceConfig.Merged |
copy(ModelPerformance performance)
Single model performing both detections and segmentation.
Works faster, has better quality than separate models running with equal performance.
Used if both segmentation and detection need to work with same FPS.
|
boolean |
equals(java.lang.Object p) |
ModelPerformance |
getPerformance() |
int |
hashCode() |
java.lang.String |
toString() |
public Merged(ModelPerformance performance)
Single model performing both detections and segmentation. Works faster, has better quality than separate models running with equal performance. Used if both segmentation and detection need to work with same FPS.
public ModelPerformance getPerformance()
public ModelPerformance component1()
public ModelPerformanceConfig.Merged copy(ModelPerformance performance)
Single model performing both detections and segmentation. Works faster, has better quality than separate models running with equal performance. Used if both segmentation and detection need to work with same FPS.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)