This project sets up a Dockerized development environment using Miniconda for processing comic images and extracting text via OCR.
- Docker: Install Docker
- Docker Compose: (Usually included with Docker Desktop, or install separately)
-
Create Project Structure: Ensure you have the following files and directories in your project root:
. ├── Dockerfile ├── docker-compose.yml ├── environment.yml ├── .dockerignore ├── README.md ├── notebooks/ <-- Create this directory for your Jupyter notebooks ├── data/ <-- Create this directory and place your comic image folders inside (not included) └── src/ <-- Create this directory for any custom Python modules -
Place Comic Images: Put the nested directories containing your comic images inside the
data/folder.
-
Build and Start:
make build make run -
Access Jupyter Notebook: Open your web browser and navigate to
http://localhost:8888orhttp://127.0.0.1:8888. You should see the Jupyter Notebook interface. Since we disabled token/password in theDockerfilefor local convenience, it should open directly. -
Start Coding:
- Create new notebooks inside the
notebooks/directory via the Jupyter interface. - Your comic images (not included) will be accessible within the container at
/app/data/. - You can write reusable Python code in files within the
src/directory and import them into your notebooks (e.g.,from src import my_module).
- Create new notebooks inside the
make stop