Satellite relative position and orientation determination algorithm by video processing is developed. The algorithm is numerically simulated and analyzed. Relative state determination accuracy depending on a distance and pre-defined points image size is investigated. Microsatellite 'Chibis-M' and SC 'Progress-13M' relative motion after separation is determined by the algorithm.