A method for detecting a needle, the method comprises arranging an ultrasound probe such that it scans an area covering a needle inserted into a tissue and nearby tissue around the needle, collecting a plurality of ultrasound frames associated with motion of the nearby tissue, determining movement information of the nearby tissue, post-processing the movement information of the nearby tissue to determine a position of the needle, and outputting information relating to the position of the needle.