Skip to main content

Imaging Client GUI for manual classification

Project description

Client Graphical User Interface

This client GUI is used for manual imaging target classification through the BYU AUVSI imaging server.

Setup

End-user

If you just want to use the client to classify images, and don't plan on doing any development with it, here's how you can set it up.

Ubuntu:

sudo apt install python3-pip python3-tk
pip3 install byu-auvsi-imaging-client

And to run you can simply enter:

./.local/bin/img_gui

You may also consider adding ~/.local/bin/ to your PATH:

export PATH="$HOME/.local/bin:$PATH"

Development

To develop and contribute to this gui, clone the imaging repository.

This gui was built with tkinter in python3 and relies on a few packages

sudo apt install python3-tk python3-tk
./setup/dev_setup.sh

Use

For development you should run the gui in its local directory:

cd ...../src/imaging/client
python gui.py

If installed via pip, simply run it as a script:

./~/.local/bin/img_gui

Sub Functions

This gui is built with with a tkinter tab framework. Each tab is initialized at startup which creates each container label and widget on each tab. Only one tab runs at a time.

lib/client_rest.py contains all functions that interact with the server
lib/tabX.py contains the functions for tab X
lib/tab_tools.py contains helper functions used by multiple tabs

Releasing on Pypi

Travis takes care of most of the heavy lifting when you want to release a new version of the gui onto pip/Pypi. In order to release a new version, you need to do two things:

  1. Update the VERSION variable in client/setup.py to whatever the new version is going to be called. If you dont do this, the new code will NOT be uploaded onto Pypi!

  2. Update the self.version_num at the top of the file client/lib/tab0.py to display on the gui the correct current version number.

  3. Create a release tag on github that matches the VERSION. (Goto Releases->Create a new Release). Once a commit is tagged as a release, Travis will kick off a 'deploy' build for the current code, sending it to PyPi and thus to pip.

Future Updates

The header of each file contains possible future improvements

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

byu-auvsi-imaging-client-0.1.8.tar.gz (188.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

byu_auvsi_imaging_client-0.1.8-py3-none-any.whl (250.3 kB view details)

Uploaded Python 3

File details

Details for the file byu-auvsi-imaging-client-0.1.8.tar.gz.

File metadata

  • Download URL: byu-auvsi-imaging-client-0.1.8.tar.gz
  • Upload date:
  • Size: 188.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7

File hashes

Hashes for byu-auvsi-imaging-client-0.1.8.tar.gz
Algorithm Hash digest
SHA256 e5751bb8ffd74cf18e025a33f025a0605ae7469521018028e1139ed4339bfdc7
MD5 5070ad3dee895f9500b1c6cb31e5a32d
BLAKE2b-256 3b5f686bb6ebabe2b00f71668e147892cbb493e19cf8fa5a996392135f505f81

See more details on using hashes here.

File details

Details for the file byu_auvsi_imaging_client-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: byu_auvsi_imaging_client-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 250.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7

File hashes

Hashes for byu_auvsi_imaging_client-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 56c312007ed68e4244e3c577e580cc52308c3f6f819ef08fd2ee7d111d2ebdbf
MD5 d260a4cfa18e16af69b85e8fe9569860
BLAKE2b-256 ce368d8a9a4be157b4e873d2a5e8f62b38eeea5125eade8e50d38211368916b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page