From f42f56870c6201a876f025a423eb5540d7438e83 Mon Sep 17 00:00:00 2001 From: alexander Date: Fri, 16 Jul 2021 11:30:56 +0100 Subject: MLECO-2079 Adding the python KWS example Signed-off-by: Eanna O Cathain Change-Id: Ie1463aaeb5e3cade22df8f560ae99a8e1c4a9c17 --- python/pyarmnn/examples/tests/context.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 python/pyarmnn/examples/tests/context.py (limited to 'python/pyarmnn/examples/tests/context.py') diff --git a/python/pyarmnn/examples/tests/context.py b/python/pyarmnn/examples/tests/context.py new file mode 100644 index 0000000000..a678f94178 --- /dev/null +++ b/python/pyarmnn/examples/tests/context.py @@ -0,0 +1,22 @@ +# Copyright © 2021 Arm Ltd and Contributors. All rights reserved. +# SPDX-License-Identifier: MIT + +import os +import sys +import numpy as np + +script_dir = os.path.dirname(__file__) +sys.path.insert(0, os.path.join(script_dir, '..')) + +import common.cv_utils as cv_utils +import common.network_executor as network_executor +import common.utils as utils +import common.audio_capture as audio_capture +import common.mfcc as mfcc + +import speech_recognition.wav2letter_mfcc as wav2letter_mfcc +import speech_recognition.audio_utils as audio_utils + + + + -- cgit v1.2.1