Git Product home page Git Product logo

pruebas-de-validacion's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.