Skip to main content

Easy Visualisation of Plots

Project description

ongoing

v1.0 | v1.1(current)

v0.1 | v0.2

Colab Preview for Code
Open in Colab

Website for eagleview
Package Website

eagleview

A package for greatly increasing the visualisation of datasets, in minimal lines of code.

Usage

It is advised to use `Method 1`, as the github repository is updated from time to time, it may occour that new changes are not still updated.

Method 1

  1. Clone the repository:
!git clone https://github.com/hexronuspi/eagleview
  1. Upload the folder containing your images. If they are in a zip or any other file, extract them first.

  2. Navigate to the cloned repository:

%cd eagleview
  1. Install the package:
!pip install .
  1. Use the package in your Python code:

Method2

  1. using pip install
!pip install eagleview
import eagleview

Input:

#v0.x
from eagleview.figshow import ImageMatrix

image_display = ImageMatrix('/content/path_to_folder_containing_images')
#v1.x
from eagleview.figshow import ImageMatrix

im = ImageMatrix('/content/path_to_folder_containing_images', '/content/path_to_file_containing_label.csv')
#only .csv extension

Output:

#v1.0
im.rand((a, b)).display_image( # a,b is the size of matrix
    check_col='col_name', # replace 'col_name' with the name of column, which has image name
    display_label=True,  # by default this is False
    display_cols=['col1', 'col2'], # replace '', to the column name which you want to print as label
    display_name=True, # by default this is False
    print_all=False, # by default this is True
    x= , # X-coordinate of label
    y= , # Y-coordinate of label
    fig_size=(m, n) # by default this is set to max(image_size), maximum size of all the images which will be displayed
)
#v0.2
(ImageMatrix('/content/path_to_folder_containing_images').rand()).display_image((2,2), print_all=False, display_name=True)
# v0.1
(ImageMatrix('/content/path_to_folder_containing_images')).display_image((2,2), print_all=False)

Releases:

  • v0.1

    • This will display the images in a grid with 3 columns and 2 rows, without printing the left out images. If you want to print all images, you can call image_display.display_image((2, 3)) or image_display.display_image((2, 3), True).
  • v0.2

    • This will display the name of the images, as their titles. In v0.1, the images were printed starting from first and consecutive until upper bound is reached, this is an optional and random option is added.
  • v1.0

    • Added capability to display label with a variey of options.
  • v1.1

    • Added capability to change label display and visuals with a variey of options.

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

eagleview-1.1.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

eagleview-1.1-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

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