We aim to capture user biometrics, including facial images, fingerprints, and voice recordings. To ensure the quality of these inputs, we use TFLite models to validate whether the captured face, fingerprints, and voice meet acceptable standards.
Is it feasible to integrate these TFLite model files into CS Entry Questionnaire apps for real-time validation?
Using TFLite models with CAPI forms
-
- Posts: 1
- Joined: November 22nd, 2024, 12:46 pm
Re: Using TFLite models with CAPI forms
It's possible to use any browser compatible JS libraries with a CSPro App. Take a look on specific browser ready TF JS libs here: https://github.com/tensorflow/tfjs, https://www.npmjs.com/package/@tensorflow/tfjs-tflite.
Here: https://www.csprousers.org/help/CSPro/a ... t_web.html , https://www.csprousers.org/help/CSPro/a ... edded.html
you can see how to:
- Call CSPro logic function in JS;
- Share data between JS and CSPro.
If CSPro 8.1 support calling JS function directly in CSPro logic (via QuickJS) as Aaron mentioned here: viewtopic.php?p=18011, integrating any standard JS libs or ESM module will be easier and more transparent. For example, it will be possible to run heavy workload CPU JS libs in worker thread and receive posted messages directly in CSPro logic.
Some very advanced CSPro Developers are planning even more : https://agrilinks.org/post/modernizing- ... ta-quality
In the meantime, I can see a browser ready TFLite example here: https://github.com/TannerGilbert/Run-TF ... on-the-web
Please take a look since this should work with CSPro.
Hope this help.
Here: https://www.csprousers.org/help/CSPro/a ... t_web.html , https://www.csprousers.org/help/CSPro/a ... edded.html
you can see how to:
- Call CSPro logic function in JS;
- Share data between JS and CSPro.
If CSPro 8.1 support calling JS function directly in CSPro logic (via QuickJS) as Aaron mentioned here: viewtopic.php?p=18011, integrating any standard JS libs or ESM module will be easier and more transparent. For example, it will be possible to run heavy workload CPU JS libs in worker thread and receive posted messages directly in CSPro logic.
Some very advanced CSPro Developers are planning even more : https://agrilinks.org/post/modernizing- ... ta-quality
In the meantime, I can see a browser ready TFLite example here: https://github.com/TannerGilbert/Run-TF ... on-the-web
Please take a look since this should work with CSPro.
Hope this help.
G.VOLNY, a CSProuser from Haiti, since 2004