Continuous Gesture Recognition for Resource Constrained Smart Objects