# FlaskServer **Repository Path**: lu_hao_lin2020/FlaskServer ## Basic Information - **Project Name**: FlaskServer - **Description**: FlaskServer - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2021-01-17 - **Last Updated**: 2022-02-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Tornado Websocket Server - gitee:https://gitee.com/lu_hao_lin2020/FlaskServer ## Step1(运行websocket服务): 运行tornado_websocket_server.py,运行成功的话如图: ![输入图片说明](http://lu_hao_lin2020.gitee.io/image-box/step1.png) ## Step2(APP连接websocket服务): 打开APP,进入FPV界面,打开功能面板并点击”连接WS“按钮,连接websocket服务端。 ![输入图片说明](http://lu_hao_lin2020.gitee.io/image-box/s2.jpg) 弹出连接websocket对话框,输入服务端IP地址,然后点击“确定”按钮: ![输入图片说明](http://lu_hao_lin2020.gitee.io/image-box/s2-1.jpg) 顺利的的话,可以看见server端显示websocket连接开启,如图所示,则连接成功,可以开始传输图像数据: ![输入图片说明](http://lu_hao_lin2020.gitee.io/image-box/step1-2.png) ## Step3(APP通过websocket发送图像至server): 点击功能面板的“YUV Screen”按钮即可开始发送图像: ![输入图片说明](http://lu_hao_lin2020.gitee.io/image-box/s3.jpg) 顺利的话可以在server端看到APP发送的图像: ![输入图片说明](http://lu_hao_lin2020.gitee.io/image-box/s3-2.png)