Konuyu Oyla:
  • Toplam: 0 Oy - Ortalama: 0
Share Thread:
Raspberry Pi 4 opencv Yükleme Sırasında Hata
#1
Merhabalar,

Günlerdir raspberry piye open cv yüklemeye çalışıyorum. Sürekli bir hata alıyorum. İlk başta raspberry pi 3 model b+ da denedim. Daha sonra raspberry pi 4 de denedim ikisinde de aynı hatayı alıyorum %99 da.
Yardımcı olursanız sevinirim.

Kod:
/home/pi/opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2894:40: warning: cast between incompatible function types from ‘PyObject* (*)(PyObject*, PyObject*, PyObject*)’ {aka ‘_object* (*)(_object*, _object*, _object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
     {"createGrayworldWB", (PyCFunction)pyopencv_cv_xphoto_createGrayworldWB, METH_VARARGS | METH_KEYWORDS, "createGrayworldWB() -> retval\n.   @brief Creates an instance of GrayworldWB"},
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/opencv/modules/python/src2/cv2.cpp:1743:
/home/pi/opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2895:44: warning: cast between incompatible function types from ‘PyObject* (*)(PyObject*, PyObject*, PyObject*)’ {aka ‘_object* (*)(_object*, _object*, _object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
     {"createLearningBasedWB", (PyCFunction)pyopencv_cv_xphoto_createLearningBasedWB, METH_VARARGS | METH_KEYWORDS, "createLearningBasedWB([, path_to_model]) -> retval\n.   @brief Creates an instance of LearningBasedWB\n.   \n.   @param path_to_model Path to a .yml file with the model. If not specified, the default model is used"},
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/opencv/modules/python/src2/cv2.cpp:1743:
/home/pi/opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2896:37: warning: cast between incompatible function types from ‘PyObject* (*)(PyObject*, PyObject*, PyObject*)’ {aka ‘_object* (*)(_object*, _object*, _object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
     {"createSimpleWB", (PyCFunction)pyopencv_cv_xphoto_createSimpleWB, METH_VARARGS | METH_KEYWORDS, "createSimpleWB() -> retval\n.   @brief Creates an instance of SimpleWB"},
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2897:35: warning: cast between incompatible function types from ‘PyObject* (*)(PyObject*, PyObject*, PyObject*)’ {aka ‘_object* (*)(_object*, _object*, _object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
     {"dctDenoising", (PyCFunction)pyopencv_cv_xphoto_dctDenoising, METH_VARARGS | METH_KEYWORDS, "dctDenoising(src, dst, sigma[, psize]) -> None\n.   @brief The function implements simple dct-based denoising\n.   \n.   <http://www.ipol.im/pub/art/2011/ys-dct/>.\n.   @param src source image\n.   @param dst destination image\n.   @param sigma expected noise standard deviation\n.   @param psize size of block side where dct is computed\n.   \n.   @sa\n.   fastNlMeansDenoising"},
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/opencv/build/modules/python_bindings_generator/pyopencv_generated_ns_reg.h:2898:30: warning: cast between incompatible function types from ‘PyObject* (*)(PyObject*, PyObject*, PyObject*)’ {aka ‘_object* (*)(_object*, _object*, _object*)’} to ‘PyCFunction’ {aka ‘_object* (*)(_object*, _object*)’} [-Wcast-function-type]
     {"inpaint", (PyCFunction)pyopencv_cv_xphoto_inpaint, METH_VARARGS | METH_KEYWORDS, "inpaint(src, mask, dst, algorithmType) -> None\n.   @brief The function implements different single-image inpainting algorithms.\n.   \n.   See the original paper @cite He2012 for details.\n.   \n.   @param src source image, it could be of any type and any number of channels from 1 to 4. In case of\n.   3- and 4-channels images the function expect them in CIELab colorspace or similar one, where first\n.   color component shows intensity, while second and third shows colors. Nonetheless you can try any\n.   colorspaces.\n.   @param mask mask (CV_8UC1), where non-zero pixels indicate valid image area, while zero pixels\n.   indicate area to be inpainted\n.   @param dst destination image\n.   @param algorithmType see xphoto::InpaintTypes"},
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
[ 99%] Built target opencv_perf_stitching
make[2]: *** [modules/python3/CMakeFiles/opencv_python3.dir/build.make:63: modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:11266: modules/python3/CMakeFiles/opencv_python3.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Ara
Cevapla


Konu ile Alakalı Benzer Konular
Konular Yazar Yorumlar Okunma Son Yorum
  Paket yükleme sırasında hata herace 2 1,121 10-19-2017, 09:51 AM
Son Yorum: otonomi
  [Soru] Raspberry Pi 2 Yazılım Yapma Programları Yükleme denizilhanvural 0 1,528 02-12-2016, 10:11 PM
Son Yorum: denizilhanvural

Hızlı Menü:


Konuyu Okuyanlar: 1 Ziyaretçi