Copper strip surface defect method for quick under view-based access control model attention mechanism

The invention discloses the copper strip surface defect method for quick under a kind of view-based access control model attention mechanism, comprise the following steps, 1) input copper strip surface image, extracts copper strip surface image top-down attention information; 2) the bottom-up attention information of copper strip surface image is extracted; 3) statistical prior information of target and background interference in scene is introduced; 4) according to bottom-up and top-down attention information, collaborative work, sets up two-way collaborative visual attention model; 5) visual attention model by setting up, carries out copper strip surface defect on-line checkingi, output detections result.The present invention can solve the defects detection difficulties under complexity, severe work condition environment, and has very high real-time, reliability and robustness, clear thinking, and method is unique, has a good application prospect.