Touch Detection
The TouchDetect
task predicts if there is an object in contact with the surface of the sensor.
#
Available Pre-Trained ModelsThe following pre-trained models are available for use with the TouchDetect
task:
Dataset | Model Name | Accuracy |
---|---|---|
DIGIT | touchdetect_ | xx.yy |
GelSight | touchdetect_ | xx.yy |
OmniTact | touchdetect_ | xx.yy |
Joint (DIGIT, Gelsight, OmniTact) | joint_touchdetect_ | xx.yy |
#
UsageInitialize the TouchDetect
task with a sensor and pre-trained model,
Calling touch_detect
on an input sample predicts with certainty if there is an object touching the sensor surface.
#
NormalizationThe TouchDetect
task loads default transform and normalization values from pytouch.models.touch_detect.TouchDetectModelDefaults
and is suitable for any pre-trained model from the TorchVision
package.
For custom models provide a custom class when initializing TouchDetect
in the format of:
Where MyTouchDetectValues
are in the following format,