Skip to main content

sida-cs228

Installation

pip install sida-cs228

Usage

Moving the data of the hands to make them standardized

import sida.cs228.standardize as std
data = ... # shape (5,4,6,n)
std_data = std.do(data)

Show one hand, or save it as a file

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

Standardizing steps

The shape of the argument data should be: (5,4,6,n), where n can be any integer.

The meaning of the shape is: 5 fingers, 4 bones, 6 coordinates, n hands.

The result of do function will satisfy those conditions:

(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.

After standardization, the front view will be like this:

Front view

And the side view will be like this:

Side View

The main source code is in this file:

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

Metadata

Release files for sida-cs228 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sida-cs228 0.0.3
File Size Uploaded Provenance Actions
sida_cs228-0.0.3.tar.gz 1.3 MB Without provenance Details for sida_cs228-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sida-cs228 0.0.3
File Interpreter ABI Platform Actions
sida_cs228-0.0.3-py2-none-any.whl Python 2 none any Details for sida_cs228-0.0.3-py2-none-any.whl

Total release size: 1.3 MB

Release files / sida_cs228-0.0.3.tar.gz

Download URL sida_cs228-0.0.3.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
aed22a88f43bf22eaeff75be544ad820b1ca3ce599773fa539125479039534c9
BLAKE2b-256 checksum
How to use checksums
bce38921d2bea44737d77fe83ac1aa049842b09a18be1c6f59e6480f33feb3c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.16

Release files / sida_cs228-0.0.3-py2-none-any.whl

Download URL sida_cs228-0.0.3-py2-none-any.whl
Size 5.5 kB
Tags Python 2
SHA-256 checksum
How to use checksums
e6217a43205bd806fd47f1c1b1ca7ca476a92e50af9f825edc16b79bae167f62
BLAKE2b-256 checksum
How to use checksums
4549254328f1e1cf8dab756e582836eae5eaf40418d3c9176ab6af86d7af26d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.16

Security for sida-cs228 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page