2016-03-28 06:03:38 -0600 | received badge | ● Enthusiast |
2016-03-22 14:36:23 -0600 | commented question | Sizes of input arguments do not match () in cvCalcOpticalFlowBM yes i know cv.CalcOpticalFlowBM() was removed from opencv 3.1 is why i back to 2.4 version but i need this fonction because i try to implement motion intensity from mpeg-7 visual descriptor and for this i need cv.CalcOpticalFlowBM() if this is not possible can you advice me i 'am trying to implement scene change detection algorithme in video should i go to histograme comparaison |
2016-03-22 14:21:26 -0600 | commented question | Sizes of input arguments do not match () in cvCalcOpticalFlowBM Hi, sorry but i didn't understand where i mix the cv2 code ? I am using opencv2.4 and python 2.7 . |
2016-03-22 13:48:17 -0600 | asked a question | Sizes of input arguments do not match () in cvCalcOpticalFlowBM hello i am trying to Implement the opticalflow algorithm with block matching cv.CalcOpticalFlowBM(), but when i run i have error OpenCV Error: Sizes of input arguments do not match () in cvCalcOpticalFlowBM, file /home/travis/miniconda/conda-bld/work/opencv-2.4.11/modules/legacy/src/optflowbm.cpp, line 88 Traceback (most recent call last): File "/home/kaos/PycharmProjects/untitled/1616.py", line 56, in <module> optix = calcOpticalFlow(image,image2 ,'BlockMatching') File "/home/kaos/PycharmProjects/untitled/1616.py", line 44, in calcOpticalFlow 0, cv.fromarray( opticalFlowArrayX ), cv.fromarray( opticalFlowArrayY ) ) cv2.error here is the code i try all day, but didn't find where is the problem thank's ` def calcOpticalFlow( image1, image2, method="BlockMatching" ): image = cv2.imread('2.jpg',cv2.CV_LOAD_IMAGE_GRAYSCALE) image2 = cv2.imread('3.jpg',cv2.CV_LOAD_IMAGE_GRAYSCALE) optix,optiy = calcOpticalFlow(image,image2 ,'BlockMatching')` |
2016-03-21 06:52:14 -0600 | asked a question | how to detect a bloody scene in a video using opencv hello I am looking for a way to detect blood scene in video using opencv. Which technique should i use to performe the detection ? thank's |