Giter Club home page Giter Club logo

pyqt-matplotlib-scatter-plots-example's Introduction

pyqt-matplotlib-scatter-plots-example

Showcase of interaction of PyQt GUI and Matplotlib Scatter Plot (with LassoSelector)

The module helps optimize image size when generating image models.

You can use it by selecting and removing overly large and excessively small images from the graph.

I made this by reading this article.

Read the article to know how this works. After all this package is just an example of utilizing that article's example :)

How to Install

  1. git clone ~
  2. pip install -r requirements.txt
  3. move your folders which contains the image files to src, you can see each iamges in the graph
  • if you don't have anything, default images directories are prepared in src folder (Alzheimer's Disease MRI, Parkinson's Disease MRI)

Preview

image

Images are distributed according to their sizes.

How to Use

2023-08-25.11-45-54.mp4

Ignore the dark part of the video :)

Select the dots (which are corresponding with image file inside the directory) with lasso, and delete them at the widget on the right side of the window.

If you press the "delete" button, it actually deletes the images. So you have to back them up before you use this.

The program will restart to reload the scatter plot after deletion.

You can view an underlying image when you click on a specific dot. This could help you make a more careful decision about whether to remove it or not.

pyqt-matplotlib-scatter-plots-example's People

Contributors

yjg30737 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.