mirror of https://github.com/doccano/doccano.git
8 changed files with 141 additions and 2 deletions
Unified View
Diff Options
-
25backend/data_export/migrations/0002_exportedboundingbox.py
-
13backend/data_export/models.py
-
4backend/data_export/pipeline/catalog.py
-
13backend/data_export/pipeline/examples/bounding_box/example.jsonl
-
6backend/data_export/pipeline/factories.py
-
7backend/data_export/pipeline/labels.py
-
2backend/data_export/tests/test_catalog.py
-
73backend/data_export/tests/test_task.py
@ -0,0 +1,25 @@ |
|||||
|
# Generated by Django 4.0.4 on 2022-06-30 02:44 |
||||
|
|
||||
|
from django.db import migrations |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('labels', '0015_create_boundingbox_table'), |
||||
|
('data_export', '0001_initial'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.CreateModel( |
||||
|
name='ExportedBoundingBox', |
||||
|
fields=[ |
||||
|
], |
||||
|
options={ |
||||
|
'proxy': True, |
||||
|
'indexes': [], |
||||
|
'constraints': [], |
||||
|
}, |
||||
|
bases=('labels.boundingbox',), |
||||
|
), |
||||
|
] |
@ -0,0 +1,13 @@ |
|||||
|
{ |
||||
|
"filename": "cat.png", |
||||
|
"bbox": [ |
||||
|
{ |
||||
|
"x": 11, |
||||
|
"y": 12, |
||||
|
"width": 64, |
||||
|
"height": 66, |
||||
|
"label": "cat" |
||||
|
} |
||||
|
], |
||||
|
|
||||
|
} |
Write
Preview
Loading…
Cancel
Save