1. A method for tracking an object by an electronic device, comprising: detecting an object position in an initial frame to produce a detected object position; measuring one or more landmark positions based on the detected object position or a predicted object position; predicting the object position in a subsequent frame based on the one or more landmark positions; determining whether object tracking is lost; and avoiding performing object detection for the subsequent frame in a case that object tracking is maintained.