简体   繁体   中英

integrate facial recognition (model trained in python) in advance java projects

I want to develop a WEb-based voting system in java. The system has facial recognition and OTP verification. I have aa facial recognition code in python and the model is 85% accurate. How can I implement facial recognition in my web based voting system?

You can call the python program/function in your Java code in some way, but it's not recommended.

My advice is to build a python backend service (using Flask, for example, it's a light-weighted framework for python web services) and call your python service via HTTP request in your Java project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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