jacano / CameraTF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recreate project

EnricoBeltramo opened this issue · comments

For testing purpose, I tried to recreate the project from scratch, but ever I copy all configuration and files, I have a crash when the app starts tfinvoke. I suppose is a problem of loading the native libraries emgu.
Where did you find the native libraries?
how canI load them correctly from Visual Studio project?

I find that I miss to set the compile option for .so files as andridnativelibray, so now the recreated project works correctly. But still I don't know where found or rebuild the native library

commented

Similar, maybe the same issue, getting this:
System.TypeInitializationException: The type initializer for 'Emgu.TF.Lite.TfLiteInvoke' threw an exception.
insite the FlatBufferModel

@jacano can you help us recreate the project?

commented

I have the same problem. I work on Raspberry Pi.
When create an interpreter, it throws an exception shows:
The type initializer for 'Emgu.TF.Lite.TfLiteInvoke' threw an exception.
so i cannot load my machine learning model to finish the project ....

commented

insite the FlatBufferModel

I met the same problem when using emgu.tf.lite! Do you have a solution to it? I'm very nervous and upset about it. :(

I did remove the Emgu.tf.lite (Was having problems and its not free)
Give me your TFlite file and i will check if this works
If it works i will give my work version
Its working but i need to clean it up

Fixes it it works Nv21 not properly decoding red and blue are swaped