A computer-implemented method for hand detection and tracking, the method comprising: performing (S101) a hand detection in each image frame of a video; performing (S102) location tracking on a detected hand to obtain a tracking result when the hand is detected in an image frame, wherein the tracking result comprises coordinates of a positioning block used to identify a hand location in each image frame; and adjusting (S301) the positioning block to a size determined during hand training; verifying (S103) whether the tracking result is valid by sending (S302) the adjusted positioning block to a classifier, to determine whether the positioning block is a hand, wherein the tracking result is valid if the positioning block is a hand, otherwise, the tracking result is invalid; and in response to determining that the tracking result is valid , tracking (S103) the hand in a next frame or, if the tracking result is invalid, performing localized hand detection in the current frame based on the tracking result, wherein the performing localized hand detection comprises: determining (S501) a center of the positioning block, and defining a plurality of neighborhood blocks by using a specified step and a specified block size; adjusting (S502) each of the plurality of neighborhood blocks to the size determined during hand training; and separately sending (S503) the adjusted plurality of neighborhood blocks to the classifier, to determine a quantity of neighborhood blocks that are hands in the plurality of neighborhood blocks. performing (S101) a hand detection in each image frame of a video; performing (S102) location tracking on a detected hand to obtain a tracking result when the hand is detected in an image frame, wherein the tracking result comprises coordinates of a positioning block used to identify a hand location in each image frame; and adjusting (S301) the positioning block to a size determined during hand training; verifying (S103) whether the tracking result is valid by sending (S302) the adjusted positioning block to a classifier, to determine whether the positioning block is a hand, wherein the tracking result is valid if the positioning block is a hand, otherwise, the tracking result is invalid; and in response to determining that the tracking result is valid , tracking (S103) the hand in a next frame or, if the tracking result is invalid, performing localized hand detection in the current frame based on the tracking result, wherein the performing localized hand detection comprises: determining (S501) a center of the positioning block, and defining a plurality of neighborhood blocks by using a specified step and a specified block size; adjusting (S502) each of the plurality of neighborhood blocks to the size determined during hand training; and separately sending (S503) the adjusted plurality of neighborhood blocks to the classifier, to determine a quantity of neighborhood blocks that are hands in the plurality of neighborhood blocks. determining (S501) a center of the positioning block, and defining a plurality of neighborhood blocks by using a specified step and a specified block size; adjusting (S502) each of the plurality of neighborhood blocks to the size determined during hand training; and separately sending (S503) the adjusted plurality of neighborhood blocks to the classifier, to determine a quantity of neighborhood blocks that are hands in the plurality of neighborhood blocks. <EOS>