未提供项目说明

sida-cs228的Python项目详细描述


sida-cs228

安装

pip install sida-cs228

使用

移动手部数据使其标准化

^{pr2}$

伸出一只手,或将其另存为文件

fromsida.cs228.showimportshow_handdata=...# shape (5,4,6,n)show_hand(data[:,:,:,0],view_point="front",scale="unit")# show the first handshow_hand(data[:,:,:,1],view_point="side",scale="fit",fname="hand1.png")# save the side view of the second hand to a png file

标准化步骤

参数data的形状应该是:(5,4,6,n),其中n可以是任何整数。在

形状的意义是:5手指,4骨头,6坐标,n手。在

do函数的结果将满足以下条件:

(1) the base of index finger on the origin,

(2) the tip of the metacarpal bone of the index finger will on the point (0,1,0),

(3) the tip of the metacarpal bone of the baby finger will also on the x-y plane,

(4) the tip of the metacarpal bone of the thumb will be on the +z side.

标准化后,前视图如下:

Front view

侧视图如下:

Side View

主要源代码在以下文件中:

https://github.com/liusida/sida-cs228/blob/master/sida/cs228/standardize.py

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java JavaFX TableView更新单元格,不更新对象值   在扫描器中使用分隔符的java   java OkHttp 4.9.2,连接无法重用,导致端口耗尽   eclipse中的c JNI:运行Java代码   java是否在出厂的所有硬件设备中都有/mnt/sdcard/Android/data文件夹(或等效文件夹)?   Java,在eclipse中访问资源文件夹中的图像   java为什么Bluemix dashDB操作抛出SqlSyntaxErrorException,SQLCODE=1667?   JavaHtmlUnitWebClient。getPage不处理javascript   Google API认证的java问题   java如何将JSON数组反序列化为Apache beam PCollection<javaObject>   ServerSocket停止接收命令,java/安卓   来自Java类的安卓 Toast消息   java如何自动重新加载应用程序引擎开发服务器?   java是否可以尝试/捕获一些东西来检查是否抛出了异常?   java如何做到这一点当我按下load game时,它不仅会加载信息,还会将您带到游戏中?   Java选项Xmx代表什么?   Java映射,它在插入时打印值   设置“ulimit c unlimited”后,java无法生成系统核心转储