2026-09-10 16:59:11 +03:00
|
|
|
unitprint/backend/scan/DocRes
|
|
|
|
|
=
|
2026-09-12 04:17:58 +03:00
|
|
|
ssh://git@root-kit.ru:17458/UnitPrint/scan-DocRes.git
|
|
|
|
|
git remote set-url origin ssh://git@root-kit.ru:17458/UnitPrint/scan-DocScanner.git
|
2026-09-10 16:59:11 +03:00
|
|
|
|
|
|
|
|
``` sh *** build ***
|
2026-09-12 04:17:58 +03:00
|
|
|
cp -rfPl * ..
|
|
|
|
|
cp -rfPl .* ..
|
2026-09-10 16:59:11 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
``` sh *** config ***
|
|
|
|
|
ln -sf /pkg/gnu/unitprint/backend/scan/venv
|
|
|
|
|
source venv/bin/activate
|
|
|
|
|
pip install einops scikit-image opencv-python-headless tqdm
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
``` sh *** upload_weights ***
|
|
|
|
|
mkdir -p data/weights
|
|
|
|
|
#rsync -avz ~/Downloads/mbd.pkl a:/pkg/gnu/unitprint/backend/scan/DocRes/data/weights
|
|
|
|
|
#rsync -avz ~/Downloads/docres.pkl a:/pkg/gnu/unitprint/backend/scan/DocRes/data/weights
|
|
|
|
|
```
|