eeshawn11 commited on
Commit
6f97605
1 Parent(s): 62811e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -19
app.py CHANGED
@@ -31,25 +31,26 @@ def clear():
31
 
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():
55
  inputs = [
 
31
 
32
  with gr.Blocks() as demo:
33
  gr.Markdown("# Naruto Hand Seal Detection with YOLOv8")
34
+ with gr.Accordion("## README"):
35
+ gr.Markdown(
36
+ """
37
+ ### Introduction
38
+
39
+ 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.
40
+
41
+ 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.
42
+
43
+ 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.
44
+
45
+ ![GIF hand seals](https://huggingface.co/spaces/eeshawn11/naruto_hand_seals/blob/main/assets/Naruto_Hand_Seals_by_Megan.gif)
46
+
47
+ ### Problem Statement
48
+
49
+ The challenge was to develop a model that could accurately identify the hand seal being performed.
50
+
51
+ 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.
52
+ """
53
+ )
54
  with gr.Row():
55
  with gr.Column():
56
  inputs = [