Metadata-Version: 2.1
Name: imgraph
Version: 0.0.4
Summary: Converts an image to a graph and apply GNNs for various tasks.
Home-page: https://github.com/aryan-at-ul/imgraph
Author: Aryan Singh
Author-email: aryan.singh@ul.ie
License: MIT
Keywords: image to graph
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt

#IMGRAPH 

###Used for converting image to graph, uses superpixel method for node creation, extract features from CNN models. 

Example Usage: 

```
from imgraph import image_to_graph,draw_graph_as_image

#use a test image
#model_name  -> default resnet18, possible value densenet121 and efficientnet-b0
g,seg = image_to_graph('test.jpeg', n_segments = 10, model_name = "densenet121")


draw_graph_as_image(g,seg)
```

