Demo/iOS is structured as follows.
- Demo
: Simple iOS Demo Project.
- BlurDiscriminatorKit
: Deep-Learning Based Framework. For inference image, use a TFLite(libtensorflow-lite.a, static library).
- build BlurDiscriminatorKit.xcframework
- in
./BlurDiscriminatorKit
, executesh build_blurDiscriminator.sh
in terminal. - after building BlurDiscriminatorKit.xcframework, BlurDiscriminatorKit.xcframework will be generated in
./BlurDiscriminatorKit/built_xcframework
- add BlurDiscriminatorKit.xcframework in Xcode Project.
- add BlurDiscriminatorKit.xcframework in
Embed Frameworks
and TFLite model.
- When you initialize a BlurDiscriminator, You have to pass the path that specify model location. In my case, I locate the model in App main bundle.
You can download a model, model directory.