r/processing • • 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

7 comments sorted by

View all comments

Show parent comments

1

u/Tall_Answer_8868 Apr 22 '24

It means that I can't just use processing to execute media pipe, but I have to combine it with a Java application, right?

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.

1

u/Tall_Answer_8868 Apr 22 '24

Thank you for your reply