Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing loadWebcamImage #55

Open
eranmahalu opened this issue Dec 10, 2024 · 13 comments
Open

missing loadWebcamImage #55

eranmahalu opened this issue Dec 10, 2024 · 13 comments

Comments

@eranmahalu
Copy link

Hi,
I keep getting a Missing Node Types
When loading the graph, the following node types were not found
LoadWebcamImage

Updated everything and still get this error

@toyxyz
Copy link
Owner

toyxyz commented Dec 10, 2024

Can you show me the error message you see in the cmd?

@eranmahalu
Copy link
Author

it doesn't say much:
invalid prompt: {'type': 'invalid_prompt', 'message': 'Cannot execute because a node is missing the class_type property.', 'details': "Node ID '#53'", 'extra_info': {}}

@eranmahalu
Copy link
Author

image

@toyxyz
Copy link
Owner

toyxyz commented Dec 10, 2024

This means that the installation and loading of the custom node failed, check the error message in cmd.
Make sure you look at the top part, not the bottom.

@eranmahalu
Copy link
Author

Cannot import E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_toyxyz_test_nodes module for custom nodes: cannot import name 'guidedFilter' from 'cv2.ximgproc' (unknown location)

@eranmahalu
Copy link
Author

0.0 seconds (IMPORT FAILED): E:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_toyxyz_test_nodes

@toyxyz
Copy link
Owner

toyxyz commented Dec 10, 2024

Seems like OpenCV problem. If you are using the portable version, go to the path where 'Python_embeded' is located on the cmd and then run:

python_embeded/python.exe -s -m pip install opencv-contrib-python

@eranmahalu
Copy link
Author

Hi, I did it - still the error persists...

@eranmahalu
Copy link
Author

also this now - [ERROR:0@26.609] global obsensor_uvc_stream_channel.cpp:158 cv::obsensor::getStreamChannelGroup Camera index out of range

@toyxyz
Copy link
Owner

toyxyz commented Dec 10, 2024

Try uninstalling and reinstalling opencv.

python_embeded/python.exe -s -m pip uninstall opencv-python
python_embeded/python.exe -s -m pip uninstall opencv-contrib-python

python_embeded/python.exe -s -m pip install opencv-python
python_embeded/python.exe -s -m pip install opencv-contrib-python

@eranmahalu
Copy link
Author

now it is ok, thanks. one question though - in the demo video you show a node where you "play" with the open pose...which node is it?

@toyxyz
Copy link
Owner

toyxyz commented Dec 11, 2024

It is a screencapture node that captures the UI of blender and sends it to comfyui.

https://toyxyz.gumroad.com/l/ciojz

@pr1ntr
Copy link

pr1ntr commented Dec 18, 2024

Try uninstalling and reinstalling opencv.

python_embeded/python.exe -s -m pip uninstall opencv-python python_embeded/python.exe -s -m pip uninstall opencv-contrib-python

python_embeded/python.exe -s -m pip install opencv-python python_embeded/python.exe -s -m pip install opencv-contrib-python

for anyone who finds this... I had to do this from powershell with admin rights and i had to add --no-cache-dir
so:

python_embeded/python.exe -s -m pip uninstall opencv-python
python_embeded/python.exe -s -m pip uninstall opencv-contrib-python

python_embeded/python.exe -s -m pip install opencv-python --no-cache-dir
python_embeded/python.exe -s -m pip install opencv-contrib-python --no-cache-dir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants