Metadata-Version: 2.5
Name: eskin
Version: 0.1.0
Summary: USB reader and live browser visualiser for 48x48 iontronic e-skin tactile sensors
Project-URL: Homepage, https://github.com/asEmbodiedAISyst/eskin
Project-URL: Documentation, https://asembodiedaisyst.github.io/eskin/
Project-URL: Repository, https://github.com/asEmbodiedAISyst/eskin
Project-URL: Issues, https://github.com/asEmbodiedAISyst/eskin/issues
Author-email: Jinqi Wei <jinqi.wei@mbzuai.ac.ae>
License-Expression: MIT
License-File: LICENSE
Keywords: e-skin,robotics,sensor,serial,tactile
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: System :: Hardware :: Universal Serial Bus (USB)
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: pyserial>=3.5
Provides-Extra: numpy
Requires-Dist: numpy>=1.24; extra == 'numpy'
Description-Content-Type: text/markdown

# eskin

[中文](https://github.com/asEmbodiedAISyst/eskin/blob/main/README.zh-CN.md)

`eskin` reads 48×48 iontronic e-skin tactile sensors over USB.
It gives you each frame as 2304 pressure counts, and it includes a live heatmap that runs in your browser.
The only runtime dependency is `pyserial`.

## Install

```bash
pip install eskin            # or: pip install "eskin[numpy]"
```

`eskin` needs Python 3.10 or later.

## Quick start

Connect the sensor. Do not touch the pad during the first second: the reader records a resting baseline.

```bash
eskin viz        # live heatmap at http://127.0.0.1:8765
eskin stream     # frame statistics in the terminal
```

```python
from eskin import EskinReader

with EskinReader() as reader:
    reader.calibrate()
    for frame in reader.frames():
        print(frame.max(), frame[10, 20])  # (row, column)
```

## Documentation

The documentation is at <https://asembodiedaisyst.github.io/eskin/>, in English and Chinese.
It has a user guide, a developer guide and guides for AI agents.

## License

[MIT](https://github.com/asEmbodiedAISyst/eskin/blob/main/LICENSE)

## Citation

The sensor technology is described in this paper. If you use the sensor in your research, cite it:

```bibtex
@article{li2026iontronic,
  title   = {Large-scale iontronic skins with neural-hierarchical processing architecture},
  author  = {Li, Zhibin and Da, Bingxu and Shi, Junli and Wang, Taihong and Si, Wenlong and Li, Bowen and He, Hanxiang and Liao, Zelong and Wu, Tianyu and Han, Xudong and Bai, Longyi and Kong, He and Song, Chaoyang and Guo, Chuan Fei},
  journal = {Nature Machine Intelligence},
  year    = {2026},
  doi     = {10.1038/s42256-026-01325-6}
}
```
