I wish to run TFLite inference inside objective-c supply file. e.g. in ViewController.mm. How can I embrace TFLite library?
similar to #embrace “tensorflow/lite/interpreter.h”
I attempted to construct a TensorFlowLiteC static library and import to a mediapipe undertaking, however there’s duplicate image error:
duplicate image 'tflite::InterpreterBuilder::operator()(std::__1::unique_ptr<tflite::Interpreter, std::__1::default_delete<tflite::Interpreter> >*)' in:
bazel-out/ios-arm64-min13.0-applebin_ios-ios_arm64-fastbuild-ST-cb3724bb2847/bin/exterior/org_tensorflow/tensorflow/lite/libcc_api_stable.lo(interpreter_builder.o)
mediapipe/examples/ios/SignLangTranslate_holistic_postdata_tflite/SignLangTranslate/TensorFlowLiteC.framework/duplicate image 'tflite::InterpreterBuilder::operator()(std::__1::unique_ptr<tflite::Interpreter, std::__1::default_delete<tflite::Interpreter> >*)' in:
bazel-out/ios-arm64-min13.0-applebin_ios-ios_arm64-fastbuild-ST-cb3724bb2847/bin/exterior/org_tensorflow/tensorflow/lite/libcc_api_stable.lo(interpreter_builder.o)
mediapipe/examples/ios/SignLangTranslate_holistic_postdata_tflite/SignLangTranslate/TensorFlowLiteC.framework/TensorFlowLiteC(interpreter_builder.o)(interpreter_builder.o)
So I think after I construct the mediapipe undertaking by Bazel, already linked to the TfLite library. So the query is that how can I take advantage of this include TFLite library, as a substitute of I import my very own construct TFLite library.
Please assist, thx.