手势识别易语言代码

.版本 2

.子程序 __启动窗口_创建完毕
'添加并使用《精易模块》
Send_API ()

.子程序 Send_API
.局部变量 REQU_Data, 文本型, , , 提交字符串
.局部变量 return, 文本型, , , 返回字符串
.局部变量 API_URL, 文本型, , , 接口地址
.局部变量 API_KEY, 文本型, , , 接口密钥

API_URL = “https://www.maitanbang.com/api/gesture/index”
API_KEY = “UvmkF8vNdyTzCACN5XeMIEzxS2”
REQU_Data = “&image=” + 编码_URL编码(“123”,真,真)
return = 编码_Utf8到Ansi (网页_访问 (API_URL, 1, “key=” + API_KEY + REQU_Data, , , “User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36”))
输出调试文本 (return)

 

根据摄像头拍摄的人体动作来演奏音乐 ======================================================================== CONSOLE APPLICATION : MusicPlay ======================================================================== AppWizard has created this MusicPlay application for you. This file contains a summary of what you will find in each of the files that make up your MusicPlay application. MusicPlay.dsp This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the makefiles locally. MusicPlay.cpp This is the main application source file. MusicPlay.rc This is a listing of all of the Microsoft Windows resources that the program uses. It includes the icons, bitmaps, and cursors that are stored in the RES subdirectory. This file can be directly edited in Microsoft Visual C++. ///////////////////////////////////////////////////////////////////////////// Other standard files: StdAfx.h, StdAfx.cpp These files are used to build a precompiled header (PCH) file named MusicPlay.pch and a precompiled types file named StdAfx.obj. Resource.h This is the standard header file, which defines new resource IDs. Microsoft Visual C++ reads and updates this file. ///////////////////////////////////////////////////////////////////////////// Other notes: AppWizard uses "TODO:" to indicate parts of the source code you should add to or customize. /////////////////////////////////////////////////////////////////////////////
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值