emgucv / emgutf

Emgu TF is a cross platform .Net wrapper for the Google Tensorflow library. Allows Tensorflow functions to be called from .NET compatible languages such as C#, VB, VC++, IronPython.
https://www.emgu.com/wiki/index.php/Emgu_TF
Other
215 stars 43 forks source link

ctc_decode #59

Open FranciscoBesteiro opened 3 years ago

FranciscoBesteiro commented 3 years ago

I'm using emgu.tf on a c# project where I need to use the function:

tf.keras.backend.ctc_decode( y_pred, input_length, greedy=True, beam_width=100, top_paths=1 )

However, I can't find in your solution a way to use it. Is it possible to use the function using your nugets? If not, Do you have a suggestion on how to use it?

emgucv commented 3 years ago

Emgu TF mainly exposed the Tensorflow C-API to C#: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/c/c_api.h

If it is not part of the C-API (such as the ctc_decode function you mention), it is not included in Emgu TF.

I tried to look for a CTC decode implementation in C# but couldn't find one. Sorry.