Food Intake Actions Detection: An Improved Algorithm Toward Real-Time Analysis