Applied Sciences (Jan 2024)

ChatGPT Translation of Program Code for Image Sketch Abstraction

  • Yulia Kumar,
  • Zachary Gordon,
  • Oluwatunmise Alabi,
  • Jenny Li,
  • Kathryn Leonard,
  • Linda Ness,
  • Patricia Morreale

DOI
https://doi.org/10.3390/app14030992
Journal volume & issue
Vol. 14, no. 3
p. 992

Abstract

Read online

In this comprehensive study, a novel MATLAB to Python (M-to-PY) conversion process is showcased, specifically tailored for an intricate image skeletonization project involving fifteen MATLAB files and a large dataset. The central innovation of this research is the adept use of ChatGPT-4 as an AI assistant, pivotal in crafting a prototype M-to-PY converter. This converter’s capabilities were thoroughly evaluated using a set of test cases generated by the Bard bot, ensuring a robust and effective tool. The culmination of this effort was the development of the Skeleton App, adept at image sketching and skeletonization. This live and publicly available app underscores the enormous potential of AI in enhancing the transition of scientific research from MATLAB to Python. The study highlights the blend of AI’s computational prowess and human ingenuity in computational research, making significant strides in AI-assisted scientific exploration and tool development.

Keywords