Page Image Explorer (PIE) is a visualization tool for document collections. The READ project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 674943.
Qt
SDK or the compiled sources (>= 5.9.0)OpenCV
(>= 3.3.0)
- Clone the repository from
[email protected]:TUWien/PIE.git
- Open CMake GUI
- set your ReadFramework folder to
where is the source code
- choose a build folder
- Hit
Configure
- Set
QT_QMAKE_EXECUTABLE
by locating the qmake.exe - Set
OpenCV_DIR
to your OpenCV build folder - Hit
Configure
thenGenerate
- Open the
PIE.sln
which is in your new build directory - Right-click the PIE project and choose
Set as StartUp Project
- Compile the Solution
- enjoy
- check if you have setup OpenCV
- check if your Qt is set correctly (otherwise set the path to
qt_install_dir/qtbase/bin/qmake.exe
) - check if your builds proceeded correctly
Note that Qt 5.5 is needed, thus Ubuntu version must be >= 16.04 or backports of Qt 5.5 have to be used (see .travis.yml for an ppa repository and names packages which need to be installed).
Get required packages:
sudo apt-get install qt5-qmake qttools5-dev-tools qt5-default libqt5svg5 qt5-image-formats-plugins libopencv-dev cmake git
You also need OpenCV > 3.0. Either you can compile it yourself or perhaps you find a repository (you can also use the one from the .travis file, but be carefull, these packages are not tested, then you need following packages:
sudo apt-get install libopencv-dev libopencv-stitching-dev libopencv-imgcodecs-dev libopencv-flann-dev libopencv-features2d-dev libopencv-calib3d-dev libopencv-hdf-dev libopencv-reg-dev libopencv-shape-dev libopencv-xobjdetect-dev libopencv-xfeatures2d-dev libopencv-ximgproc-dev libopencv-highgui-dev
Get the READ Framework sources from github:
git clone https://github.com/TUWien/PIE
This will by default place the source into ./PIE
Go to the PIE directory and run cmake
to get the Makefiles:
cd PIE
cmake .
Compile READ Framework:
make
You will now have a binary (PIE), which you can test (or use directly). Also the build libraries are in this directory. To install it to /usr/local/bin, use:
sudo make install
- Markus Diem
- Stefan Fiel
- Florian Kleber