This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": "http://iiif.io/api/presentation/2/context.json", | |
"@id": "http://91d111ec-49ff-40c5-bd1e-fd3bdecee82d", | |
"@type": "sc:Manifest", | |
"label": "my favorit things", | |
"metadata": [], | |
"description": [ | |
{ | |
"@value": "... my favorit images", | |
"@language": "en" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import urllib.request | |
import json | |
import sys | |
from PIL import Image | |
import requests | |
from io import BytesIO | |
import argparse | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import cv2 | |
import argparse | |
if __name__ == "__main__": | |
parser = argparse.ArgumentParser(description='Pre-process for OCR') | |
parser.add_argument('input', help='Name of original image') | |
parser.add_argument('output', help='Name of output image') | |
args = parser.parse_args() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import os | |
from PIL import Image | |
if __name__ == "__main__": | |
im_list = [] | |
for i in os.listdir('./img'): | |
filename = './img/' + i | |
imgs = Image.open(filename) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import urllib.request | |
import json | |
import sys | |
from PIL import Image | |
import requests | |
from io import BytesIO | |
import cv2 | |
import numpy as np | |
import img2pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import urllib.request | |
import json | |
import sys | |
from PIL import Image | |
import requests | |
from io import BytesIO | |
import cv2 | |
import numpy as np | |
import img2pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import urllib.request | |
import json | |
import sys | |
from PIL import Image | |
import requests | |
from io import BytesIO | |
import cv2 | |
import numpy as np | |
import img2pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import os | |
from PIL import Image | |
if __name__ == "__main__": | |
num = 1 | |
for i in os.listdir('./img'): | |
filename = './img/' + i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": "http://iiif.io/api/presentation/3/context.json", | |
"id": "https://imageserver.j-images.ch/iiif/flyer_01/manifest", | |
"type": "Manifest", | |
"label": { "ja": [ "獨伊去りし後" ] }, | |
"metadata": [ | |
{ | |
"label": { "en": [ "Author" ] }, | |
"value": { "none": [ "USA" ] } | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": "http://iiif.io/api/presentation/2/context.json", | |
"@id": "http://d6966ea1-97ef-445e-a6b2-70326a7ee584", | |
"@type": "sc:Manifest", | |
"label": "Dai Nihon saiken dôchû zukan", | |
"metadata": [ | |
{ | |
"label": "Creator: ", | |
"value": { | |
"@value": "友鳴枩旭", |