-
Notifications
You must be signed in to change notification settings - Fork 1
/
make_slides.py
71 lines (63 loc) · 2.8 KB
/
make_slides.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
from pptx import Presentation
from pptx.util import Inches
# Create a presentation object
prs = Presentation()
# Slide 1: Project Title
slide_layout = prs.slide_layouts[0]
slide = prs.slides.add_slide(slide_layout)
title = slide.shapes.title
subtitle = slide.placeholders[1]
title.text = "3D Visualization for Emergency Response"
subtitle.text = "Leveraging Text-to-3D Technology to Enhance Emergency Response"
# Slide 2: Problem & Solution
slide_layout = prs.slide_layouts[1]
slide = prs.slides.add_slide(slide_layout)
title = slide.shapes.title
body = slide.placeholders[1]
title.text = "Problem & Solution"
body.text = ("Problem:\n"
"- Current emergency responses rely heavily on verbal descriptions and 2D maps\n"
"- Communication barriers due to language and descriptive limitations\n\n"
"Solution:\n"
"- Text-to-3D visualization using GPT-4 and shap-e diffusion mode\n"
"- Facilitating non-verbal communication through interactive 3D scenes")
# Slide 3: Innovation
slide_layout = prs.slide_layouts[1]
slide = prs.slides.add_slide(slide_layout)
title = slide.shapes.title
body = slide.placeholders[1]
title.text = "Innovation"
body.text = ("Unique Approach:\n"
"- Novel text-to-3D visualization technology\n"
"- Bridging communication gaps through intuitive communication methods\n\n"
"Creative Use of AI:\n"
"- Leveraging GPT-4 for intelligent text interpretation\n"
"- Real-time interactive scenarios for dynamic response planning")
# Slide 4: Technical Excellence
slide_layout = prs.slide_layouts[1]
slide = prs.slides.add_slide(slide_layout)
title = slide.shapes.title
body = slide.placeholders[1]
title.text = "Technical Excellence"
body.text = ("Quality AI Models:\n"
"- Spatial awareness capabilities of GPT-4\n"
"- Domain-specific training for accurate 3D representations\n\n"
"Relevant Technologies:\n"
"- Integration with GIS and other databases for real-world data\n"
"- Dynamic visualizations advancing beyond static 2D representations")
# Slide 5: Applications & Next Steps
slide_layout = prs.slide_layouts[1]
slide = prs.slides.add_slide(slide_layout)
title = slide.shapes.title
body = slide.placeholders[1]
title.text = "Applications & Next Steps"
body.text = ("Applications:\n"
"- Emergency response and community engagement\n"
"- Training simulations and post-emergency analysis\n\n"
"Next Steps:\n"
"- Further integration with real-world databases\n"
"- Enhancing user experience with more interactive features")
# Save the presentation
presentation_path = '3D_Visualization_Emergency_Response_Presentation.pptx'
prs.save(presentation_path)
presentation_path