Installation / Setup¶
Installation¶
> pip install htrflow_coreInstalled
You can install htrflow_core
with pypi in a
Python>=3.10 environment.
git clone (for development)
# clone repository and navigate to root directory
git clone https://github.com/Swedish-National-Archives-AI-lab/htrflow_core
cd htrflow_core
# setup python environment and activate it
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
# core install
pip install -e "."
# all models install
pip install -e ".[huggingface, openmmlab, ultralytics]"
# clone repository and navigate to root directory
git clone https://github.com/Swedish-National-Archives-AI-lab/htrflow_core
cd htrflow_core
# setup python environment and activate it
poetry env use python3.10
poetry shell
# core install
poetry install
# all models install
poetry install --all-extras
# or specific framework
poetry install --extras huggingface