如何将 Flutter 应用程序与 Python 代码集成 [英] How to integrate Flutter app with Python code

查看:54
本文介绍了如何将 Flutter 应用程序与 Python 代码集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编写了一个 python 代码,可以使用面部识别标记出勤.它基本上会在 .csv 文件中写入那些面部与我提供的数据(我的朋友和我的朋友的图像)匹配的人的(姓名、注册号和进入时间).

I have written a python code that can mark attendance using face recognition. It basically writes the (Name, Registration no. and entry time) in .csv file of those whose faces match with the data(images of my friends and mine) that i've provided.

现在我想制作一个使用此 python 代码的应用程序(使用 flutter).

And now I want to make an app(using flutter) that uses this python code.

对此我应该采取什么方法?

What should be my approach to this?

推荐答案

我建议你使用或转换你的 Python 代码作为后端代码和 Flutter 代码作为前端代码.之后,您的 Flutter 应用程序可以通过 HTTP 请求调用 API 并获取它想要的数据.

I suggest you to use or convert your Python code as a Back-end code and Flutter code as Front End code. After that, your Flutter application can call the API via HTTP Requests and get data that it wants.

进一步阅读我的建议:

这篇关于如何将 Flutter 应用程序与 Python 代码集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆