当前位置:网站首页>Some updates about a hand slider (6-18, JS reverse)
Some updates about a hand slider (6-18, JS reverse)
2022-06-24 23:01:00 【If you succeed, you have to be benevolent】
Preface : Three months apart I'm back again , I will never be tortured by bisher again
It has been almost a year since the last slide of a certain hand , The process is the same as before ( You can turn over the previous articles ), The specific changes are as follows :
1、 The scale of the picture
relativeX = int(round(int(distance) * 0.46, 0) - 3)
relativeY = round(int(disY) * 0.46)
2、 Track detected
// The scaling method used here ( I didn't add some random values , Those who are interested can improve themselves )
m_distance = 246
m_list = [[0, 19, 19], [0, 21, 67], [10, 22, 89], [18, 22, 95], [36, 22, 104], [61, 22, 114], [123, 22, 125],
[163, 22, 132], [195, 22, 140], [228, 22, 154], [268, 22, 158], [329, 22, 174], [384, 22, 186],
[409, 22, 193], [427, 22, 201], [449, 22, 208], [463, 22, 223], [478, 22, 227], [492, 22, 241],
[507, 22, 242], [518, 22, 252], [528, 22, 257], [539, 22, 266], [547, 22, 273], [557, 23, 286],
[568, 23, 291], [583, 23, 306], [590, 23, 318], [597, 23, 321], [601, 23, 335], [608, 23, 337],
[612, 23, 352], [623, 23, 359], [637, 23, 374], [641, 23, 384], [644, 23, 387], [652, 23, 393],
[655, 23, 401], [663, 23, 408], [666, 23, 419], [670, 23, 428], [673, 23, 437], [681, 23, 441],
[684, 23, 450], [684, 23, 457], [692, 23, 465], [695, 23, 482], [699, 23, 490], [699, 23, 504],
[702, 23, 529], [706, 23, 537], [710, 23, 555], [713, 23, 562], [713, 23, 578], [721, 23, 584],
[728, 24, 611], [728, 24, 627], [731, 24, 633], [735, 24, 643], [739, 24, 649], [742, 24, 657],
[742, 24, 667], [746, 24, 675], [750, 24, 681], [753, 24, 688], [757, 24, 697], [757, 24, 704],
[764, 24, 713], [768, 24, 721], [771, 24, 733], [775, 24, 740], [782, 24, 746], [786, 24, 753],
[789, 24, 764], [797, 24, 769], [800, 24, 785], [804, 24, 796], [807, 24, 809], [811, 24, 818],
[815, 24, 827], [815, 24, 842], [818, 24, 848], [822, 24, 868], [829, 24, 874], [829, 24, 889],
[833, 24, 897], [836, 24, 913], [840, 24, 920], [844, 24, 931], [844, 24, 945], [847, 24, 961],
[851, 24, 978], [855, 24, 985], [858, 24, 994], [858, 24, 1008], [862, 24, 1033], [865, 24, 1066],
[869, 24, 1081], [873, 24, 1097], [873, 24, 1233]]
x = distance / m_distance
one_list = []
for i in m_list:
list_ = []
for j in i:
list_.append(round(j * x))
one_list.append(list_)
str1 = ''
for k in one_list:
str1 += str(k[0]) + "|" + str(k[1]) + "|" + str(k[2]) + ","
print(" The trajectory :", str1[:-1])
return str1[:-1]
And then there was none , It's gone. It's gone , The next article on sliders might be 140, Bye-bye !
边栏推荐
- 【nvm】
- MySQL kills 10 people. How many questions can you hold on to?
- nuScenes——数据集配置过程中遇到图像文件缺失或大小为0时的补救方法
- CDN principle
- 大厂面试必问:如何解决TCP可靠传输问题?8张图带你详细学习
- Common sense of resolution
- vulnhub DC: 2
- China smallpox vaccine market trend report, technical innovation and market forecast
- Wechat side: what is consistent hash? In what scenario? What problems have been solved?
- Database transaction Transanction
猜你喜欢

开发规范~参数校验异常、异常返回提示切面

2022-06-16 work record --js- judge the number of digits in string type digits + judge the number of digits in numeric type digits + limit the text length (display n words at most, exceeding...)

07_SpingBoot 实现 RESTful 风格

【Mongodb】READ_ ME_ TO_ RECOVER_ YOUR_ Data, the database is deleted maliciously

2022年高处安装、维护、拆除考试模拟100题及模拟考试

【nvm】

Win10 or win11 printer cannot print

花房集团二次IPO:成于花椒,困于花椒

JD 618 conference tablet ranking list announced that the new dark horse brand staff will compete for the top three, learning from Huawei, the leader of domestic products

Tetris
随机推荐
Panorama of enterprise power in China SSD industry
「ARM 架构」是一种怎样的处理器架构?
机器学习编译入门课程学习笔记第一讲 机器学习编译概述
面试害怕被问MySQL相关问题 ?这份三万字精华总结 + 面试100 问,吊打面试官完全够了
环境配置 | VS2017配置OpenMesh源码和环境
C language operators and expressions
China Sky Lantern market trend report, technical dynamic innovation and market forecast
Nuscenes -- remedies for missing image files or 0-size images encountered during dataset configuration
Recommended movies: Northeast tiger, licorice pizza
Analyze the implementation process of oauth2 distributed authentication and authorization based on the source code
研究生宿舍大盘点!令人羡慕的研究生宿舍来了!
动态菜单,自动对齐
推送Markdown格式信息到钉钉机器人
Principle of IP routing
Research and investment strategy report on China's nano silver wire conductive film industry (2022 Edition)
CDN principle
Data communication foundation - Ethernet port mirroring and link aggregation
2022-06-10 工作记录--JS-获取到某一日期N天后的日期
EPICS record Reference 3 - - field available for all Records
Solution to the login error of tangdou people