tag:blogger.com,1999:blog-34048794.post5921976254563524519..comments2023-10-25T03:32:50.616-07:00Comments on Tips: Motion Detection using OpenCVUnknownnoreply@blogger.comBlogger23125tag:blogger.com,1999:blog-34048794.post-12892033763750442192014-12-08T06:01:04.589-08:002014-12-08T06:01:04.589-08:00This nice post i like it thanks for sharing Energy...This nice post i like it thanks for sharing <a href="http://www.ecosirius.com/" rel="nofollow"><b>Energy Saving Switch</b></a>|<a href="http://www.ecosirius.com/" rel="nofollow"><b>Occupancy Sensor</b></a>|<a href="http://www.ecosirius.com/" rel="nofollow"><b>Motion Sensor Light</b></a>Anonymoushttps://www.blogger.com/profile/09227419301201600417noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-17676223055622527422014-04-10T07:40:03.843-07:002014-04-10T07:40:03.843-07:00what algorythm in your code to tracking object?what algorythm in your code to tracking object?royhttps://www.blogger.com/profile/14395709025773784731noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-13223481617155378632013-11-12T14:23:25.135-08:002013-11-12T14:23:25.135-08:00Hi, Could anyone help me understand how the code, ...Hi, Could anyone help me understand how the code, and the "Self" argument needs to be redefined if i'm reading a video from file rather than a webcam?<br /><br />i've tried import cv<br /><br />class Target:<br /><br /> def __init__(self):<br /> self.capture = cv2.VideoCapture(videoPath)<br /> cv.NamedWindow("Target", 1)<br /><br />but to no avail. Forgive the python bindings, i can translate back to python, but its the language i prefer. <br /><br />Thank you!Ben Weinsteinhttps://www.blogger.com/profile/12797670157888129652noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-55062858432303120142013-05-18T01:42:40.746-07:002013-05-18T01:42:40.746-07:00I have run the program but I got error in "cv...I have run the program but I got error in "cvReleaseImage(&temp);"<br />and got the error message:<br />CXX0030: Error: expression cannot be evaluated hikamoryuhttps://www.blogger.com/profile/08751185153481848827noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-43080271732634180182013-02-05T05:09:01.717-08:002013-02-05T05:09:01.717-08:00This comment has been removed by the author.hikamoryuhttps://www.blogger.com/profile/08751185153481848827noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-31424734720041399182012-12-12T11:56:27.847-08:002012-12-12T11:56:27.847-08:00I converted your code into javacv. But i got an er...I converted your code into javacv. But i got an error called faild pointer addressing. why is that ? thank you . :)Anonymoushttps://www.blogger.com/profile/05713140010395970331noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-42534798201098214252012-05-30T18:09:12.769-07:002012-05-30T18:09:12.769-07:00try
char default_file[50] = "D:\\outputMovie...try<br /><br />char default_file[50] = "D:\\outputMovie.avi";<br />char* outFilename = argc==2 ? argv[1] : default_file;Arash Shafieihttps://www.blogger.com/profile/08314930968214898127noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-12574820406851426962012-05-30T18:05:23.708-07:002012-05-30T18:05:23.708-07:00This comment has been removed by the author.Arash Shafieihttps://www.blogger.com/profile/08314930968214898127noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-88700786592623359822012-05-30T17:30:23.731-07:002012-05-30T17:30:23.731-07:00Hello, I'm having a little trouble...it shows ...Hello, I'm having a little trouble...it shows the error C2446 at the <br /><br />char* outFilename = argc==2 ? argv[1] : "D:\\outputMovie.avi";<br /><br />what could it be?ben silverhttps://www.blogger.com/profile/17299048727302565298noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-90649730590294773722011-11-03T16:47:43.768-07:002011-11-03T16:47:43.768-07:00Hi ,
I run your code from start to until dilate ...Hi , <br /><br />I run your code from start to until dilate and erode morphological operations. and just showed gray scale image . but it show me too much moving white blockies . <br /><br />Thats not showing moving hand or object. . its just moving white blockies . <br /><br />I have implemented like that before but i am not satisfied with this cvRunningAverage. <br /><br />Sorry .Please show your result or output of your code too .<br /><br />ThanksRabia Fayyazhttps://www.blogger.com/profile/13961839552817052980noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-726723739847770102011-11-03T16:47:27.812-07:002011-11-03T16:47:27.812-07:00Hi ,
I run your code from start to until dilate ...Hi , <br /><br />I run your code from start to until dilate and erode morphological operations. and just showed gray scale image . but it show me too much moving white blockies . <br /><br />Thats not showing moving hand or object. . its just moving white blockies . <br /><br />I have implemented like that before but i am not satisfied with this cvRunningAverage. <br /><br />Sorry .Please show your result or output of your code too .<br /><br />ThanksRabia Fayyazhttps://www.blogger.com/profile/13961839552817052980noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-66873057427799094862011-05-11T07:01:57.501-07:002011-05-11T07:01:57.501-07:00hi!
when i run the above code, error C2065: 'c...hi!<br />when i run the above code, error C2065: 'colourImage': undeclared identifier<br />so could u please help me out<br />thankskim senhttps://www.blogger.com/profile/16595936528990879870noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-83679657107837614612011-05-09T10:24:16.155-07:002011-05-09T10:24:16.155-07:00Hi Kim,
Did you notice to my last comment?
The i...Hi Kim,<br /><br />Did you notice to my last comment?<br /><br />The image size has been defined statically, so you should get it dynamically:<br /><br />IplImage* frame = cvQueryFrame(input);<br />CvSize imgSize = cvGetSize(frame);Arash Shafieihttps://www.blogger.com/profile/08314930968214898127noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-61394362087424091072011-05-09T10:18:49.413-07:002011-05-09T10:18:49.413-07:00hi!
i debug, opencv error C2275: 'CvSize',...hi!<br />i debug, opencv error C2275: 'CvSize', error C2065: 'imgSize'...<br />Trying to fix this error , Any help is appreciated.<br />thanks !<br />mail kimsen87dn2006@yahoo.comkim senhttps://www.blogger.com/profile/16595936528990879870noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-51785161658078333742011-03-01T04:36:27.750-08:002011-03-01T04:36:27.750-08:00I have the sample compile and link fine, but for s...I have the sample compile and link fine, but for some reason it crashes at cvAbsDiff(colourImage,temp,difference);<br /><br />I've made sure arguments are the same size and so on. Any idea what gives?Unknownhttps://www.blogger.com/profile/11441302332822686521noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-91540906577349213092011-02-17T05:41:22.115-08:002011-02-17T05:41:22.115-08:00hi, can you tell me how I use this for video?
and...hi, can you tell me how I use this for video? <br />and information about visual studio settings plus OpenCv version.Unknownhttps://www.blogger.com/profile/00500287386646661989noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-83279175067040061852011-01-30T00:01:52.103-08:002011-01-30T00:01:52.103-08:00Hi,
This is kanitkar .I am looking for the algor...Hi,<br /> This is kanitkar .I am looking for the algorithm which can give displacement of the object in terms of pixels and angle from avideo when any vehicle or person comes into picture (assuming camera is stationary).<br />I am working on thermal images which have low spatial resolution.Unknownhttps://www.blogger.com/profile/15216350484955918482noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-56676176778951407932011-01-22T14:56:05.249-08:002011-01-22T14:56:05.249-08:00The problem is here:
//Size of the image.
CvSize ...The problem is here:<br /><br />//Size of the image.<br />CvSize imgSize;<br />imgSize.width = 352;<br />imgSize.height = 240;<br /><br />replace this part with:<br /><br />//Size of the image.<br />IplImage* frame = cvQueryFrame(input);<br />CvSize imgSize = cvGetSize(frame);Arash Shafieihttps://www.blogger.com/profile/08314930968214898127noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-6165677536926803042011-01-15T07:05:52.737-08:002011-01-15T07:05:52.737-08:00OpenCV Error: Assertion failed (src.size == dst.si...OpenCV Error: Assertion failed (src.size == dst.size && src.channels() == dst.channels()) in cvConvertScale, file /home/sukrut/OpenCV-2.2.0/modules/core/src/convert.cpp, line 1038<br /><br />Trying to fix this error , Any help is appreciated.<br />thanks !Sraddhahttps://www.blogger.com/profile/10971310794902434863noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-84219856507449150852011-01-15T07:05:52.193-08:002011-01-15T07:05:52.193-08:00OpenCV Error: Assertion failed (src.size == dst.si...OpenCV Error: Assertion failed (src.size == dst.size && src.channels() == dst.channels()) in cvConvertScale, file /home/sukrut/OpenCV-2.2.0/modules/core/src/convert.cpp, line 1038<br /><br />Trying to fix this error , Any help is appreciated.<br />thanks !Sraddhahttps://www.blogger.com/profile/10971310794902434863noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-18696952798767664652010-09-16T00:49:33.384-07:002010-09-16T00:49:33.384-07:00Hi, I compiled the code successfully but while run...Hi, I compiled the code successfully but while running it I got an error mssg like: <br />OpenCV Error: Assertion failed (src.size() == dst.size() && src.channels() == ds<br />t.channels()) in unknown function, file ..\..\..\src\cxcore\cxconvert.cpp, line<br />953. what's it??Unknownhttps://www.blogger.com/profile/14674666540649628579noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-699667982565483322010-08-09T00:31:39.267-07:002010-08-09T00:31:39.267-07:00I use this linked options:
g++ -L/usr/lib -lcxcor...I use this linked options:<br /><br />g++ -L/usr/lib -lcxcore -lcv -lhighgui -lcvaux -lml -o"OpenCVEclipse" ./MyTest.o <br /><br />but I gave this error:<br /><br /><br />/home/rjobbagy/workspace/OpenCVEclipse/Debug/../MyTest.cpp:62: undefined reference to `cvCaptureFromFile'<br /><br />what's wrong?<br /><br />Thanks your helpUnknownhttps://www.blogger.com/profile/08139273747095879661noreply@blogger.comtag:blogger.com,1999:blog-34048794.post-16129944437213154582010-06-08T11:31:33.017-07:002010-06-08T11:31:33.017-07:00Hi Sundar,
I wrote some tutorials and free source-...Hi Sundar,<br />I wrote some tutorials and free source-code for using OpenCV, such as Face Recognition, Shirt Color Detection, HSV Conversion, etc:<br /><br />http://www.shervinemami.co.cc/openCV.html<br /><br />Cheers,<br />Shervin Emami.Shervin Emamihttps://www.blogger.com/profile/14698176431559791583noreply@blogger.com