Localization of the sensor nodes is a major obstacle for practical applications of the wireless sensor networks (WSNs). This Paper presents a cooperative localization method based on vision in wireless sensor networks. Based on the video vision characteristics, the distances between sensor nodes in the network are obtained with respect to some 3 chosen nodes whose locations are a- priori known. These in turn allow the estimation of the coordinates of each node. An averaging method is employed to refine the estimation. Some vision experiments are presented that demonstrate the performance of the proposed method and that refinement to the distance estimation.