Abstract

Motion detection is widely used in smart home applications. Nevertheless, it is crucial that a non-human movement does not trigger a motion sensor for various applications. For this purpose, camera-based sensors and machine learning are used. However, modern machine learning, such as deep neural networks (DNN), requires powerful hardware, which is expensive, has high power consumption, and requires a significant amount of storage space. Therefore, DNN object detection methods cannot be used directly on resource-constrained devices as the models require too much storage space. We present an object detection method for a resource-limited system where a camera-based human detection is computed directly on a small microcontroller to overcome these limitations. The key innovation enables object detection on a microcontroller with a small storage space and low computational power. With a unique image pre-processing and a feedforward artificial neural network (ANN), we reached a parameter reduction of the ANN of over 99 % compared to DNN image classification and object detection methods, allowing us to use the algorithm on an ESP32 with a detection rate of 83 ms. Furthermore, we also propose an approach that automatically generates a dataset from videos for the training of the ANN.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.