diff --git a/runtime/experiments/applications/by_size/.gitignore b/runtime/experiments/applications/by_dpi/.gitignore similarity index 100% rename from runtime/experiments/applications/by_size/.gitignore rename to runtime/experiments/applications/by_dpi/.gitignore diff --git a/runtime/experiments/applications/by_dpi/README.md b/runtime/experiments/applications/by_dpi/README.md new file mode 100644 index 0000000..7c3880b --- /dev/null +++ b/runtime/experiments/applications/by_dpi/README.md @@ -0,0 +1,7 @@ +# OCR varied by DPI + +Generates pnm image files containing random words from the wamerican dictionary. + +The number of words are held constant at 100, and the `mono` font is used for all runs. The dpi of the image is varied to judge how more visual details affects OCR accuracy and performance. + +Run `install.sh` to install required tools and `run.sh` to run the tests. diff --git a/runtime/experiments/applications/by_size/debug.sh b/runtime/experiments/applications/by_dpi/debug.sh similarity index 100% rename from runtime/experiments/applications/by_size/debug.sh rename to runtime/experiments/applications/by_dpi/debug.sh diff --git a/runtime/experiments/applications/by_size/install.sh b/runtime/experiments/applications/by_dpi/install.sh similarity index 100% rename from runtime/experiments/applications/by_size/install.sh rename to runtime/experiments/applications/by_dpi/install.sh diff --git a/runtime/experiments/applications/by_size/run.sh b/runtime/experiments/applications/by_dpi/run.sh similarity index 100% rename from runtime/experiments/applications/by_size/run.sh rename to runtime/experiments/applications/by_dpi/run.sh diff --git a/runtime/experiments/applications/by_size/spec.json b/runtime/experiments/applications/by_dpi/spec.json similarity index 100% rename from runtime/experiments/applications/by_size/spec.json rename to runtime/experiments/applications/by_dpi/spec.json diff --git a/runtime/experiments/applications/by_font/README.md b/runtime/experiments/applications/by_font/README.md index 29a1406..5c77ee2 100644 --- a/runtime/experiments/applications/by_font/README.md +++ b/runtime/experiments/applications/by_font/README.md @@ -1,7 +1,7 @@ -# OCR varied by word +# OCR varied by font Generates pnm image files containing random words from the wamerican dictionary. -The number of words are varied between 1, 10, 100 in order to assess how the size of text OCRed affects the execution profile of the sandbox serving the request. +The number of words is held constant at 100, but a different font is used to render the text. Generally, `mono` performs the best, followed by `URW Gothic`, followed by `Lobster Two`, which is a stylistic font that performs quite poorly. Run `install.sh` to install required tools and `run.sh` to run the tests. diff --git a/runtime/experiments/applications/by_size/README.md b/runtime/experiments/applications/by_size/README.md deleted file mode 100644 index 29a1406..0000000 --- a/runtime/experiments/applications/by_size/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# OCR varied by word - -Generates pnm image files containing random words from the wamerican dictionary. - -The number of words are varied between 1, 10, 100 in order to assess how the size of text OCRed affects the execution profile of the sandbox serving the request. - -Run `install.sh` to install required tools and `run.sh` to run the tests.