Skip to content

Commit

Permalink
Update README and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Kidev committed Jan 23, 2025
1 parent 70a1e0f commit ffc2e65
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 83 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ The nodes will appear in the node menu under the "image/processing" category:

## Example Workflows

Check the examples folder for sample workflows demonstrating various use cases.
Check the examples folder for sample [workflows](examples/BackAndForth.json) demonstrating various use cases.
![Example](examples/BackAndForthFullframe.png)
119 changes: 60 additions & 59 deletions examples/BackAndForth.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,39 @@
"last_link_id": 6,
"nodes": [
{
"id": 4,
"type": "PreviewImage",
"id": 2,
"type": "Defisheye",
"pos": [
140,
-70
-350,
-790
],
"size": [
210,
246
315,
130
],
"flags": {},
"order": 3,
"order": 1,
"mode": 0,
"inputs": [
{
"name": "images",
"name": "image",
"type": "IMAGE",
"link": 4
"link": 1
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
2,
4
],
"slot_index": 0
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage",
"Node name for S&R": "Defisheye",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
Expand All @@ -34,27 +44,32 @@
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
"widgets_values": [
"orthographic",
"fullframe",
180,
120
]
},
{
"id": 5,
"id": 4,
"type": "PreviewImage",
"pos": [
620,
-490
-200,
-520
],
"size": [
430,
430
490,
360
],
"flags": {},
"order": 4,
"order": 3,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 3
"link": 4
}
],
"outputs": [],
Expand All @@ -74,12 +89,12 @@
"id": 3,
"type": "LoadImage",
"pos": [
-700,
-730,
-580
],
"size": [
470,
450
520,
420
],
"flags": {},
"order": 0,
Expand Down Expand Up @@ -111,44 +126,34 @@
"secondTabWidth": 65
},
"widgets_values": [
"fisheye-image.jpg",
"balloons.jpg",
"image"
]
},
{
"id": 2,
"type": "Defisheye",
"id": 5,
"type": "PreviewImage",
"pos": [
-170,
-280
310,
-520
],
"size": [
315,
130
500,
360
],
"flags": {},
"order": 1,
"order": 4,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 1
}
],
"outputs": [
{
"name": "IMAGE",
"name": "images",
"type": "IMAGE",
"links": [
2,
4
],
"slot_index": 0
"link": 3
}
],
"outputs": [],
"properties": {
"Node name for S&R": "Defisheye",
"Node name for S&R": "PreviewImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
Expand All @@ -157,23 +162,18 @@
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"orthographic",
"fullframe",
180,
120
]
"widgets_values": []
},
{
"id": 1,
"type": "Fisheye",
"pos": [
240,
-340
360,
-790
],
"size": [
315,
130
154
],
"flags": {},
"order": 2,
Expand Down Expand Up @@ -209,7 +209,8 @@
"orthographic",
"fullframe",
180,
120
120,
true
]
}
],
Expand Down Expand Up @@ -251,15 +252,15 @@
"config": {},
"extra": {
"ds": {
"scale": 0.9229599817706413,
"scale": 0.620921323059155,
"offset": [
1037.145963590657,
949.7047748071493
691.5687944020302,
1329.188024627164
]
},
"node_versions": {
"comfy-core": "0.3.12",
"ComfyUI-Fisheye-effects": "0.0.1"
"ComfyUI-Fisheye-effects": "0.0.3",
"comfy-core": "0.3.12"
},
"ue_links": [],
"VHS_latentpreview": true,
Expand Down
Binary file modified examples/BackAndForthFullframe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "fisheye-effects"
description = "Provides tools for applying and removing fisheye lens effects from images."
version = "0.0.2"
version = "0.0.3"
license = {file = "LICENSE"}
dependencies = ["numpy>=1.22.0", "opencv-python>=4.8.0", "Pillow>=9.5.0"]

Expand Down
22 changes: 0 additions & 22 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,25 +1,3 @@
filelock==3.17.0
fsspec==2024.12.0
Jinja2==3.1.5
MarkupSafe==3.0.2
mpmath==1.3.0
networkx==3.4.2
numpy==2.2.2
nvidia-cublas-cu12==12.4.5.8
nvidia-cuda-cupti-cu12==12.4.127
nvidia-cuda-nvrtc-cu12==12.4.127
nvidia-cuda-runtime-cu12==12.4.127
nvidia-cudnn-cu12==9.1.0.70
nvidia-cufft-cu12==11.2.1.3
nvidia-curand-cu12==10.3.5.147
nvidia-cusolver-cu12==11.6.1.9
nvidia-cusparse-cu12==12.3.1.170
nvidia-nccl-cu12==2.21.5
nvidia-nvjitlink-cu12==12.4.127
nvidia-nvtx-cu12==12.4.127
opencv-python==4.11.0.86
pillow==11.1.0
setuptools==75.8.0
sympy==1.13.1
torch==2.5.1
typing_extensions==4.12.2

0 comments on commit ffc2e65

Please sign in to comment.