Skip to content

Commit

Permalink
Removed unused not implemented classes. (#269)
Browse files Browse the repository at this point in the history
Removed never implemented ObjectInstances feature and the associated MLTFeaturesimportHandler.

Former-commit-id: f105f3a
  • Loading branch information
Spiess authored Feb 28, 2022
1 parent 0a12c27 commit 58fe7bf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 83 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import org.vitrivr.cineast.standalone.importer.vbs2019.AudioTranscriptImportHandler;
import org.vitrivr.cineast.standalone.importer.vbs2019.CaptionTextImportHandler;
import org.vitrivr.cineast.standalone.importer.vbs2019.GoogleVisionImportHandler;
import org.vitrivr.cineast.standalone.importer.vbs2019.MLTFeaturesImportHandler;
import org.vitrivr.cineast.standalone.importer.vbs2019.ObjectMetadataImportHandler;
import org.vitrivr.cineast.standalone.importer.vbs2019.TagImportHandler;
import org.vitrivr.cineast.standalone.importer.vbs2019.gvision.GoogleVisionCategory;
Expand Down Expand Up @@ -61,7 +60,7 @@ public class ImportCommand implements Runnable {

@Override
public void run() {
System.out.println(String.format("Starting import of type %s for '%s'.", this.type, this.input));
System.out.printf("Starting import of type %s for '%s'.%n", this.type, this.input);
final Path path = Paths.get(this.input);
final ImportType type = ImportType.valueOf(this.type.toUpperCase());
DataImportHandler handler = null;
Expand Down Expand Up @@ -102,9 +101,6 @@ public void run() {
/* Be aware that this is metadata which might already be comprised in merged vbs metadata */
handler = new ColorlabelImportHandler(this.threads, this.batchsize);
break;
case OBJECTINSTANCE:
handler = new MLTFeaturesImportHandler(this.threads, this.batchsize, this.clean);
break;
case LSCMETA:
handler = new MetaImportHandler(this.threads, this.batchsize, this.clean);
break;
Expand Down Expand Up @@ -165,6 +161,6 @@ private void doVisionImport(Path path) {
* Enum of the available types of data imports.
*/
private enum ImportType {
PROTO, JSON, LIRE, ASR, OCR, AUDIO, TAGS, METADATA, CAPTIONING, GOOGLEVISION, V3C1COLORLABELS, OBJECTINSTANCE, LSCMETA, LSCCONCEPT, LSCCAPTION, LSCX, LSCTABLE, LSCTAGSALL, LSCOCR, LSCSPATIAL, LSC21TAGS
PROTO, JSON, LIRE, ASR, OCR, AUDIO, TAGS, METADATA, CAPTIONING, GOOGLEVISION, V3C1COLORLABELS, LSCMETA, LSCCONCEPT, LSCCAPTION, LSCX, LSCTABLE, LSCTAGSALL, LSCOCR, LSCSPATIAL, LSC21TAGS
}
}

This file was deleted.

0 comments on commit 58fe7bf

Please sign in to comment.