搜索资源列表
shiyan3
- 设计规则:假设有一个字符串为“ABCDE”, 每按下一次任意键(响应WM_KEYDOWN消息),该字符串就往前移动一格,当字符串的第一个字符碰到窗口的用户区域的边界时,该字符串就反方向移动。字符串每移动一格,颜色将随机地发生变化。 提示:假如初始状态设定字符串在(100,100)位置上,开始时A字符作为首字符向左移动,则新的位置变成(100+Δx,100),设Δx -10,重新显示整个字符串。当首字符的坐标位置小于0时,则Δx +10,字符串向右移动。说明Px和Py为两个静态的全局变量,用
demo.py
- word2vec生成词向量空间,为后续操作做准备,例如做分类学习,聚类学习,等对各种机器学习的方法做铺垫-Word2vec generate word vector space, for the preparation of follow-up operations, such as learning to do classification, clustering learning, and so on a variety of machine learning methods pave th
k-means.py
- k-means算法的python直接通过word2vec生成的向量空间数据放入,可直接获得所需要的聚类结果。可以自己设定输出的类别数目。-K-means algorithm directly into the vector space data generated by word2vec, you can directly obtain the desired clustering results. You can set the number of output categories.
aoa
- 本程序使用python编码,绝对原创,打开后先运行login.py,接着输入账号密码(admin,admin)就可以进入系统。程序虽小,然而功能足够,包括信息修改,添加,删除,更新等。-This program uses python code, absolutely original, opened the first run login.py, then enter the account password (admin, admin) can enter the system. Progr
battery_simulator.py
- The node publishes a floating point value on the /battery_level topic starting with the initial_battery_level and counting down to 0 over a time period specified by the battery_runtime parameter. Both parameters can be specified in a launch file
excution-template.py
- The predefined outcomes for a SimpleActionState are succeeded , aborted or preempted . The next step is to construct the overall state machine using these outcomes and states:
rs3.py
- n our current state machine we decided to move on to the next state even if the current transition had to be aborted. But it might be useful to keep a count of how often a goal was successful. For example, if this were a patrol robot and the succ
3
- QuickLib1.62期货行情交易库例子代码(CTP Python) 程序化交易 PYTHON CTP库 交易例子源代码 Quicklib 1.62 简化了配置文件中的字段 2016.9.21 Quicklib 1.61 (1)更新库兼容性 (2)增加了查询持仓的函数方法(包括 今日多单、非今日多单、今日空单、非今日空单、总多单、总空单持仓) (3)增加了控制台动态更新时打印显示持仓的方法 2016.9.19 Quicklib 1.60 (1)增加
bat
- 批处理文件自动运行py文件,用于开机自动运行-Batch file automatically run py file, used to boot automatically
KmeansClustering.py.tar
- a code in python for kmean clustering in image
FlowwithoutPyramidLevels.py.tar
- a code KL optical flow between two images
regiongrowing.py.tar
- segmentation using region growing in an image
guassianmeanshift.py.tar
- clustering in an image using guassian meanshift method
resize.py
- 用python实现图片的等比例缩放,使图片在缩放之后保持原来的形态-Using python to achieve equal-scale picture zoom
pageRankSipan.py
- Basic PageRank Alogrithm. Alpha normally sets as 0.85. Belta is 1-0.85.
grabcut.py
- opencv-python,交互式grabcut实现图像前景的提取,好用,效果好。-Opencv-python, interactive grabcut image foreground extraction, easy to use, can get good results.
ivp.py.tar
- Face recognition using gabor wavelets
topic.py
- 基于LSI的中文主题模型提取软件,对用户提供的文本进行分词后,提取出文本的主题,可自己定义提取出多少个主题。-Topic model
hand.py.tar
- 手势识别,基于python+opencv-Gesture Recognition
turtle.py
- This code is aimed at simulating the turtle law of transactions of stocks