Jasir Zaeem commited on
Commit
233ae75
·
1 Parent(s): 6e9b8c8

Prepare dataset for hf

Browse files
Files changed (1) hide show
  1. README.md +38 -0
README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - image-classification
5
+ tags:
6
+ - medical
7
+ pretty_name: Facial Palsy Dataset
8
+ size_categories:
9
+ - 10K<n<100K
10
+ ---
11
+ # Dataset Card for Dataset Name
12
+
13
+ A data set of images of faces of people affected with Bell's palsy (Facial palsy).
14
+
15
+ ## Dataset Details
16
+
17
+ ### Dataset Description
18
+
19
+ A data set of images of faces of people affected with Bell's palsy (Facial palsy). Created using curating and editing publically available youtube videos. Also included are images from people not affected by it, using the same method.
20
+
21
+ - **License:** CC-BY-4.0
22
+
23
+ ## Uses
24
+
25
+ Can be used to train image models to detect and classify signs or intensity of bell's palsy on facial images.
26
+
27
+ ## Dataset Structure
28
+
29
+ The data is provided as videos, one per person. A script is provided to extract individual frames from those videos to create an image dataset for further processing and training.
30
+
31
+ To extract the images, you can use the provided script `extract_images.py`. The provided `requirements.txt` file can be used to install the required dependencies for the script. (namely `opencv-python` and `rich`)
32
+
33
+ You can configure the output directory and the number of frames to skip b/w consecutive images in the script.
34
+
35
+ ```bash
36
+ pip install -r requirements.txt
37
+ python extract_images.py
38
+ ```