Resumen: Purpose: This study presents a treatment planning system for intraoperative low-energy photon radiotherapy based on photogrammetry from real images of the surgical site taken in the operating room. Material and methods: The study population comprised 15 patients with soft-tissue sarcoma. The system obtains the images of the area to be irradiated with a smartphone or tablet, so that the absorbed doses in the tissue can be calculated from the reconstruction without the need for computed tomography. The system was commissioned using 3D printing of the reconstructions of the tumor beds. The absorbed doses at various points were verified using radiochromic films that were suitably calibrated for the corresponding energy and beam quality. Results: The average reconstruction time of the 3D model from the video sequence in the 15 patients was 229,6±7,0 s. The entire procedure, including video capture, reconstruction, planning, and dose calculation was 520,6±39,9 s. Absorbed doses were measured on the 3D printed model with radiochromic film, the differences between these measurements and those calculated by the treatment planning system were 1.4% at the applicator surface, 2.6% at 1 cm, 3.9% at 2 cm and 6.2% at 3 cm. Conclusions: The study shows a photogrammetry-based low-energy photon IORT planning system, capable of obtaining real-time images inside the operating room, immediately after removal of the tumor and immediately before irradiation. The system was commissioned with radiochromic films measurements in 3D-printed model. Idioma: Inglés DOI: 10.1016/j.ejmp.2023.102622 Año: 2023 Publicado en: PHYSICA MEDICA 112 (2023), 102622 [10 pp.] ISSN: 1120-1797 Factor impacto JCR: 3.3 (2023) Categ. JCR: RADIOLOGY, NUCLEAR MEDICINE & MEDICAL IMAGING rank: 42 / 204 = 0.206 (2023) - Q1 - T1 Factor impacto CITESCORE: 6.8 - Radiology, Nuclear Medicine and Imaging (Q1) - Physics and Astronomy (all) (Q1) - Biophysics (Q1)