Hi All,
I want to load and run tensorflow simple audio recognition demo (.pb or .pbtxt) file using opencv dnn module. I know we can load tensorflow model (.pb file) with following command:
cvNet = cv2.dnn.readNetFromTensorflow('speech_recognition_graph.pb')
But I don't know how I can give audio .wav file as input to this model. Can anyone know how I can generate BLOB data from an audio file? Or is there any other way to run above model?
For More Info: https://www.tensorflow.org/tutorials/sequences/audio_recognition
Note: I only have OpenCV python package and do not have straight forward tensorflow python package.