Skip to content
/ PyQC Public

Python+Qt5 Interface for quickly quality-controlling arbitrary sets of images

License

Notifications You must be signed in to change notification settings

CoBrALab/PyQC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyQC

A tool for reviewing QC images and storing ratings.

Load data via either the command line or the open files open directory function.

Use the numeric keys on the keybord to assign that score to current image.

Use w and s or / and * to navigatge up and down the list without assigning a rating. Use . to undo previous rating. + and - control image zoom.

Dependencies

PyQt5 (python3-pyqt5 in Ubuntu)

TODO

  • loading from prior CSV data

View Control Settings

  • Menu->Fit to page
  • Menu->Full size

Development notes

To re-generate GUI:

First, use pyuic5 to automatically generate the python code from the user interface .ui file:

pyuic5 window1.ui -o window1.py

Then, modify window1.py as follows:

  • import from image_widgets.py:
# Add the following:
from image_widget import *
  • Switch from QtWidgets.QLabel to SaneDefaultsImageLabel:
# Replace (around line 90):
self.label = QtWidgets.QLabel(self.scrollAreaWidgetContents)

# with
self.label = SaneDefaultsImageLabel()
  • Switch from scrollAreaWidgetContents to label:
# Replace (around line 100):
self.scrollArea.setWidget(self.scrollAreaWidgetContents)

# with
self.scrollArea.setWidget(self.label)

About

Python+Qt5 Interface for quickly quality-controlling arbitrary sets of images

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages