In recent years, Artificial Intelligence (AI) has revolutionized people's lives. AI has long made breakthrough progress in the field of surgery. However, the research on the application of AI in orthopedics is still in the exploratory stage. The paper first introduces the background of AI and orthopedic diseases, addresses the shortcomings of traditional methods in the detection of fractures and orthopedic diseases, draws out the advantages of deep learning and machine learning in image detection, and reviews the latest results of deep learning and machine learning applied to orthopedic image detection in recent years, describing the contributions, strengths and weaknesses, and the direction of the future improvements that can be made in each study. Next, the paper also introduces the difficulties of traditional orthopedic surgery and the roles played by AI in preoperative, intraoperative, and postoperative orthopedic surgery, scientifically discussing the advantages and prospects of AI in orthopedic surgery. Finally, the article discusses the limitations of current research and technology in clinical applications, proposes solutions to the problems, and summarizes and outlines possible future research directions. The main objective of this review is to inform future research and development of AI in orthopedics.