1. An object detection method, suitable for detecting moving objection information of a video stream comprising a plurality of images, the method comprising: performing a moving object foreground detection on each of the images to obtain a first foreground detection image comprising a plurality of moving objects; performing a texture object foreground detection on each of the images to obtain a second foreground detection image comprising a plurality of texture objects; and filtering the moving objects in the first foreground detection image and the texture objects in the second foreground image, and outputting the remaining moving objects or texture objects after the filtering as the moving object information, wherein the step of performing the texture object foreground detection on each of the images to obtain the second foreground detection image comprising the plurality of texture objects comprises: for a plurality pixels in the consecutive images calculating a local binary pattern for each pixel in each image and using the local binary pattern as texture information of the pixel; comparing the texture information of each of the pixels in adjacent images to determine whether the pixel is a texture pixel; and labeling the texture pixels which are connected as the texture object and gathering the texture objects to form the second foreground detection image.