LIS2DUX12 machine learning core advice
Hello. I have LIS2DUX12 accelerometer and have sucessfully ran machine learning example from STMems (activity_recognition_for_mobile) on our custom hardware.
https://github.com/STMicroelectronics/STMems_Standard_C_drivers/blob/master/lis2dux12_STdC/examples/lis2dux12_mlc_activity_mobile.c
For our application, we need to be able to reliably detect when our device is being transported with a car but its not so straightforward. The few difficulties include:
1. The device orientation is not fixed
2. The device may shake gently or move very slowly during its normal application. This is perfectly fine and we should somehow not detect that.
I have looked at different application_examples :
https://github.com/STMicroelectronics/STMems_Machine_Learning_Core/tree/master/application_examples
but not sure which would work best for us. If we cant find any suitable application example, we can try and train our own model with our own data.
I would appreciate if someone could share their insights and provide any feedback regarding our application. How should we handle different orientation problem and gentle shaking/slow movement?
