stop running in Blome's basic_tracking.py

31 views
Skip to first unread message

hesam

unread,
Nov 11, 2013, 6:56:06 AM11/11/13
to pyvi...@googlegroups.com
Hello All,
i downloaded and installed all dependencies(PIL, scipy, numpy, cv, pyvision) of Blome's tracker(2010 by pyvision)
but while it is running , it stops(i think in line:    video=pv.video(TAZ_FILENAME) )

and in running filter_training.py after a while
it says     <ImageLog> warning can't display all images.

what shall i do?

David Bolme

unread,
Nov 11, 2013, 8:48:47 PM11/11/13
to pyvi...@googlegroups.com
Hesam,

I am not sure what the problem is with the video.  It is possible that opencv is not compiled with support for the quicktime or mpeg4 file format. If the program prints out a stack trace you should post it.

The ImageLog warning should be no problem.  All the images should be stored in your tmp directory just they cannot all be displayed do to limits on the length of the command line.  You should be able to open that directory and see them all.


--
 
---
You received this message because you are subscribed to the Google Groups "pyvision" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyvision+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

hesam

unread,
Nov 12, 2013, 2:17:07 AM11/12/13
to pyvi...@googlegroups.com
Dear Blome,
that's very nice of you
the problem has been solved
it was originated from opencv
thanks anyway

hesam

unread,
Nov 12, 2013, 9:02:39 AM11/12/13
to pyvi...@googlegroups.com
Sorry again,

I faced with the following error:

Processing Frame %d... 0
WARNING: the format option to ImageLog.plot is no longer supported. Please use 'ext'
Traceback (most recent call last):
  File "D:\Projects\OCOFToolset\src\basic_tracking.py", line 143, in <module>
    ilog(frame,format='jpg')
  File "D:\Projects\OCOFToolset\pyvision-git\src\pyvision\analysis\ImageLog.py", line 66, in __call__
    self.log(item,*args,**kwargs)
  File "D:\Projects\OCOFToolset\pyvision-git\src\pyvision\analysis\ImageLog.py", line 83, in log
    del kwargs[format]
KeyError: <built-in function format>

what should i do?
i look forward to hearing from you sir

David Bolme

unread,
Dec 15, 2013, 11:04:35 AM12/15/13
to pyvi...@googlegroups.com
This should be easy to fix.  Just change ilog(frame,format='jpg') to ilog(frame,ext='jpg')

"format" is a builtin python function so I changed the name of that option to "ext" to avoid conflicts.

---
Dave
Reply all
Reply to author
Forward
0 new messages