Sensor API·C++/Python·CC-BY-4.0
DIGIT
Low-cost, compact, high-resolution tactile sensor.
Overview
Open hardware and firmware for the DIGIT sensor, an inexpensive vision-based fingertip that streams gel-deformation images over USB. The repo includes CAD, a bill of materials, and a Python interface for grabbing frames.
Install
pip (interface)
pip install digit-interfaceconnect
python -m digit_interface.digit_handlerExample · Stream frames from a DIGIT
example.py
from digit_interface import Digit
d = Digit("D20001") # serial number
d.connect()
d.set_resolution(Digit.STREAMS["QVGA"])
frame = d.get_frame() # numpy HxWx3 gel image