Skip to content

Commit

Permalink
rename blobDetector
Browse files Browse the repository at this point in the history
  • Loading branch information
vberthiaume committed Dec 17, 2024
1 parent 3def1e1 commit 73c095f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/puara/descriptors/touch.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Touch
// touch array
int touchSizeEdge = 4; // amount of touch stripes for top and bottom portions (arbitrary)

BlobDetector blob;
BlobDetector blobDetector;
int brushCounter[maxNumBlobs]{};

// Arrays of LeakyIntegrator instances
Expand Down Expand Up @@ -65,7 +65,7 @@ class Touch
touchBottom = touchAverage(discrete_touch, (touchSize - touchSizeEdge), touchSize);

// 1D blob detection: used for brush
const auto movement = blob.detect1D(discrete_touch, touchSize);
const auto movement = blobDetector.detect1D(discrete_touch, touchSize);

// brush: direction and intensity of capsense brush motion
// rub: intensity of rub motion
Expand Down

0 comments on commit 73c095f

Please sign in to comment.