Patent ID: 11295454

Abstract:
This application discloses an object detection method, a security device, and a readable storage medium. The object detection method includes: obtaining a plurality of first frames acquired by imaging an object within a first period of time; obtaining a plurality of second frames acquired by imaging the object within a second period of time, where an end time of the first period of time is a start time of the second period of time; comparing each of the second frames with the plurality of first frames one by one to determine whether a position variation of the object between the second frame and the first frame is less than a first preset threshold; if it is determined that the position variation of the object is less than the first preset threshold, increasing a count by one (1) and obtaining a total count after comparison with the plurality of second frames is completed; determining whether the total count reaches a second preset threshold; and if the total count reaches the second preset threshold, determining that the object is stationary; or if the total count does not reach the second preset threshold, determining that the object is moving. This application improves accuracy of a detection method such as an AI detection method in detecting a state of a stationary object and reduces false alarms.