thenukegun10x commited on
Commit
f1ffdeb
·
verified ·
1 Parent(s): d499940

Add CLI guide and quickstart instructions to Model Card

Browse files
Files changed (1) hide show
  1. README.md +30 -2
README.md CHANGED
@@ -82,9 +82,37 @@ In the field, plant species can be difficult to distinguish from a single photo.
82
 
83
  ---
84
 
85
- ## 3. Quickstart Examples
86
 
87
- ### Multi-View (Multi-Photo) Inference with PyTorch / Safetensors
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  ```python
89
  import torch
90
  import numpy as np
 
82
 
83
  ---
84
 
85
+ ## 3. 🖥️ Official Plant CLI Guide
86
 
87
+ ### 1. Installation
88
+ ```bash
89
+ git clone https://huggingface.co/thenukegun10x/wa-plant-identifier
90
+ cd wa-plant-identifier
91
+ pip install -r requirements.txt
92
+ ```
93
+
94
+ ### 2. Identify a Plant from a Single Photo
95
+ ```bash
96
+ python plant_cli.py identify wild_flower.jpg --topk 5
97
+ ```
98
+
99
+ ### 3. Multi-View Botanical Identification (Flower + Leaf + Habit)
100
+ Achieves **97%–99% certainty** by averaging logits across complementary plant angles:
101
+ ```bash
102
+ python plant_cli.py identify flower.jpg leaf.jpg habit.jpg fruit.jpg
103
+ ```
104
+
105
+ ### 4. Batch Directory Identification
106
+ Recursively process an entire field folder and export results to CSV:
107
+ ```bash
108
+ python plant_cli.py batch --dir field_photos/ --pattern "*.jpg" --recursive --out results.csv
109
+ ```
110
+
111
+ ---
112
+
113
+ ## 4. Python Quickstart Examples
114
+
115
+ ### Multi-View Inference with PyTorch / Safetensors
116
  ```python
117
  import torch
118
  import numpy as np