Development of a low-cost, yet reliable, system for 2D gait analysis is presented in this paper. The system consists of a home video camera with speed of 25 fps, LED markers, PC and a technical computing software, which are used for capturing and processing the digital image of markers attached to human body during motion. In the experiments, a person is instructed to walk in a specially arranged measurement area. The recorded images are then digitally processed to detect and track the 2D coordinate of the markers over time. To conduct a dynamics analysis, a mathematical formulation for human motion is constructed where the body is modeled by a system of five rigid bars connected by joints. Finally, a program is developed to plot and calculate the kinematics and dynamics data of human gait, where the markers position data over time, and other variables such as dimensions and weight of the body are used as the input in the program.