Hub documentation

استخدام OpenCV في Spaces

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

استخدام OpenCV في Spaces

للاستخدام OpenCV في مساحات Gradio أو Python الخاصة بك، ستحتاج إلى جعل المساحة تثبيت كل من تبعيات Python وDebian

يعني ذلك إضافة python3-opencv إلى ملف packages.txt، وإضافة opencv-python إلى ملف requirements.txt. إذا لم تكن هذه الملفات موجودة، فستحتاج إلى إنشائها.

للاطلاع على مثال، راجع هذا المشروع على Gradio.

Update on GitHub