eeshawn commited on
Commit
62811e7
1 Parent(s): d8186bf

update app, upload gif

Browse files
Files changed (2) hide show
  1. app.py +14 -10
  2. assets/Naruto_Hand_Seals_by_Megan.gif +0 -0
app.py CHANGED
@@ -32,25 +32,23 @@ def clear():
32
  with gr.Blocks() as demo:
33
  gr.Markdown("# Naruto Hand Seal Detection with YOLOv8")
34
  gr.Markdown(
35
- """
36
  ### Introduction
37
 
38
- As a data science practitioner and fan of Japanese manga, I was eager to apply my skills to a project that combined my interests. I decided to develop a computer vision model that could detect hand seals from the **Naruto** anime.
39
 
40
  Hand seals are an integral part of the Naruto universe, used by characters to activate powerful techniques. There are twelve basic seals, each named after an animal in the Chinese Zodiac, and different sequences of hand seals are required for different techniques.
41
 
42
- As a fan of the series, I knew that accurately detecting and classifying hand seals would be a difficult but rewarding challenge, and I was excited to tackle it using my expertise in machine learning and computer vision.
 
 
43
 
44
  ### Problem Statement
45
 
46
- The challenge was to develop a model that could accurately identify the hand seal being performed.
47
 
48
- ### Methodology
49
-
50
  In this project, I leveraged transfer learning from the [YOLOv8](https://github.com/ultralytics/ultralytics) model to customize an object detection model specifically for the hand seals.
51
-
52
- There were several challenges during the development process, including limited available datasets of labelled images for training, so I had to create my own through a mix of screenshots from YouTube videos, as well as capturing images of myself performing the seals.
53
- """
54
  )
55
  with gr.Row():
56
  with gr.Column():
@@ -62,7 +60,13 @@ with gr.Blocks() as demo:
62
  clear_form = gr.Button("Reset")
63
  submit = gr.Button("Predict")
64
  outputs = gr.Image(type="filepath", label="Output Image", interactive=False)
65
- gr.Markdown("Happy to connect on [LinkedIn](https://www.linkedin.com/in/shawn-sing/) or visit my [GitHub](https://github.com/eeshawn11/) to check out my other projects.")
 
 
 
 
 
 
66
 
67
  clear_form.click(fn=clear, inputs=None, outputs=inputs)
68
  submit.click(fn=seal_detection, inputs=inputs, outputs=outputs)
 
32
  with gr.Blocks() as demo:
33
  gr.Markdown("# Naruto Hand Seal Detection with YOLOv8")
34
  gr.Markdown(
35
+ """
36
  ### Introduction
37
 
38
+ As a data science practitioner and a fan of Japanese manga, I was eager to apply my skills to a project that combined these interests. Among my favourite animes from my childhood, I decided to develop a computer vision model that could detect hand seals from the **Naruto** anime.
39
 
40
  Hand seals are an integral part of the Naruto universe, used by characters to activate powerful techniques. There are twelve basic seals, each named after an animal in the Chinese Zodiac, and different sequences of hand seals are required for different techniques.
41
 
42
+ As a fan of the series, I knew that accurately detecting and classifying hand seals would be a difficult but rewarding challenge, and I was excited to tackle it using my expertise in machine learning and computer vision. One key challenge to overcome would be the lack of a good dataset of labelled images for training, so I had to develop my own. Besides capturing images of myself performing the seals, I augmented my dataset with a YouTube screenshots consisting of both real persons and anime characters performing the seals.
43
+
44
+ ![GIF hand seals](./assets/Naruto_Hand_Seals_by_Megan.gif)
45
 
46
  ### Problem Statement
47
 
48
+ The challenge was to develop a model that could accurately identify the hand seal being performed.
49
 
 
 
50
  In this project, I leveraged transfer learning from the [YOLOv8](https://github.com/ultralytics/ultralytics) model to customize an object detection model specifically for the hand seals.
51
+ """
 
 
52
  )
53
  with gr.Row():
54
  with gr.Column():
 
60
  clear_form = gr.Button("Reset")
61
  submit = gr.Button("Predict")
62
  outputs = gr.Image(type="filepath", label="Output Image", interactive=False)
63
+
64
+ gr.Markdown(
65
+ """
66
+ <p style="text-align:center">
67
+ Happy to connect on <a href="https://www.linkedin.com/in/shawn-sing/" target="_blank">LinkedIn</a> or visit my <a href="https://github.com/eeshawn11/" target="_blank">GitHub</a> to check out my other projects.
68
+ """
69
+ )
70
 
71
  clear_form.click(fn=clear, inputs=None, outputs=inputs)
72
  submit.click(fn=seal_detection, inputs=inputs, outputs=outputs)
assets/Naruto_Hand_Seals_by_Megan.gif ADDED