org.canova.image.recordreader

Class VideoRecordReader

  • All Implemented Interfaces:
    Closeable, Serializable, AutoCloseable, org.canova.api.conf.Configurable, org.canova.api.records.reader.RecordReader, org.canova.api.records.reader.SequenceRecordReader


    public class VideoRecordReaderextends Objectimplements org.canova.api.records.reader.SequenceRecordReader
    A video is just a moving window of pictures. It should be processed as cuh. This iterates over a root folder and returns a
    Author:
    Adam Gibson
    See Also:
    Serialized Form
    • Field Detail

      • WIDTH

        public static final String WIDTH
      • HEIGHT

        public static final String HEIGHT
    • Constructor Detail

      • VideoRecordReader

        public VideoRecordReader()
      • VideoRecordReader

        public VideoRecordReader(int width,                         int height,                         List<String> labels)
        Load the record reader with the given width and height
        Parameters:
        width - the width load
        height - the height to load
      • VideoRecordReader

        public VideoRecordReader(int width,                         int height,                         boolean appendLabel,                         List<String> labels)
      • VideoRecordReader

        public VideoRecordReader(int width,                         int height)
        Load the record reader with the given width and height
        Parameters:
        width - the width load
        height - the height to load
      • VideoRecordReader

        public VideoRecordReader(int width,                         int height,                         boolean appendLabel)
    • Method Detail

      • next

        public Collection<org.canova.api.writable.Writable> next()
        Specified by:
        next in interface org.canova.api.records.reader.RecordReader
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface org.canova.api.records.reader.RecordReader
      • sequenceRecord

        public Collection<Collection<org.canova.api.writable.Writable>> sequenceRecord()
        Specified by:
        sequenceRecord in interface org.canova.api.records.reader.SequenceRecordReader
      • setConf

        public void setConf(org.canova.api.conf.Configuration conf)
        Specified by:
        setConf in interface org.canova.api.conf.Configurable
      • getConf

        public org.canova.api.conf.Configuration getConf()
        Specified by:
        getConf in interface org.canova.api.conf.Configurable
      • getLabels

        public List<String> getLabels()
        Specified by:
        getLabels in interface org.canova.api.records.reader.RecordReader
      • reset

        public void reset()
        Specified by:
        reset in interface org.canova.api.records.reader.RecordReader

Copyright © 2015. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14