Skip to content

Commit

Permalink
ocr-book becomes diptych
Browse files Browse the repository at this point in the history
  • Loading branch information
bansan85 committed Jan 24, 2021
1 parent 7afa9dc commit b936ced
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/documentation-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
run: |
eval `ssh-agent`
ssh-add ~/.ssh/id_rsa
git clone --depth 1 ssh://git@github.com/bansan85/ocr-book-travis.git -b documentation
rm -Rf ocr-book-travis/{*.htm*,*.png}
git clone --depth 1 ssh://git@github.com/bansan85/diptych-travis.git -b documentation
rm -Rf diptych-travis/{*.htm*,*.png}
cd doc
find . -name "*.asciidoc" -exec asciidoctor {} -D ../ocr-book-travis \;
cp *.png ../ocr-book-travis/
find . -name "*.asciidoc" -exec asciidoctor {} -D ../diptych-travis \;
cp *.png ../diptych-travis/
cd ..
cd ocr-book-travis
cd diptych-travis
git config --global user.name "Travis"
git config --global user.email "travis-ci@le-garrec.fr"
git add .
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ jobs:
run: |
eval `ssh-agent`
ssh-add ~/.ssh/id_rsa
git clone --depth 1 ssh://git@github.com/bansan85/ocr-book-travis.git -b "unittest""${{ matrix.python-version }}"
rm -Rf ocr-book-travis/*
cp -R pytest-junit.xml cov_html coverage.xml ocr-book-travis/
cd ocr-book-travis || exit 1
git clone --depth 1 ssh://git@github.com/bansan85/diptych-travis.git -b "unittest""${{ matrix.python-version }}"
rm -Rf diptych-travis/*
cp -R pytest-junit.xml cov_html coverage.xml diptych-travis/
cd diptych-travis || exit 1
git config --global user.name "Travis"
git config --global user.email "travis-ci@le-garrec.fr"
git add .
Expand All @@ -69,7 +69,7 @@ jobs:
if [ -n "$(git diff-index --name-only HEAD --)" ]
then
echo -e "\n" >> COMMIT_MSG
echo "Update from bansan85/ocr-book@$GITHUB_SHA" >> COMMIT_MSG
echo "Update from bansan85/diptych@$GITHUB_SHA" >> COMMIT_MSG
git commit -F COMMIT_MSG || { echo "Failure git commit" && exit 1; }
git push || { echo "Failure git push" && exit 1; }
fi
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "tests"]
path = tests
url = https://github.com/bansan85/ocr-book-tests.git
url = https://github.com/bansan85/diptych-tests.git
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ocr-book
# diptych

## Goal

Expand All @@ -24,9 +24,9 @@ You can have a look at the file `run_all.py` and simply run the command `execute

## It doesn't work with my image

No doubt about it. It still the beginning. Open a [issue](https://github.com/bansan85/ocr-book/issues) in github, send the image and tell what the problem. I will do my best to improve the recognition.
No doubt about it. It still the beginning. Open a [issue](https://github.com/bansan85/diptych/issues) in github, send the image and tell what the problem. I will do my best to improve the recognition.

## How does it work ?

Open the file [algorithm.asciidoc](https://github.com/bansan85/ocr-book/blob/master/doc/algorithm.asciidoc) with the browser but remember that full algorithm is not detailed until they are stable.
Open the file [algorithm.asciidoc](https://github.com/bansan85/diptych/blob/master/doc/algorithm.asciidoc) with the browser but remember that full algorithm is not detailed until they are stable.

8 changes: 4 additions & 4 deletions js/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "ocr-book",
"name": "diptych",
"version": "0.0.1",
"description": "Detect multiple pages in image scanned, split them and apply OCR.",
"main": "index.js",
Expand All @@ -8,12 +8,12 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/bansan85/ocr-book.git"
"url": "git+https://github.com/bansan85/diptych.git"
},
"author": "",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/bansan85/ocr-book/issues"
"url": "https://github.com/bansan85/diptych/issues"
},
"homepage": "https://github.com/bansan85/ocr-book#readme"
"homepage": "https://github.com/bansan85/diptych#readme"
}

0 comments on commit b936ced

Please sign in to comment.