Class DeepAcousticsClassifier
java.lang.Object
rawDeepLearningClassifier.dlClassification.StandardClassifierModel
rawDeepLearningClassifier.dlClassification.archiveModel.ArchiveModelClassifier
rawDeepLearningClassifier.dlClassification.deepAcoustics.DeepAcousticsClassifier
- All Implemented Interfaces:
PamSettings,SettingsNameProvider,DLClassiferModel
A classifier based on the Deep Acoustics method which uses object detection
models within spectrograms to predict dolphin whistle detections and then
classify to species.
This extends the ArchiveModelClassifier to provide functionality for
interpreting the results from the Deep Acoustics model, which detects objects
within input segments. Specifically the deep acoustics model can return
multiple results per segment and bounding boxes (i.e. time and frequency
limits of input data is not necassarily the same as the output) which is
different from most other models
- Author:
- Jamie Macaulay
-
Nested Class Summary
Nested classes/interfaces inherited from class rawDeepLearningClassifier.dlClassification.StandardClassifierModel
StandardClassifierModel.StandardDLTaskThread -
Field Summary
FieldsFields inherited from class rawDeepLearningClassifier.dlClassification.archiveModel.ArchiveModelClassifier
archiveModelUI, archiveModelWorkerFields inherited from class rawDeepLearningClassifier.dlClassification.StandardClassifierModel
dlControl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the KetosWorker.getName()Get the name of the model.Create the parameters class for the model.voidPrepare the model.protected ArrayList<ArrayList<? extends PredictionResult>> processModelResults(ArrayList<? extends PamDataUnit> groupedRawData, List<StandardPrediction> modelResult) Process the model results - for example to add class names and time stamps.Methods inherited from class rawDeepLearningClassifier.dlClassification.archiveModel.ArchiveModelClassifier
getDLModelSettings, getDLParams, getDLWorker, getFileExtensions, getKetosParams, getModelUI, getSettingsReference, getSettingsVersion, getUnitName, getUnitType, isModelType, restoreSettings, setDLParamsMethods inherited from class rawDeepLearningClassifier.dlClassification.StandardClassifierModel
checkSettingsOK, closeModel, getAllowedDataTypes, getClassNameIDs, getClassNames, getDLControl, getModelStatus, getNumClasses, getRawSettingsPane, isDecision, isModelExtensions, millis2Samples, runModel, setModel
-
Field Details
-
MODEL_NAME
-
-
Constructor Details
-
DeepAcousticsClassifier
-
-
Method Details
-
getName
Description copied from interface:DLClassiferModelGet the name of the model.- Specified by:
getNamein interfaceDLClassiferModel- Overrides:
getNamein classArchiveModelClassifier- Returns:
- the name of the model.
-
makeParams
Description copied from class:ArchiveModelClassifierCreate the parameters class for the model. This can be overridden for bespoke parameters. classes.- Overrides:
makeParamsin classArchiveModelClassifier- Returns:
- a new parameters class object.
-
getModelWorker
Get the KetosWorker. this handles loading and running the Ketos model.- Overrides:
getModelWorkerin classArchiveModelClassifier- Returns:
- the Ketos worker.
-
prepModel
public void prepModel()Description copied from interface:DLClassiferModelPrepare the model. This is called on PAMGuard start up and before processing in viewer mode.- Specified by:
prepModelin interfaceDLClassiferModel- Overrides:
prepModelin classStandardClassifierModel
-
processModelResults
protected ArrayList<ArrayList<? extends PredictionResult>> processModelResults(ArrayList<? extends PamDataUnit> groupedRawData, List<StandardPrediction> modelResult) Description copied from class:StandardClassifierModelProcess the model results - for example to add class names and time stamps.- Overrides:
processModelResultsin classStandardClassifierModel- Parameters:
groupedRawData- - the grouped raw data used for input data into the modelmodelResult- - the model results.
-