{"id":{"repo_id":"nps","oai_identifier":"oai:calhoun.nps.edu:10945/73690"},"canonical_url":"https://search.ndltd.org/etd/nps/oai:calhoun.nps.edu:10945/73690","repository":{"repo_id":"nps","name":"Naval Postgraduate School","base_url":"https://calhoun.nps.edu/server/oai/request"},"display":{"title":"COMPUTER VISION AND MACHINE LEARNING FOR HANDWRITTEN DIAGRAM RECOGNITION","abstract":"Because humans are much better at processing and organizing information visually than narratively, early system schematics or processes will start as handwritten diagrams on either a whiteboard or paper medium. These handwritten diagrams allow for much faster prototyping but still require translation into a digital medium for formal modeling and presentation. Offline graph recognition techniques include deep learning object detectors capable of recognizing diagram symbols. This thesis employs two object classifiers, Faster R-CNN and YOLOv5 to identify and classify objects within handwritten diagrams with an emphasis on detecting and distinguishing between arrow types. We introduce new classes of arrows into an existing data set and fine tune the models to increase classification accuracy. The results indicate that YOLOv5 is superior to Faster R-CNN in the detection of arrows with a precision difference of 0.226 percent. This suggests that YOLOv5 should be the architecture of choice for handwritten diagram recognition programs such as Monterey Phoenix.","abstract_html":"Because humans are much better at processing and organizing information visually than narratively, early system schematics or processes will start as handwritten diagrams on either a whiteboard or paper medium. These handwritten diagrams allow for much faster prototyping but still require translation into a digital medium for formal modeling and presentation. Offline graph recognition techniques include deep learning object detectors capable of recognizing diagram symbols. This thesis employs two object classifiers, Faster R-CNN and YOLOv5 to identify and classify objects within handwritten diagrams with an emphasis on detecting and distinguishing between arrow types. We introduce new classes of arrows into an existing data set and fine tune the models to increase classification accuracy. The results indicate that YOLOv5 is superior to Faster R-CNN in the detection of arrows with a precision difference of 0.226 percent. This suggests that YOLOv5 should be the architecture of choice for handwritten diagram recognition programs such as Monterey Phoenix.","abstract_has_math":false,"creators":["Perez, Carlos A."],"institution":"Monterey, CA; Naval Postgraduate School","degree_name":"Master of Science in Computer Science","degree_level":"Masters","degree_discipline":"Computer Science","degree_department":"Computer Science (CS)","school":null,"contributors":[],"advisors":["Kolsch, Mathias N.","Barton, Armon C."],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025-03","date_published":"2025-03","updated_at":"2026-11-26T00:12:44Z","subjects":[],"languages":[],"rights":["This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.","Distribution Statement A. Approved for public release: Distribution is unlimited."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.programcode","label":"Dc Identifier Programcode","values":["368, Computer Science"],"render_values":[{"text":"368, Computer Science","href":null,"code":true}]},{"key":"thesis:thesis_identifier","label":"Thesis Thesis Identifier","values":["37224"],"render_values":[{"text":"37224","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10945/73690","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10945/73690","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Anps%3Aoai%3Acalhoun.nps.edu%3A10945%2F73690","prefix":"oai_dc"},"source_record":{"url":"https://calhoun.nps.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Acalhoun.nps.edu%3A10945%2F73690","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Kolsch, Mathias N.","Barton, Armon C."]},{"key":"dc:contributor.department","label":"Department","values":["Computer Science (CS)"]},{"key":"dc:creator","label":"Author","values":["Perez, Carlos A."]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-05-01T14:28:34Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-05-01T14:28:34Z"]},{"key":"dc:date.issued","label":"Date","values":["2025-03"]},{"key":"dc:publisher","label":"Institution","values":["Monterey, CA; Naval Postgraduate School"]},{"key":"dc:relation.orgunit","label":"Dc Relation Orgunit","values":["67864e54-711d-4c0a-a6d4-439a011f2bd1"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science in Computer Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Naval Postgraduate School"]},{"key":"thesis:thesis_identifier","label":"Thesis Thesis Identifier","values":["37224"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["computer vision","machine learning","diagram recognition","Region Based Convolutional Neural Network","R-CNN","You Only Look Once","YOLO"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights","label":"Dc Rights","values":["This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.","Distribution Statement A. Approved for public release: Distribution is unlimited."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.programcode","label":"Dc Identifier Programcode","values":["368, Computer Science"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10945/73690"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Because humans are much better at processing and organizing information visually than narratively, early system schematics or processes will start as handwritten diagrams on either a whiteboard or paper medium. These handwritten diagrams allow for much faster prototyping but still require translation into a digital medium for formal modeling and presentation. Offline graph recognition techniques include deep learning object detectors capable of recognizing diagram symbols. This thesis employs two object classifiers, Faster R-CNN and YOLOv5 to identify and classify objects within handwritten diagrams with an emphasis on detecting and distinguishing between arrow types. We introduce new classes of arrows into an existing data set and fine tune the models to increase classification accuracy. The results indicate that YOLOv5 is superior to Faster R-CNN in the detection of arrows with a precision difference of 0.226 percent. This suggests that YOLOv5 should be the architecture of choice for handwritten diagram recognition programs such as Monterey Phoenix."]},{"key":"dc:description.sponsorship","label":"Dc Description Sponsorship","values":["National Security Agency, Fort Meade, MD 20755"]},{"key":"dc:title","label":"Title","values":["COMPUTER VISION AND MACHINE LEARNING FOR HANDWRITTEN DIAGRAM RECOGNITION"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"local:contributor.affiliation","label":"Local Contributor Affiliation","values":["Captain, United States Marine Corps"]}]}],"canonical_facts":{"dc:contributor.advisor":["Kolsch, Mathias N.","Barton, Armon C."],"dc:contributor.department":["Computer Science (CS)"],"dc:creator":["Perez, Carlos A."],"dc:date.accessioned":["2025-05-01T14:28:34Z"],"dc:date.available":["2025-05-01T14:28:34Z"],"dc:date.issued":["2025-03"],"dc:description.abstract":["Because humans are much better at processing and organizing information visually than narratively, early system schematics or processes will start as handwritten diagrams on either a whiteboard or paper medium. These handwritten diagrams allow for much faster prototyping but still require translation into a digital medium for formal modeling and presentation. Offline graph recognition techniques include deep learning object detectors capable of recognizing diagram symbols. This thesis employs two object classifiers, Faster R-CNN and YOLOv5 to identify and classify objects within handwritten diagrams with an emphasis on detecting and distinguishing between arrow types. We introduce new classes of arrows into an existing data set and fine tune the models to increase classification accuracy. The results indicate that YOLOv5 is superior to Faster R-CNN in the detection of arrows with a precision difference of 0.226 percent. This suggests that YOLOv5 should be the architecture of choice for handwritten diagram recognition programs such as Monterey Phoenix."],"dc:description.sponsorship":["National Security Agency, Fort Meade, MD 20755"],"dc:identifier.programcode":["368, Computer Science"],"dc:identifier.uri":["https://hdl.handle.net/10945/73690"],"dc:publisher":["Monterey, CA; Naval Postgraduate School"],"dc:relation.orgunit":["67864e54-711d-4c0a-a6d4-439a011f2bd1"],"dc:rights":["This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.","Distribution Statement A. Approved for public release: Distribution is unlimited."],"dc:subject.keyword":["computer vision","machine learning","diagram recognition","Region Based Convolutional Neural Network","R-CNN","You Only Look Once","YOLO"],"dc:title":["COMPUTER VISION AND MACHINE LEARNING FOR HANDWRITTEN DIAGRAM RECOGNITION"],"dc:type":["Thesis"],"dspace:entity.type":["Publication"],"local:contributor.affiliation":["Captain, United States Marine Corps"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science in Computer Science"],"thesis:institution_name":["Naval Postgraduate School"],"thesis:thesis_identifier":["37224"]},"updated_at":"2026-11-26T00:12:44Z"}