leonleyang commited on
Commit
71cb82a
·
verified ·
1 Parent(s): 8f61077

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +82 -0
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ # For reference on dataset card metadata, see the spec: https://github.com/huggingface/hub-docs/blob/main/datasetcard.md?plain=1
3
+ # Doc / guide: https://huggingface.co/docs/hub/datasets-cards
4
+ {}
5
+ ---
6
+
7
+ # Dataset Card for Arabic Characters
8
+
9
+ <!-- Provide a quick summary of the dataset. -->
10
+
11
+ ## Dataset Details
12
+
13
+ ### Dataset Description
14
+
15
+ <!-- Provide a longer summary of what this dataset is. -->
16
+ The Beans dataset contains 1,296 images of bean plant leaves, categorized into three classes:
17
+
18
+ Healthy (428 images)
19
+
20
+ Angular Leaf Spot (disease) (432 images)
21
+
22
+ Bean Rust (disease) (436 images)
23
+
24
+ The images were collected in Ugandan fields by the Makerere AI Lab in collaboration with the National Crops Resources Research Institute (NaCRRI). Each image was annotated during data collection by agricultural experts. The dataset is intended for plant disease classification and can be used to develop machine learning models for mobile-based agricultural diagnostics.
25
+
26
+
27
+ - **License:** MIT
28
+
29
+ ### Dataset Sources
30
+
31
+ <!-- Provide the basic links for the dataset. -->
32
+
33
+ - **Homepage:** https://github.com/AI-Lab-Makerere/ibean/
34
+
35
+ ## Dataset Structure
36
+
37
+ <!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
38
+
39
+ Total images: 1,296
40
+
41
+ Classes: 3
42
+
43
+ Healthy leaves: 428 images
44
+
45
+ Angular Leaf Spot: 432 images
46
+
47
+ Bean Rust: 436 images
48
+
49
+ Image specs: JPEG format, RGB images
50
+
51
+ ## Example Usage
52
+ Below is a quick example of how to load this dataset via the Hugging Face Datasets library.
53
+ ```
54
+ from datasets import load_dataset
55
+
56
+ # Load the dataset
57
+ dataset = load_dataset("randall-lab/beans", split="train", trust_remote_code=True)
58
+ # dataset = load_dataset("randall-lab/beans", split="test", trust_remote_code=True)
59
+ # dataset = load_dataset("randall-lab/beans", split="validation", trust_remote_code=True)
60
+
61
+ # Access a sample from the dataset
62
+ example = dataset[0]
63
+ image = example["image"]
64
+ label = example["label"]
65
+
66
+ image.show() # Display the image
67
+ print(f"Label: {label}")
68
+ ```
69
+
70
+ ## Citation
71
+
72
+ <!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
73
+
74
+ **BibTeX:**
75
+
76
+ @misc{makerere2020beans,
77
+ author = "{Makerere AI Lab}",
78
+ title = "{Bean Disease Dataset}",
79
+ year = "2020",
80
+ month = "January",
81
+ url = "https://github.com/AI-Lab-Makerere/ibean/"
82
+ }