{"id":13856780,"url":"https://github.com/clemkoa/tooth-detection","last_synced_at":"2025-07-13T19:32:43.206Z","repository":{"id":37735974,"uuid":"134425509","full_name":"clemkoa/tooth-detection","owner":"clemkoa","description":"🦷 Detection of restorations and treatments on dental x-rays in Tensorflow, using Faster-RCNN","archived":false,"fork":false,"pushed_at":"2021-10-21T23:17:58.000Z","size":57965,"stargazers_count":211,"open_issues_count":2,"forks_count":81,"subscribers_count":25,"default_branch":"master","last_synced_at":"2024-08-06T03:02:15.293Z","etag":null,"topics":["deep-learning","dental","health","neural-networks","object-detection","tensorflow","x-ray"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clemkoa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-22T14:13:05.000Z","updated_at":"2024-08-04T13:07:44.000Z","dependencies_parsed_at":"2022-07-12T22:50:28.272Z","dependency_job_id":null,"html_url":"https://github.com/clemkoa/tooth-detection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clemkoa%2Ftooth-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clemkoa%2Ftooth-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clemkoa%2Ftooth-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clemkoa%2Ftooth-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clemkoa","download_url":"https://codeload.github.com/clemkoa/tooth-detection/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225912267,"owners_count":17544136,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deep-learning","dental","health","neural-networks","object-detection","tensorflow","x-ray"],"created_at":"2024-08-05T03:01:12.995Z","updated_at":"2024-11-22T14:30:50.281Z","avatar_url":"https://github.com/clemkoa.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Teeth detector\n\n![Image 1](public/images/1.png \"Image 1\")\n![Image 2](public/images/2.png \"Image 2\")\n![Image 3](public/images/3.png \"Image 3\")\n\n⚠️ Dataset is private at the moment. For privacy reasons it can't be shared. We are trying to get approval from hospitals and patients included in this dataset but this a work in progress. For the same privacy reasons the trained model can't be shared at the moment.\n\nThe dataset was made with a stomatologist surgeon using VoTT for labeling. The export was made under the `Tensorflow Pascal VOC` format\n\nThe project is divided into two tasks:\n1. Detect tooth restoration, endodontic treatment and implants (models/treatment)\n2. Detect teeth and identify their ISO Dental Notation (models/index)\n\n\n## Installation\n\n- Download the datasets from the google drive (datasets are private at the moment)\n- Install tensorflow object detection: https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md\n- Install Cloud SDK to run on google cloud https://cloud.google.com/sdk/\n\n\n```\npip install -r requirements.txt\n\n# Tensorflow Object Detection API\ngit clone git@github.com:tensorflow/models.git\n\ngit clone https://github.com/cocodataset/cocoapi.git\ncd cocoapi/PythonAPI\nmake\ncp -r pycocotools \u003cpath_to_tensorflow\u003e/models/research/\n\n# From tensorflow/models/research/\nexport PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim\n```\n\n\n## Training\n\n```\npython \u003cpath_to_tensorflow\u003e/models/research/object_detection/model_main.py \\\n    --pipeline_config_path=\u003cpath_to_tooth-detection\u003e/tooth-detection/models/treatment/faster_rcnn_resnet50_coco.config \\\n    --model_dir=\u003cpath_to_tooth-detection\u003e/tooth-detection/models/treatment/model \\\n    --num_train_steps=100000 \\\n    --alsologtostderr\n```\n\n## Inference\n\n```\npython inference.py \\\n    --PATH_TO_FROZEN_GRAPH=\u003cpath_to_tooth-detection\u003e/\u003cpath_to_frozen_graph\u003e/frozen_inference_graph.pb \\\n    --PATH_TO_TEST_IMAGES_DIR=\u003cpath_to_tooth-detection\u003e/data/iran_index/JPEGImages \\\n    --PATH_TO_LABELS=\u003cpath_to_tooth-detection\u003e/data/pascal_label_map_index.pbtxt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclemkoa%2Ftooth-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclemkoa%2Ftooth-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclemkoa%2Ftooth-detection/lists"}