{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Piece\n", "\n", "When we put a small piece of a page in the pipeline we get problems." ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "%load_ext autoreload\n", "%autoreload 2" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Import the `fusus` package.\n", "If you do not have it yet, see\n", "[get `fusus`](https://among.github.io/fusus/fusus/about/install.html#get-the-software)." ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "from fusus.book import Book" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Initialize the processing line." ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [], "source": [ "B = Book(cd=\"~/github/among/fusus/pathological\")" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ " 0.00s Batch of 1 pages: 999\n", " 0.00s Start batch processing images\n", " | 0.25s 1 999.jpg \n", " 0.25s all done\n" ] }, { "data": { "text/html": [ "