Kaushik066 commited on
Commit
49ba51e
·
1 Parent(s): b1d6d41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -30
app.py CHANGED
@@ -330,41 +330,16 @@ def translate_sign_language(gesture):
330
 
331
  return gesture_translation , prod_video_path # frame_generator
332
 
 
 
 
 
333
  with gr.Blocks(css=custom_css) as demo:
334
  gr.Markdown("# Indian Sign Language Translation App")
335
 
336
  # About the App
337
  with gr.Tab("About the App"):
338
- gr.Markdown("""
339
- # Product Description/Objective
340
- Our innovative AI solution bridges the communication gap between the hearing-impaired community and the wider society. Designed to recognize and translate 75 hand signs and gestures from Indian Sign Language into English words,
341
- this technology ensures seamless interaction. Additionally, the product includes animated videos that visually demonstrate the hand signs and gestures corresponding to each English word, fostering inclusivity and accessibility in communication.
342
-
343
- # How does it work
344
- Our solution uses advanced AI technology to process videos and identify sign language gestures. The process begins by extracting pose coordinates, which include the positions of the hands, face, and body edges, from each frame of the video.
345
- These coordinates act as a blueprint of the movements and gestures performed by the person in the video. By analyzing these hand movements in detail, the AI model identifies the gestures being made and matches them to the most likely English word associated with that specific sign.
346
- For instance, the image provided illustrates a person performing the gesture for the word "Student," demonstrating the system's ability to interpret and translate sign language gestures into meaningful English words.
347
- In addition to recognizing gestures, our solution also visualizes them through animated motion videos. During the AI model's training phase, face and hand coordinates are collected from the videos to create dynamic animations that represent all the sign language gestures the AI has learned to recognize.
348
- These animations serve as a visual guide, making it easier for users to understand and learn sign language gestures. For example, the motion video below demonstrates how the word "Student" is represented in sign language, showcasing both the accuracy and clarity of the system's animated outputs.
349
-
350
- # Who are our target audience?
351
- - Hearing-Impaired Individuals: To empower them with a tool that facilitates communication with those unfamiliar with sign language.
352
- - Families and Friends: To help them better connect and communicate with their hearing-impaired loved ones.
353
- - Educational Institutions: Schools, colleges, and training center catering to the hearing-impaired community, enabling smoother learning and interaction.
354
- - Healthcare and Service Providers: Professionals in hospitals, customer service, and other public-facing roles to ensure inclusive communication with hearing-impaired clients.
355
- - Organizations and Businesses: Companies promoting inclusivity and accessibility in the workplace for employees and customers with hearing impairments.
356
-
357
- # What is our vision?
358
- We are working on developing an enhanced version of this solution that goes beyond recognizing individual words to identifying and translating complete sentences in sign language.
359
- This advanced capability will enable the system to understand the context, structure, and flow of multiple gestures in sequence, providing a more accurate and meaningful translation of complex communication.
360
- By doing so, it aims to bridge the gap in real-time conversations and make communication between the hearing-impaired community and the broader society even more seamless and effective.
361
-
362
- # Conclusions
363
- This project represents a significant step toward bridging the communication gap between the hearing-impaired community and the broader society.
364
- By leveraging advanced AI technology to recognize and translate over 75 sign language gestures into English, it fosters inclusivity, accessibility, and understanding.
365
- The addition of animated videos further enhances the learning and interaction experience by visually demonstrating the gestures.
366
-
367
- """)
368
 
369
  # Gesture recognition Tab
370
  with gr.Tab("Gesture recognition"):
 
330
 
331
  return gesture_translation , prod_video_path # frame_generator
332
 
333
+ # Read the content of the README.md file
334
+ with open("README.md", "r") as file:
335
+ readme_content = file.read()
336
+
337
  with gr.Blocks(css=custom_css) as demo:
338
  gr.Markdown("# Indian Sign Language Translation App")
339
 
340
  # About the App
341
  with gr.Tab("About the App"):
342
+ gr.Markdown(readme_content)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
343
 
344
  # Gesture recognition Tab
345
  with gr.Tab("Gesture recognition"):