Skip to content

Commit

Permalink
update tests (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
kha-white committed Dec 3, 2023
1 parent 3079fe2 commit 13851d8
Show file tree
Hide file tree
Showing 49 changed files with 2,695 additions and 47 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:
- name: Test
run: |
pytest mokuro/tests
pytest -v mokuro/tests
27 changes: 27 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
from pathlib import Path

import pytest


def pytest_addoption(parser):
parser.addoption("-R", "--regenerate", action="store_true", default=False)


@pytest.fixture
def regenerate(request):
return request.config.getoption("--regenerate")


@pytest.fixture
def test_data_root():
return Path(__file__).parent / 'data'


@pytest.fixture
def input_data_root(test_data_root):
return test_data_root / 'input'


@pytest.fixture
def expected_results_root(test_data_root):
return test_data_root / 'expected_results'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version": "0.1.7", "img_width": 827, "img_height": 1170, "blocks": []}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version": "0.1.7", "img_width": 827, "img_height": 1170, "blocks": []}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version": "0.1.7", "img_width": 827, "img_height": 1170, "blocks": []}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version": "0.1.7", "img_width": 827, "img_height": 1170, "blocks": []}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version": "0.1.7", "img_width": 827, "img_height": 1170, "blocks": []}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version": "0.1.7", "img_width": 827, "img_height": 1170, "blocks": []}
874 changes: 874 additions & 0 deletions tests/data/expected_results/test0_disable_ocr/vol1.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions tests/data/expected_results/test1_webp/_ocr/vol1/000a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version": "0.1.7", "img_width": 827, "img_height": 1170, "blocks": [{"box": [33, 0, 827, 241], "vertical": false, "font_size": 149.33333333333334, "lines_coords": [[[581.0, 17.0], [788.0, 15.0], [788.0, 55.0], [581.0, 57.0]], [[531.0, 18.0], [827.0, 18.0], [827.0, 190.0], [531.0, 190.0]], [[33.0, 0.0], [646.0, 0.0], [651.0, 231.0], [37.0, 241.0]]], "lines": ["Google", "ず目記", "うちの猫ず日"]}, {"box": [230, 1044, 606, 1170], "vertical": false, "font_size": 121, "lines_coords": [[[237.0, 1033.0], [502.0, 1052.0], [494.0, 1169.0], [229.0, 1166.0]]], "lines": ["がぁさん"]}]}
1 change: 1 addition & 0 deletions tests/data/expected_results/test1_webp/_ocr/vol1/000b.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version": "0.1.7", "img_width": 827, "img_height": 1170, "blocks": [{"box": [705, 86, 771, 279], "vertical": true, "font_size": 27, "lines_coords": [[[740.0, 89.0], [767.0, 89.0], [771.0, 279.0], [743.0, 279.0]], [[708.0, 86.0], [736.0, 86.0], [734.0, 199.0], [705.0, 199.0]]], "lines": ["あたしはナナ!!", "5さい!"]}, {"box": [611, 91, 670, 276], "vertical": true, "font_size": 27, "lines_coords": [[[646.0, 91.0], [670.0, 91.0], [670.0, 247.0], [646.0, 247.0]], [[611.0, 92.0], [638.0, 92.0], [638.0, 276.0], [611.0, 276.0]]], "lines": ["トカゲ狩りの", "エキスパート!"]}, {"box": [178, 97, 260, 331], "vertical": true, "font_size": 25, "lines_coords": [[[235.0, 97.0], [259.0, 97.0], [259.0, 238.0], [235.0, 238.0]], [[205.0, 100.0], [233.0, 100.0], [229.0, 331.0], [202.0, 331.0]], [[178.0, 102.0], [201.0, 102.0], [201.0, 241.0], [178.0, 241.0]]], "lines": ["今日も大猟!", "ざっそくご主人さまに", "ホーコクよ!"]}, {"box": [102, 131, 147, 182], "vertical": true, "font_size": 45, "lines_coords": [[[102.0, 131.0], [147.0, 131.0], [147.0, 182.0], [102.0, 182.0]]], "lines": ["わ"]}, {"box": [625, 527, 739, 551], "vertical": false, "font_size": 24, "lines_coords": [[[625.0, 527.0], [739.0, 527.0], [739.0, 551.0], [625.0, 551.0]]], "lines": ["..."]}, {"box": [216, 379, 259, 526], "vertical": true, "font_size": 43, "lines_coords": [[[216.0, 379.0], [259.0, 379.0], [259.0, 526.0], [216.0, 526.0]]], "lines": ["みてみて〜〜♪"]}, {"box": [43, 86, 79, 899], "vertical": true, "font_size": 34, "lines_coords": [[[43.0, 86.0], [77.0, 86.0], [79.0, 899.0], [45.0, 899.0]]], "lines": ["常猫大好き作者『がぁさん』この新連載・猫マンガスタート・"]}, {"box": [702, 720, 755, 813], "vertical": true, "font_size": 43, "lines_coords": [[[712.0, 720.0], [755.0, 725.0], [744.0, 813.0], [702.0, 808.0]]], "lines": ["放流!"]}, {"box": [469, 652, 627, 669], "vertical": false, "font_size": 16, "lines_coords": [[[469.0, 652.0], [627.0, 653.0], [627.0, 669.0], [469.0, 668.0]]], "lines": ["トカゲハンター・ナナー"]}, {"box": [694, 868, 781, 1065], "vertical": true, "font_size": 21, "lines_coords": [[[751.0, 868.0], [775.0, 868.0], [775.0, 986.0], [751.0, 986.0]], [[724.0, 868.0], [747.0, 868.0], [747.0, 1056.0], [724.0, 1056.0]], [[695.0, 869.0], [718.0, 869.0], [718.0, 1008.0], [695.0, 1008.0]], [[700.0, 1003.0], [713.0, 1003.0], [713.0, 1031.0], [700.0, 1031.0]]], "lines": ["ご主人さま", "トカゲはおキライ", "なのかしら!?", "..."]}, {"box": [99, 863, 131, 914], "vertical": true, "font_size": 32, "lines_coords": [[[99.0, 863.0], [131.0, 863.0], [131.0, 914.0], [99.0, 914.0]]], "lines": ["!"]}]}
1 change: 1 addition & 0 deletions tests/data/expected_results/test1_webp/_ocr/vol1/001a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version": "0.1.7", "img_width": 827, "img_height": 1170, "blocks": [{"box": [687, 25, 718, 161], "vertical": true, "font_size": 28, "lines_coords": [[[687.0, 25.0], [715.0, 25.0], [717.0, 161.0], [689.0, 161.0]]], "lines": ["すごいのハッ"]}, {"box": [583, 70, 652, 138], "vertical": true, "font_size": 32, "lines_coords": [[[615.0, 71.0], [652.0, 71.0], [652.0, 124.0], [615.0, 124.0]], [[583.0, 71.0], [611.0, 70.0], [614.0, 137.0], [588.0, 138.0]]], "lines": ["あっ", "またっ"]}, {"box": [348, 39, 427, 199], "vertical": true, "font_size": 23, "lines_coords": [[[402.0, 66.0], [426.0, 66.0], [426.0, 198.0], [402.0, 198.0]], [[375.0, 57.0], [398.0, 57.0], [398.0, 198.0], [375.0, 198.0]], [[348.0, 42.0], [371.0, 42.0], [371.0, 175.0], [348.0, 175.0]]], "lines": ["ツドの下なら", "やつされずに", "ゆっくり..."]}, {"box": [257, 119, 305, 246], "vertical": true, "font_size": 22, "lines_coords": [[[283.0, 119.0], [302.0, 119.0], [304.0, 246.0], [285.0, 246.0]], [[257.0, 121.0], [282.0, 121.0], [282.0, 187.0], [257.0, 187.0]]], "lines": ["出てきなさい", "ナナ!"]}, {"box": [605, 545, 630, 612], "vertical": true, "font_size": 25, "lines_coords": [[[605.0, 545.0], [630.0, 545.0], [630.0, 612.0], [605.0, 612.0]]], "lines": ["あが..."]}, {"box": [494, 351, 524, 435], "vertical": true, "font_size": 30, "lines_coords": [[[494.0, 351.0], [524.0, 351.0], [524.0, 435.0], [494.0, 435.0]]], "lines": ["うわ!"]}, {"box": [303, 330, 435, 461], "vertical": true, "font_size": 28, "lines_coords": [[[405.0, 342.0], [435.0, 342.0], [435.0, 422.0], [405.0, 422.0]], [[373.0, 342.0], [402.0, 342.0], [402.0, 422.0], [373.0, 422.0]], [[333.0, 331.0], [362.0, 330.0], [365.0, 460.0], [336.0, 461.0]], [[303.0, 331.0], [328.0, 331.0], [328.0, 410.0], [303.0, 410.0]]], "lines": ["なんだ", "これ!?", "トカゲじゃ", "ない!?"]}, {"box": [213, 327, 272, 460], "vertical": true, "font_size": 26, "lines_coords": [[[244.0, 327.0], [271.0, 327.0], [271.0, 460.0], [244.0, 460.0]], [[213.0, 330.0], [237.0, 330.0], [237.0, 433.0], [213.0, 433.0]]], "lines": ["これって...", "ヤモリ!?"]}, {"box": [46, 333, 131, 450], "vertical": true, "font_size": 27, "lines_coords": [[[99.0, 333.0], [131.0, 333.0], [131.0, 386.0], [99.0, 386.0]], [[75.0, 337.0], [99.0, 337.0], [99.0, 450.0], [75.0, 450.0]], [[46.0, 338.0], [70.0, 338.0], [70.0, 407.0], [46.0, 407.0]]], "lines": ["あの", "田舎とかに", "いる!?"]}, {"box": [176, 803, 225, 909], "vertical": true, "font_size": 24, "lines_coords": [[[198.0, 803.0], [225.0, 803.0], [225.0, 851.0], [198.0, 851.0]], [[177.0, 806.0], [197.0, 806.0], [197.0, 909.0], [177.0, 909.0]]], "lines": ["でも", "リリース!"]}, {"box": [676, 798, 724, 968], "vertical": true, "font_size": 20, "lines_coords": [[[701.0, 798.0], [724.0, 798.0], [724.0, 968.0], [701.0, 968.0]], [[676.0, 800.0], [695.0, 800.0], [695.0, 968.0], [676.0, 968.0]]], "lines": ["どっから捕まえて", "きたんだよお前!"]}, {"box": [603, 973, 680, 1155], "vertical": true, "font_size": 20, "lines_coords": [[[661.0, 973.0], [680.0, 973.0], [680.0, 1133.0], [661.0, 1133.0]], [[631.0, 973.0], [651.0, 973.0], [651.0, 1155.0], [631.0, 1155.0]], [[603.0, 975.0], [624.0, 975.0], [624.0, 1088.0], [603.0, 1088.0]]], "lines": ["初めて見たよ!", "こんな住宅地にも", "いるんだ!"]}, {"box": [247, 852, 273, 1011], "vertical": true, "font_size": 24, "lines_coords": [[[247.0, 853.0], [271.0, 853.0], [271.0, 1011.0], [247.0, 1011.0]]], "lines": ["めずらしいな〜"]}]}
1 change: 1 addition & 0 deletions tests/data/expected_results/test1_webp/_ocr/vol1/001b.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version": "0.1.7", "img_width": 827, "img_height": 1170, "blocks": [{"box": [683, 46, 767, 255], "vertical": true, "font_size": 25, "lines_coords": [[[741.0, 46.0], [765.0, 46.0], [766.0, 252.0], [742.0, 252.0]], [[713.0, 46.0], [737.0, 46.0], [736.0, 254.0], [712.0, 254.0]], [[683.0, 47.0], [711.0, 47.0], [711.0, 118.0], [683.0, 118.0]]], "lines": ["あったまきちゃう!", "ぜっかくつかまえた", "のに!"]}, {"box": [362, 43, 388, 161], "vertical": true, "font_size": 26, "lines_coords": [[[362.0, 43.0], [388.0, 43.0], [388.0, 161.0], [362.0, 161.0]]], "lines": ["...いいわ!"]}, {"box": [189, 38, 271, 179], "vertical": true, "font_size": 23, "lines_coords": [[[246.0, 39.0], [269.0, 39.0], [269.0, 179.0], [246.0, 179.0]], [[218.0, 41.0], [241.0, 41.0], [241.0, 178.0], [218.0, 178.0]], [[189.0, 41.0], [212.0, 41.0], [212.0, 178.0], [189.0, 178.0]]], "lines": ["こーなったら", "ご主人さまと", "根くらべよ!"]}, {"box": [743, 331, 786, 423], "vertical": true, "font_size": 19, "lines_coords": [[[767.0, 331.0], [783.0, 331.0], [783.0, 423.0], [767.0, 423.0]], [[743.0, 333.0], [765.0, 333.0], [765.0, 388.0], [743.0, 388.0]]], "lines": ["弟子のブリン", "ーさい"]}, {"box": [645, 465, 723, 543], "vertical": true, "font_size": 25, "lines_coords": [[[695.0, 470.0], [723.0, 470.0], [723.0, 511.0], [695.0, 511.0]], [[664.0, 465.0], [692.0, 466.0], [689.0, 511.0], [662.0, 510.0]], [[645.0, 469.0], [665.0, 469.0], [665.0, 543.0], [645.0, 543.0]]], "lines": ["あっ", "また", "ヤモリ!"]}, {"box": [314, 471, 338, 563], "vertical": true, "font_size": 24, "lines_coords": [[[314.0, 471.0], [338.0, 471.0], [338.0, 563.0], [314.0, 563.0]]], "lines": ["またっ!"]}, {"box": [215, 536, 237, 626], "vertical": true, "font_size": 21, "lines_coords": [[[215.0, 537.0], [236.0, 537.0], [236.0, 624.0], [215.0, 624.0]]], "lines": ["またっ!"]}, {"box": [114, 471, 174, 642], "vertical": true, "font_size": 17, "lines_coords": [[[154.0, 471.0], [174.0, 471.0], [174.0, 541.0], [154.0, 541.0]], [[135.0, 473.0], [151.0, 473.0], [151.0, 642.0], [135.0, 642.0]], [[114.0, 471.0], [130.0, 471.0], [130.0, 627.0], [114.0, 627.0]]], "lines": ["こうして", "キャッチ&リリースを", "くり返した結果..."]}, {"box": [665, 678, 748, 839], "vertical": true, "font_size": 24, "lines_coords": [[[723.0, 678.0], [747.0, 678.0], [747.0, 839.0], [723.0, 839.0]], [[694.0, 679.0], [718.0, 679.0], [720.0, 795.0], [696.0, 795.0]], [[665.0, 679.0], [689.0, 679.0], [692.0, 839.0], [668.0, 839.0]]], "lines": ["ヤモリの繁殖に", "みごと成功", "したのでした!"]}, {"box": [300, 774, 339, 871], "vertical": true, "font_size": 16, "lines_coords": [[[320.0, 786.0], [336.0, 786.0], [336.0, 871.0], [320.0, 871.0]], [[301.0, 776.0], [317.0, 776.0], [317.0, 868.0], [301.0, 868.0]]], "lines": ["これでいっても", "狩りほうだい!"]}, {"box": [193, 685, 213, 754], "vertical": true, "font_size": 20, "lines_coords": [[[193.0, 685.0], [213.0, 685.0], [213.0, 754.0], [193.0, 754.0]]], "lines": ["あう..."]}, {"box": [680, 914, 732, 1097], "vertical": true, "font_size": 23, "lines_coords": [[[707.0, 914.0], [729.0, 914.0], [732.0, 1076.0], [709.0, 1076.0]], [[680.0, 915.0], [703.0, 915.0], [703.0, 1096.0], [680.0, 1096.0]]], "lines": ["さらにあたしは", "進化をつづける!"]}, {"box": [267, 915, 351, 1102], "vertical": true, "font_size": 23, "lines_coords": [[[326.0, 918.0], [350.0, 918.0], [350.0, 1075.0], [326.0, 1075.0]], [[298.0, 916.0], [320.0, 916.0], [320.0, 1099.0], [298.0, 1099.0]], [[267.0, 915.0], [291.0, 915.0], [293.0, 1102.0], [269.0, 1102.0]]], "lines": ["ついにすべての", "ネコのあこがれ...", "ネズミをゲット!!"]}, {"box": [167, 1012, 208, 1085], "vertical": true, "font_size": 16, "lines_coords": [[[185.0, 1019.0], [201.0, 1019.0], [201.0, 1072.0], [185.0, 1072.0]]], "lines": ["そんけー"]}]}
1 change: 1 addition & 0 deletions tests/data/expected_results/test1_webp/_ocr/vol1/002a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version": "0.1.7", "img_width": 827, "img_height": 1170, "blocks": [{"box": [671, 75, 726, 237], "vertical": true, "font_size": 26, "lines_coords": [[[701.0, 77.0], [725.0, 77.0], [725.0, 213.0], [701.0, 213.0]], [[671.0, 75.0], [699.0, 75.0], [699.0, 237.0], [671.0, 237.0]]], "lines": ["ご主人さまも", "おおよろこび!"]}, {"box": [577, 64, 637, 173], "vertical": true, "font_size": 26, "lines_coords": [[[609.0, 65.0], [637.0, 65.0], [637.0, 173.0], [609.0, 173.0]], [[577.0, 66.0], [601.0, 66.0], [601.0, 170.0], [577.0, 170.0]]], "lines": ["ギャ~~~", "ネズミ!?"]}, {"box": [351, 53, 413, 212], "vertical": true, "font_size": 27, "lines_coords": [[[383.0, 53.0], [411.0, 53.0], [413.0, 212.0], [386.0, 212.0]], [[351.0, 54.0], [381.0, 54.0], [381.0, 137.0], [351.0, 137.0]]], "lines": ["はなしなさい", "ナナ!!"]}, {"box": [290, 82, 343, 308], "vertical": true, "font_size": 27, "lines_coords": [[[312.0, 83.0], [341.0, 82.0], [343.0, 173.0], [315.0, 174.0]], [[290.0, 105.0], [312.0, 105.0], [312.0, 308.0], [290.0, 308.0]]], "lines": ["やってか", "いったいどこから!?"]}, {"box": [53, 93, 90, 149], "vertical": true, "font_size": 37, "lines_coords": [[[53.0, 93.0], [90.0, 93.0], [90.0, 149.0], [53.0, 149.0]]], "lines": ["はっ"]}, {"box": [485, 341, 536, 523], "vertical": true, "font_size": 24, "lines_coords": [[[510.0, 341.0], [534.0, 341.0], [536.0, 479.0], [512.0, 479.0]], [[485.0, 341.0], [508.0, 341.0], [508.0, 523.0], [485.0, 523.0]]], "lines": ["こいつを庭に", "リリースしたら.."]}, {"box": [382, 341, 434, 502], "vertical": true, "font_size": 24, "lines_coords": [[[407.0, 341.0], [431.0, 341.0], [434.0, 502.0], [410.0, 502.0]], [[382.0, 343.0], [403.0, 343.0], [403.0, 433.0], [382.0, 433.0]]], "lines": ["また繁殖されて", "しまう!"]}, {"box": [341, 414, 363, 469], "vertical": true, "font_size": 24, "lines_coords": [[[341.0, 415.0], [360.0, 414.0], [363.0, 468.0], [343.0, 469.0]]], "lines": ["ネズミ"]}, {"box": [283, 346, 340, 441], "vertical": true, "font_size": 24, "lines_coords": [[[311.0, 346.0], [340.0, 346.0], [340.0, 419.0], [311.0, 419.0]], [[283.0, 348.0], [310.0, 348.0], [310.0, 441.0], [283.0, 441.0]]], "lines": ["それは", "マズイ!!"]}, {"box": [242, 387, 270, 505], "vertical": true, "font_size": 24, "lines_coords": [[[242.0, 388.0], [267.0, 387.0], [270.0, 503.0], [245.0, 505.0]]], "lines": ["かといって"]}, {"box": [216, 384, 268, 574], "vertical": true, "font_size": 19, "lines_coords": [[[218.0, 390.0], [237.0, 390.0], [237.0, 573.0], [218.0, 573.0]]], "lines": ["ナナに返したら..."]}, {"box": [87, 337, 131, 405], "vertical": true, "font_size": 23, "lines_coords": [[[105.0, 337.0], [130.0, 337.0], [130.0, 389.0], [105.0, 389.0]], [[87.0, 339.0], [108.0, 337.0], [115.0, 403.0], [94.0, 405.0]]], "lines": ["えくまで", "捨てに行く"]}, {"box": [177, 475, 201, 568], "vertical": true, "font_size": 16, "lines_coords": [[[180.0, 478.0], [196.0, 478.0], [196.0, 565.0], [180.0, 565.0]]], "lines": ["あですけっ"]}, {"box": [622, 706, 680, 917], "vertical": true, "font_size": 28, "lines_coords": [[[649.0, 707.0], [677.0, 707.0], [680.0, 917.0], [653.0, 917.0]], [[624.0, 706.0], [652.0, 706.0], [649.0, 848.0], [622.0, 848.0]]], "lines": ["これからのギゼツ...", "狩りも本番!"]}, {"box": [238, 706, 299, 890], "vertical": true, "font_size": 28, "lines_coords": [[[265.0, 706.0], [295.0, 706.0], [299.0, 890.0], [268.0, 890.0]], [[238.0, 710.0], [265.0, 710.0], [267.0, 858.0], [241.0, 858.0]]], "lines": ["ごキタイください", "ご主人さま!"]}, {"box": [309, 1124, 463, 1164], "vertical": false, "font_size": 16, "lines_coords": [[[327.0, 1127.0], [458.0, 1127.0], [458.0, 1143.0], [327.0, 1143.0]]], "lines": ["うちの横..."]}, {"box": [113, 1043, 130, 1104], "vertical": true, "font_size": 16, "lines_coords": [[[114.0, 1044.0], [130.0, 1044.0], [130.0, 1102.0], [114.0, 1102.0]]], "lines": ["やめて..."]}]}
1 change: 1 addition & 0 deletions tests/data/expected_results/test1_webp/_ocr/vol1/002b.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version": "0.1.7", "img_width": 827, "img_height": 1170, "blocks": [{"box": [728, 104, 748, 262], "vertical": true, "font_size": 16, "lines_coords": [[[729.0, 107.0], [745.0, 107.0], [745.0, 223.0], [729.0, 223.0]]], "lines": ["数年前のお話"]}, {"box": [510, 83, 554, 159], "vertical": true, "font_size": 20, "lines_coords": [[[534.0, 83.0], [553.0, 83.0], [553.0, 158.0], [534.0, 158.0]], [[510.0, 83.0], [531.0, 83.0], [531.0, 159.0], [510.0, 159.0]]], "lines": ["俺の名は", "ノラボス"]}, {"box": [105, 60, 149, 159], "vertical": true, "font_size": 19, "lines_coords": [[[129.0, 67.0], [148.0, 67.0], [148.0, 159.0], [129.0, 159.0]], [[105.0, 60.0], [124.0, 60.0], [124.0, 140.0], [105.0, 140.0]]], "lines": ["人間どもは", "そう手ぶ"]}, {"box": [430, 429, 491, 467], "vertical": false, "font_size": 31, "lines_coords": [[[434.0, 429.0], [491.0, 436.0], [487.0, 467.0], [430.0, 460.0]]], "lines": ["や"]}, {"box": [33, 441, 212, 471], "vertical": false, "font_size": 30, "lines_coords": [[[33.0, 441.0], [212.0, 441.0], [212.0, 471.0], [33.0, 471.0]]], "lines": ["[がぁさん]"]}, {"box": [661, 551, 725, 690], "vertical": true, "font_size": 20, "lines_coords": [[[705.0, 553.0], [725.0, 553.0], [725.0, 656.0], [705.0, 656.0]], [[683.0, 553.0], [703.0, 553.0], [705.0, 674.0], [685.0, 674.0]], [[663.0, 551.0], [683.0, 551.0], [680.0, 655.0], [661.0, 655.0]]], "lines": ["その名の通り", "この辺り!!一番は", "俺の縄張りだ"]}, {"box": [625, 727, 711, 806], "vertical": true, "font_size": 22, "lines_coords": [[[691.0, 732.0], [711.0, 740.0], [703.0, 758.0], [683.0, 750.0]], [[644.0, 727.0], [669.0, 727.0], [669.0, 806.0], [644.0, 806.0]], [[625.0, 730.0], [645.0, 730.0], [645.0, 804.0], [625.0, 804.0]]], "lines": ["お", "来てるな", "ノラボス"]}, {"box": [490, 734, 574, 811], "vertical": true, "font_size": 24, "lines_coords": [[[548.0, 734.0], [574.0, 734.0], [574.0, 794.0], [548.0, 794.0]], [[528.0, 734.0], [549.0, 734.0], [549.0, 810.0], [528.0, 810.0]], [[491.0, 735.0], [515.0, 735.0], [515.0, 810.0], [491.0, 810.0]]], "lines": ["おいで", "おいで!", "ニャ~っ"]}, {"box": [429, 753, 447, 799], "vertical": true, "font_size": 18, "lines_coords": [[[429.0, 753.0], [447.0, 753.0], [447.0, 799.0], [429.0, 799.0]]], "lines": ["..."]}, {"box": [99, 1015, 165, 1110], "vertical": true, "font_size": 19, "lines_coords": [[[147.0, 1032.0], [165.0, 1032.0], [165.0, 1055.0], [147.0, 1055.0]], [[123.0, 1016.0], [142.0, 1016.0], [142.0, 1110.0], [123.0, 1110.0]], [[99.0, 1015.0], [118.0, 1015.0], [118.0, 1093.0], [99.0, 1093.0]]], "lines": ["...", "愛想のない", "奴だなあ"]}]}

0 comments on commit 13851d8

Please sign in to comment.