You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,16 @@ The app consists of one page with the following components:
71
71
- button that opens a pop-up with the usage instructions for the app
72
72
- a text component, where the translation will be displayed
73
73
74
+
<imgsrc="readme_images/ss1.jpg"height="450">
75
+
<imgsrc="readme_images/ss2.jpg"height="450">
76
+
77
+
### Translation Workflow
78
+
1. Open the app.
79
+
2. Tap **Start Translation** to begin.
80
+
3. The app captures images periodically and sends them to the backend for processing.
81
+
4. Tap **Stop Translation** to end the process.
82
+
5. View the translation result displayed on the screen.
83
+
74
84
## Backend
75
85
- the `backend/` directory
76
86
A Flask server for processing and classifying images. The server allows users to upload images from the frontend of the app, after which the server processes them using an AI model.
@@ -87,11 +97,3 @@ The server includes the following routes:
87
97
- Iterates through all the files saved in the folder using a classification list, leveraging a function from the AI model to classify each image. The highest-probability prediction (usually the first result) is appended to the list.
88
98
- The results are concatenated and formatted into a string, which is then passed to the `call_openai_model` function from the AI module to generate a translation.
89
99
- Returns the content of the translation in JSON format.
90
-
91
-
### Translation Workflow
92
-
1. Open the app.
93
-
2. Tap **Start Translation** to begin.
94
-
3. The app captures images periodically and sends them to the backend for processing.
95
-
4. Tap **Stop Translation** to end the process.
96
-
5. View the translation result displayed on the screen.
0 commit comments