Visual localization and object tracking for the NAO robot in dynamic environment