简体   繁体   English

如何在 swift 中使用 python 方法>

[英]How to use a python method in swift>

My apps is to do facial recognition attendance taking.我的应用程序是做面部识别考勤。 I have the function which is written in python;我有用python编写的函数; but I am not sure how to use it in my iPhone apps (Swift).但我不确定如何在我的 iPhone 应用程序 (Swift) 中使用它。 Any idea?任何的想法? thanks.谢谢。

You have to create an iOS Application using iOS frameworks:您必须使用 iOS 框架创建一个 iOS 应用程序:

1) CoreML - You can create a new Model for your dataSet or port your existing model to that of an iOS supported type. 1) CoreML - 您可以为数据集创建新模型或将现有模型移植到 iOS 支持的类型。

2) Vision - For face/image recognition. 2) 视觉 - 用于人脸/图像识别。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM