1.1 Background: Artificial intelligence has several benefits, particularly in the field of oral and maxillofacial radiology.Artificial intelligence allows for the early diagnosis of osteoarthritis of the temporomandibular joint, perhaps improving the prognosis. 1.2 Objective: This work uses artificial intelligence to segment the temporomandibular joint (TMJ) using cone beam computed tomography (CBCT) sagittal images and categorize temporomandibular joint (TMJ) osteoarthritis. 1.3 Methods: In this work, we assess the performance of an artificial intelligence model called YOLOv5 architecture in TMJ segmentation and osteoarthritis classification using 2000 sagittal sections (500 photos of healthy, 500 photographs of erosion, 500 images of osteophytes, and 500 images of flattening) derived from CBCT DICOM images of 290 patients. 1.4 Results:For the categorization of TMJ osteoarthritis, the model's sensitivity, accuracy, and F1 scores are 1, 0.7678, and 0.8686, respectively. The accuracy of categorization is 0.7678. The categorization model predicts that 88% of joints will be healthy, 70% will be flattened, 95% will have erosion, and 86% will have osteophytes. For TMJ segmentation, the YOLOv5 model's sensitivity, accuracy, and F1 score are 1, 0.9953, and 0.9976, respectively. The TMJ segmentation model's AUC score is 0.9723. Furthermore, the model's TMJ segmentation accuracy is 0.9953. 1.5 Conclusion: The study's artificial intelligence model functions as a time-saving and convenient diagnostic aid for doctors, enabling good outcomes in the segmentation of the mandible and the categorization of osteoarthritis.