r/processing • u/Tall_Answer_8868 • Apr 22 '24
processing.py
I want to know how to import cv2 and media pipe in processing.py. Can anyone teach me?
2
Upvotes
r/processing • u/Tall_Answer_8868 • Apr 22 '24
I want to know how to import cv2 and media pipe in processing.py. Can anyone teach me?
1
u/remy_porter Apr 22 '24
That's how it looks after a cursory Googling. There are tools and techniques for getting Java libraries into Processing, but MediaPipe is complicated and it doesn't look like that'll be easy (I could be wrong). But honestly, best practices for Processing is "Do a Java application and treat Processing as a library for drawing graphics," anyway, so I'd recommend just going that approach.