The method used to identify and track humans in this research is based on edge detection. After subtracting the foreground from the background, using the edging method, the edges of the foreground areas are obtained; Then, the identification algorithm identifies people from top to bottom and removes them from the image. Finally, by using the Gaussian probability distribution, people are tracked according to their position in the previous form. This algorithm works well in crowded places and does not suffer from overlaps. Considering that stereo images are used in this study, the distance of people to the camera can also be determined.