Jul-01-2020, 03:28 PM
Hello!
I'm new to the world of python, struggling to understand all different versions, types of installations and environments.
My OS is Windows 10 Pro. My goal is to get the python-version of the module "adaptive bilateral filter" from opencv running (https://docs.opencv.org/2.4/modules/imgp...eralfilter).
A few days ago, I sucessfully ran the "bilateral filter" (https://docs.opencv.org/2.4/modules/imgp...eralfilter), using sublime texteditor 3. However, the adaptive filter couldn't be found/was unknown. So I checked the openCV version and it said 3.4. So I figured that in order to get the adaptive filter running I need to updgrade to opencv-version to 4.x, or I need the opencv-contribute files (https://github.com/opencv/opencv_contrib).
Since then, I tried to reach my goal following various guides on the internet - many using e.g. Anaconda and/or pip - but all I achieved is that my system is messed up now. Right now, a python-script with the line "import cv2" causes a "ModuleNotFoundError: No module named 'cv2.cv2'".
Could somebody be so kind to guide me through the process of sorting this out? I believe that a "start from scratch" is absolutely necessary!
Thank you very much.
I'm new to the world of python, struggling to understand all different versions, types of installations and environments.
My OS is Windows 10 Pro. My goal is to get the python-version of the module "adaptive bilateral filter" from opencv running (https://docs.opencv.org/2.4/modules/imgp...eralfilter).
A few days ago, I sucessfully ran the "bilateral filter" (https://docs.opencv.org/2.4/modules/imgp...eralfilter), using sublime texteditor 3. However, the adaptive filter couldn't be found/was unknown. So I checked the openCV version and it said 3.4. So I figured that in order to get the adaptive filter running I need to updgrade to opencv-version to 4.x, or I need the opencv-contribute files (https://github.com/opencv/opencv_contrib).
Since then, I tried to reach my goal following various guides on the internet - many using e.g. Anaconda and/or pip - but all I achieved is that my system is messed up now. Right now, a python-script with the line "import cv2" causes a "ModuleNotFoundError: No module named 'cv2.cv2'".
Could somebody be so kind to guide me through the process of sorting this out? I believe that a "start from scratch" is absolutely necessary!
Thank you very much.