简体   繁体   English

Python脚本的Web前端

[英]Web front end for Python script

I have a Python script doing the grunt work of my motion tracking program. 我有一个Python脚本来完成我的运动跟踪程序的艰苦工作。 I have an OpenCV program sending coordinate data (integers) to my Python script. 我有一个OpenCV程序,将坐标数据(整数)发送到我的Python脚本。

I would like a very simple web page, one with 4-5 buttons which sends it to the python script for processing. 我想要一个非常简单的网页,该网页带有4-5个按钮,可将其发送到python脚本进行处理。

I'd prefer the web page be lightweight and compatible with mobile devices. 我希望网页轻巧并与移动设备兼容。 I just need something very simple to send commands via tcp, rpc, or whatever means. 我只需要一些非常简单的东西,即可通过tcp,rpc或其他方式发送命令。 I'm seeing lots of frameworks and the like, it seems a bit overkill to me for something static and simple. 我看到了很多框架之类的东西,对于静态和简单的东西来说,对我来说似乎有点过大了。

OpenCV -\\ OpenCV-\\
cedar-sentinel.py -> motors cedar-sentinel.py->电动机
Web page -/ 网页 -/

Web page ideals has Left, Right, Fast, Slow, Toggle Tracking State as buttons that send information (commands, IDs, something identifying of button pressed) to cedar-sentinel.py. 理想情况下,网页具有将“左”,“右”,“快”,“慢”,“切换跟踪状态”作为将信息(命令,ID,所按下按钮的标识)发送到cedar-sentinel.py的按钮。

Thanks, Joel 谢谢,乔尔

查看Bottle: http//bottlepy.org/docs/stable/

好吧,最简单的可能就是老式CGI。

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

相关问题 Gwt前端与python Web服务器 - Gwt Front end with python web server 从Angular 2前端调用后端python脚本 - Calling a back end python script from Angular 2 front end 没有前端的REST / JSON Web服务的Python框架是什么? - What Python framework for a REST/JSON web service with no front end? 交互式可视化 - Python后端和Web前端 - Interactive Visualizations-Python backend and web front end python web 应用程序前端为什么会抛出异常? - Why front end of the python web application throws an exception? 如何将参数从前端传递到python脚本 - How to pass parameters from front end to python script 如何将全栈 web 应用程序与 Angular 作为前端和 Python 作为后端进行对接? [等候接听] - How to dockerize a full stack web app with Angular as front-end and Python as back-end? [on hold] 无法使用 html 前端将输入传递给 python 脚本使用 flask - cannot get html front end to pass input to python script using flask 用于部署在heroku上的python flask Web应用程序。 前端如何知道动态后备服务器端口? - for a python flask web app deployed on heroku. how front end know dynamic backed server port? 用于c ++代码的Web前端 - Web front-end for c++ code
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM