pruebas-de-validacion
'pruebas-de-validacion' means acceptance testing,
image viewer for parallel comparison
Author
Github: @Odin-son
LinkedIn: @mdsd12This project was inspired from acbetter
Requirements
- library
- PyQt5
Getting Started
in case of using virtualenv,
$ virtualenv [env_name] --python=python3.7
$ source [en_name]/bin/activate
in case of using anaconda,
$ conda create -n [env_name] python=3.7
$ conda activate [env_name]
install required library(CLI)
$ pip install PyQt5 pyperclip
How to use
From now on, execute program by using command
python viewer.py
$ cd path/to/project
$ cd src/``
$ python viewer.py
Choose the menu items when the program runs
Before using
Open Both...
, there is required structure below:
# use the same filename for each sub-directory
ROOT
βββ original
β βββ image.png
β βββ ...
βββ mask
βββ image.png
βββ ...
In case of using
Find...
, the viewer is located in the center based entered position
In case of using
Find Direct...
, the viewer is located in the center based on content of clipboard
There is a function which is able to extract only number from content of clipboard
Troubleshooting
$ cd path/to/project
$ cd src/
$ python viewer.py
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Aborted (core dumped)
sudo apt-get install "^libxcb.*" libx11-xcb-dev libglu1-mesa-dev libxrender-dev
π License
Copyright Β© 2020 Changwoo Song. This project is MIT licensed.