Text this: Design and Implementation of a Self-Calibration Paper Counting System Using Capacitive Sensing and Curve Fitting