Odin-son / pruebas-de-validacion

acceptance testing, image viewer for validation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pruebas-de-validacion

License: MIT

'pruebas-de-validacion' means acceptance testing,
test
image viewer for parallel comparison demo

Author

πŸ‘€ Changwoo Song

Github: @Odin-son
LinkedIn: @mdsd12

This 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

demo1

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

demo2

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.

About

acceptance testing, image viewer for validation

License:MIT License


Languages

Language:Python 100.0%