Ask Your Question

volodia's profile - activity

2018-01-18 00:27:30 -0600 received badge  Popular Question (source)
2016-04-21 11:22:22 -0600 received badge  Popular Question (source)
2015-10-08 08:31:44 -0600 commented answer Angles in ellipse() function

@Guanta, what you mean - better solution?

2015-10-08 08:14:42 -0600 answered a question AttributeError: 'module' object has no attribute 'VideoWriter_fourcc'

To be sure that you have answer for your question.

>> import cv2
>> cv2.__version__
2.4.9.1
>>> fourcc = cv2.VideoWriter_fourcc()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'VideoWriter_fourcc'

That means there is no cv2.VideoWriter_fourcc() because it exsist from 3.0 ver. but you using 2.4.9.1 :)

When you use that version you should change that for fourcc = cv2.cv.CV_FOURCC(*'XVID') like @pjthakkar3192 said before. (if you want to support 2.4.* and 3.* ver of OpenCV just check if func is callable - callable(cv2.cv.CV_FOURCC))

Best regards.

2015-10-08 07:52:58 -0600 commented question Qt 5.2.1 with OpenCV 2.4.9 (MinGW from Qt) win7 cmake - problem with compilation from source

Nowadays I working on Linux only, cause it easier for me to support deps with another packages in Linux.

;)

Maybe, I will need that one day, but it would be only on 3.0 (because it ist more powerful).

Like @StevenPuttemans said, it should work, but I haven't checked it.

2015-10-08 07:50:59 -0600 received badge  Scholar (source)
2015-10-08 07:32:19 -0600 commented answer AttributeError: 'module' object has no attribute 'VideoWriter_fourcc'

http://answers.opencv.org/question/44...

It depends on OpenCV version you use.

Want you to know where it said which use? http://opencv-python-tutroals.readthe... This is lastest (for 3.0 which is in-development ;) ) and there are descriptions about settings (keyword - FourCC)

When want to see for 2.4.* do sth like this:

  1. copy repository from GitHub (be sure you have git)
  2. git checkout 2.4.9
  3. grep -rni xvid

You will see sth like: ... modules/highgui/src/cap_gstreamer.cpp:474: encs[CV_FOURCC('X','V','I','D')]=(char*)"xvidenc"; ... then see: modules/highgui/doc/reading_and_writing_images_and_video.rst

Have fun :)

2015-01-15 08:42:35 -0600 received badge  Student (source)
2014-05-10 03:03:59 -0600 commented question Qt 5.2.1 with OpenCV 2.4.9 (MinGW from Qt) win7 cmake - problem with compilation from source

2 more questions:

1) Could I ignore warings like this? >CMake Warning (dev) in modules/videostab/CMakeLists.txt: Policy CMP0020 is not set: Automatically link Qt executables to qtmain target on Windows. Run "cmake --help-policy CMP0020" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. > Make Warning (dev) in modules/highgui/CMakeLists.txt:[...] This warning is for project developers. Use -Wno-dev to suppress it.

2) What should be in CMAKE_PREFIX_PATH if in C:/Qt/5.2.1/ I have only: * VS * mingw48... * android if cmake needs Qt5core...etc_dir but there is no folder with MinGW 472... are qt libs suitable withother between 480 and 472 ver. of MinGW?

2014-05-09 11:36:36 -0600 commented question Qt 5.2.1 with OpenCV 2.4.9 (MinGW from Qt) win7 cmake - problem with compilation from source

Do you remember which version of MinGW? 4.7.2 or 4.8.0 ?

Best regards.

2014-05-09 09:24:53 -0600 asked a question Additional LIBs (CUDA,JNI) with OpenCV by MinGW instead of VisualStudio VS(any)

Hi everyone!

When configure OpenCV by cmake it mentioned that CUDA could be compiled only with VS2010 or sth. like this... Is it real to compile OCV(any version) with CUDA by MinGW? On Windows...

How to get it ?!?

Best regards!

EDIT: somebody post this http://answers.opencv.org/question/5799/building-opencv-249-with-cuda-linking-problem/?answer=9877#post-id-9877 But on Ubuntu...

CUDA compilation is disabled (due to only Visual Studio compiler supported on your platform).

:( Sad but true?

What about JNI (ant, JNI and Java tests?) ?

Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)

I know and have read tutorial: Introduction into Android Development but there is no info what actually put (and where) to compile OpenCV from source with Java Native Interface...

2014-05-09 07:55:05 -0600 commented question Qt 5.2.1 with OpenCV 2.4.9 (MinGW from Qt) win7 cmake - problem with compilation from source

berak, thanks. StevenPuttemans, I only want to know if anybody done it with MinGW(compiled OpenCV2.4.9 by MinGW with success - OCV which you suggest). Sorry, because I feel that my post make you feel bad.

Next time I try to write as good as I could to be understand by you.

So, have you something to help me with that subject or just increment your post counter?

2014-05-09 05:40:33 -0600 received badge  Editor (source)
2014-05-09 05:35:17 -0600 commented question Qt 5.2.1 with OpenCV 2.4.9 (MinGW from Qt) win7 cmake - problem with compilation from source

@berak, ok but tried you? with native MinGW or sth else? See this - nuwen.net/mingw.html minGW "distro" with I want to use in future... If you passed, could you mention the version on which one...

>>>It was sth wrong with my compilation for Qt5 - everything passed, but when starting QtCreator libs were not found<<<

@StevenPuttemans, you DO NOT understand. I compiled OpenCV 2.3.1 with success (mentioned Qt, MinGW or sth)... And I know how to do it correctly

I ASKED if somebody did it ( compilation of OCV 2.4.9 with Qt 5.2.1 on Win7Pro with 2.8.12.2) with SUCCESS...

Could you answer the MENTIONED question?

THANKS.

Best regards. PS if anybody tried and pass I will try to do it on my own...

2014-05-08 06:35:26 -0600 asked a question Qt 5.2.1 with OpenCV 2.4.9 (MinGW from Qt) win7 cmake - problem with compilation from source

Hello! Could you tell me please if anybody try to compile with success OpenCV (version upper)?

I combine MinGW 4.4 & Qt 4.7.3 and OCV 2.3.1 with success.

Best regards.

I cannot get througth first one. (all using Win7Pr, cmake 2.8.12.2)

Is it better to compile with VS2013(for example) or MinGW (I know that only with VS you can compile CUDA 3rdPartyLibs) ?

2013-04-06 05:31:27 -0600 commented answer OpenCV 2.4.3 MinGW cannot run program

It works. Anybody know what the difference between them? (orgin. and new one DLL?)

2013-04-06 05:30:17 -0600 received badge  Supporter (source)