Moving object detection is a fundamental and necessary step in many computer vision algorithms. These algorithms are built in many intelligent devices such as in the smartphones, the tachographs and the personal video recorders. Recently, the methods for performing the moving object detection based on the low-rank representation have been proposed. For these methods, it is assumed that the background is represented by a low-rank matrix. On the other hand, the foreground objects cannot be represented by low-rank matrices. They are seen as the outliers. Hence, detecting the contiguous outliers in the low-rank representation (DECELOR) can be formulated as an extension of the robust principal component analysis problem. This method fully utilizes the spatial continuity of the foreground regions. To achieve a more accurate detection, this paper integrates both the concave penalty function and the priori target rank information into a single optimization problem based on the DECELOR formulation. The optimization problem is efficiently solved by an alternating direction scheme. The computer numerical simulation results on the real-world scenes demonstrate the superiority of our method in terms of the effective handling of a wide range of complex scenarios.