Skip to content
Permalink
Browse files

feat(audio): add preprocess and mfcc encoder for audio

  • Loading branch information...
jemmyshin committed Aug 7, 2019
1 parent 8d269aa commit 2647b8481a46d3fd1e5550b4a7b9e2855e058121
@@ -16,7 +16,7 @@
from .base import BaseAudioPreprocessor
import numpy as np
from ..helper import get_video_length_from_raw, get_audio
from ...proto import gnes_pb2, array2blob
from ...proto import array2blob


class AudioVanilla(BaseAudioPreprocessor):
@@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from typing import List

from ..base import BasePreprocessor
from ...proto import gnes_pb2
@@ -18,7 +18,7 @@
import numpy as np

from .base import BaseVideoPreprocessor
from ..helper import get_video_frames, get_audio, phash_descriptor, get_video_length_from_raw
from ..helper import get_video_frames, phash_descriptor
from ...proto import gnes_pb2, array2blob


0 comments on commit 2647b84

Please sign in to comment.
You can’t perform that action at this time.