Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,64 @@
|
|
1 |
---
|
2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
task_categories:
|
4 |
+
- text-classification
|
5 |
+
- text-generation
|
6 |
+
language:
|
7 |
+
- en
|
8 |
+
tags:
|
9 |
+
- code
|
10 |
+
pretty_name: '*'
|
11 |
+
size_categories:
|
12 |
+
- 0.001M<n<0.0011M
|
13 |
---
|
14 |
+
|
15 |
+
# mini coco dataset files
|
16 |
+
|
17 |
+
# Required dependencies
|
18 |
+
|
19 |
+
```
|
20 |
+
OpenCV (cv2)
|
21 |
+
|
22 |
+
matplotlib
|
23 |
+
|
24 |
+
ipywidgets
|
25 |
+
```
|
26 |
+
|
27 |
+
|
28 |
+
# img_data.psv
|
29 |
+
|
30 |
+
Extract of the coco dataset containing the following labels: ```["airplane", "backpack", "cell phone", "handbag", "suitcase", "knife", "laptop", "car"]```
|
31 |
+
|
32 |
+
```
|
33 |
+
Structured as follows:
|
34 |
+
|
35 |
+
| Field | Description |
|
36 |
+
| --------------- | --------------------------------------------------------------------------------------------------- |
|
37 |
+
| file_name | Name of image file (.png) |
|
38 |
+
| height | Image height prior to padding |
|
39 |
+
| width | Image width prior to padding |
|
40 |
+
| annotations | Array of boundary box array, label pairs. Bbox arrays are of the form [x_min, y_min, width, height] |
|
41 |
+
|
42 |
+
1.09k rows
|
43 |
+
```
|
44 |
+
|
45 |
+
|
46 |
+
# /data (folder)
|
47 |
+
|
48 |
+
This directory contains a selection of zero-padded COCO images that correspond to img_data.parquet, image names are of the following format:
|
49 |
+
```
|
50 |
+
xxxxxx.png
|
51 |
+
```
|
52 |
+
|
53 |
+
|
54 |
+
# display_boundary.py
|
55 |
+
|
56 |
+
Allows images to be viewed with their boundary boxes, don't need to pay attention to how it works.
|
57 |
+
|
58 |
+
Intended to run in tandem with jupyter notebook.
|
59 |
+
|
60 |
+
- Takes img_name.png as input, inspect img_data.psv or /data for image names.
|
61 |
+
|
62 |
+
|
63 |
+
|
64 |
+
If you have any questions or issues, feel free to keep them to yourself.
|