StephanAkkerman commited on
Commit
9b4c2e2
·
verified ·
1 Parent(s): ff9d336

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +37 -9
README.md CHANGED
@@ -1,7 +1,5 @@
1
  ---
2
  tags:
3
- - image-classification
4
- - timm
5
  - chart
6
  - charts
7
  - fintwit
@@ -16,8 +14,6 @@ tags:
16
  - plots
17
  - financial plots
18
  - cryptocurrency
19
- - image-recognition
20
- - recognition
21
  library_name: ultralytics
22
  license: mit
23
  datasets:
@@ -47,11 +43,43 @@ pipeline_tag: object-detection
47
  base_model: Ultralytics/YOLO12n
48
  ---
49
 
50
- # Chart Info Detector (YOLO12n)
51
 
52
- Latest model from run `12n_img1792_e80_20251109-133749`.
53
 
54
- - Test mAP50 (all classes): **0.7531**
55
- - Trained with Ultralytics YOLO on `StephanAkkerman/chart-info-yolo`.
56
 
57
- See `results.csv` for full metrics.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  tags:
 
 
3
  - chart
4
  - charts
5
  - fintwit
 
14
  - plots
15
  - financial plots
16
  - cryptocurrency
 
 
17
  library_name: ultralytics
18
  license: mit
19
  datasets:
 
43
  base_model: Ultralytics/YOLO12n
44
  ---
45
 
46
+ # Chart Info Detector
47
 
48
+ This is a fintuned model for detecting objects in financial charts. It uses YOLO12n as its base model, making it a fast and small model. This model is trained on my own datasets of financial charts posted on Twitter, which I labeled myself.
49
 
50
+ ## Inteded uses
51
+ chart-info-detector is inteded for finding relevant information from financial chart images.
52
 
53
+ An example of a labelled financial chart:
54
+ ![training_data](https://cdn-uploads.huggingface.co/production/uploads/648728961eee18b6bd1836bb/7bDB8GG0h02tYycOBRJIV.png)
55
+
56
+ ## Usage
57
+
58
+ To use this model you need to install the `ultralytics` library with Python. You can then download the weights of this repo and load them into the model.
59
+ The image size during training was set to 1792, so be sure to use this too.
60
+
61
+ ```py
62
+ from ultralytics import YOLO
63
+ from huggingface_hub import hf_hub_download
64
+
65
+ # Load the pre-trained model
66
+ model = YOLO(hf_hub_download(
67
+ repo_id="StephanAkkerman/chart-info-detector",
68
+ filename="weights/best.pt",
69
+ repo_type="model",
70
+ ))
71
+
72
+ # Perform object detection on an image
73
+ results = model.predict(
74
+ source=img_path,
75
+ imgsz=1536,
76
+ conf=0.25,
77
+ iou=0.5,
78
+ verbose=False,
79
+ )
80
+
81
+ r = results[0]
82
+
83
+ # Show the results
84
+ r.show()
85
+ ```