Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

InfiniTouch: Finger-Aware Interaction on Fully Touch Sensitive Smartphones

This repository contains both the hardware models and specifications for the full-touch smartphone prototype presented in the paper, as well as scripts and the model for estimating 3D finger positions on the device as described in the paper. Moreover, our dataset can be downloaded in the link provided below.


Smartphones are the most successful mobile devices and offer intuitive interaction through touchscreens. Current devices treat all fingers equally and only sense touch contacts on the front of the device. In this paper, we present InfiniTouch, the first system that enables touch input on the whole device surface and identifies the fingers touching the device without external sensors while keeping the form factor of a standard smartphone. We first developed a prototype with capacitive sensors on the front, the back and on three sides. We then conducted a study to train a convolutional neural network that identifies fingers with an accuracy of 95.78% while estimating their position with a mean absolute error of 0.74cm . We demonstrate the usefulness of multiple use cases made possible with InfiniTouch, including finger-aware gestures and finger flexion state as an action modifier.

This work can be cited as follows:

 author = {Le, Huy Viet and  Mayer, Sven and Henze, Niels},
 title = {InfiniTouch: Finger-Aware Interaction on Fully Touch Sensitive Smartphones},
 booktitle = {Proceedings of the 31th Annual ACM Symposium on User Interface Software and Technology},
 series = {UIST '18},
 year = {2018},
 isbn = {978-1-4503-5948-1},
 doi = {10.1145/3242587.3242605},
 url = {},
 location = {Berlin, Germany},
 numpages = {14},
 publisher = {ACM},
 address = {New York, NY, USA}


The dataset can be downloaded at: After downloading, place the content of this folder into a folder named 'data'. Place the 'data' folder into the same directory as the Jupyter notebooks. Run the content of these notebooks to create a HDF5 file with which the model can then be trained.


The datasheets of the components that we used in our prototype can be found in the following list of URLs:

We printed the PCB and placed the components on the board with the service of

Android Library

To use the library, include libftsp.jar in your Android project. The capacitive images for the local device can be accessed as follows:

LocalDeviceHandler localDeviceHandler = new LocalDeviceHandler();
localDeviceHandler.setLocalCapImgListener(new LocalCapImgListener() {
    public void onLocalCapImg(CapacitiveImageTS capImg) { // called approximately every 50ms
        int[][] matrix = capImg.getMatrix(); // get the 27x15 capacitive image
        int[] flattenedMatrix = capImg.getFlattenedMatrix(); // get a flattened 27x15 capacitive image
        long imgTimestamp = capImg.getTimestamp(); // get timestamp of this image

The following code is for the front unit. It provides the capacitive images of the front device (local) and further the retrieved capacitive imags of the back and the sides. All capacitive images can be retrieved within callbacks:

try {
    frontDeviceHandler = new FrontDeviceHandler(9584);
} catch (SocketException e) {

frontDeviceHandler.setFtspCapImgListener(new FTSPCapImgListener() {
    public void onNewBackCapacitiveImage(CapacitiveImageTS capacitiveImageTS) {
        // backImage = capacitiveImageTS;

    public void onNewFrontCapacitiveImage(CapacitiveImageTS capacitiveImageTS) {
        // frontImage = capacitiveImageTS;

    public void onNewSideCapacitiveImage(CapacitiveImageSide capacitiveImageSide) {
        // sideImage = capacitiveImageSide;

The back unit uses the respective code to broadcast the capacitive images to the front unit. A callback handler can also be added if required.

backDeviceHandler = new BackDeviceHandler(Constants.FRONT_IP, 9584);


InfiniTouch prototype schemes, models, and dataset




No releases published


No packages published