{"repo":"pleonard212/pix-plot","free":true,"listed":false,"github":"https://github.com/pleonard212/pix-plot","clone":"git clone https://github.com/pleonard212/pix-plot.git","description":"A WebGL viewer for UMAP or TSNE-clustered images","language":"JavaScript","stars":651,"topics":["webgl","web-app","visual-culture","machine-vision","data-visualization"],"license":"MIT","category":"analytics","readme_excerpt":"PixPlot This repository contains code that can be used to visualize tens of thousands of images in a two-dimensional projection within which similar images are clustered together. The image analysis uses Tensorflow's Inception bindings, and the visualization layer uses a custom WebGL viewer. See the change log for recent updates. Installation & Dependencies We maintain several platform-specific installation cookbooks online. Broadly speaking, to install the Python dependencies, we recommend you install Anaconda and then create a conda environment with a Python 3.x runtime: Then you can install the dependencies by running: The website that PixPlot eventually creates requires a WebGL-enabled browser. Quickstart If you have a WebGL-enabled browser and a directory full of images to process, you can prepare the data for the viewer by installing the dependencies above then running: To see the results of this process, you can start a web server by running: The visualization will then be available at http://localhost:5000/output . Sample Data To acquire some sample data with which to build a plot, feel free to use some data prepared by Yale's DHLab: Then in a Python script: The .download() command will make a directory named datasets in your current working directory. That datasets directory will contain a subdirectory named 'oslomini', which contains a directory of images and another directory with a CSV file of image metadata. Using that data, we can next build a plot: Creating Mas","default_branch":null,"files":null,"tree":[],"storefront":"/r/pleonard212","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pleonard212/pix-plot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}