Icarus Camera calibration - invalid syntax

Hello
i need camera calibration for a clip.
http://www.warpax.com/pytsai/index.html
but if I write

$ python setup.py build
$ su
# python setup.py install

in the text editor of blender, i get: syntaxError: invalid syntax :confused: :confused:

I use Windows. Is that possible, that this problem is because of it?

I hobe someone is able to help me
Thanks

This is NOT a python script.

You need to run this from the command line.

what command line? do you mean the windows command line (sorry i am a newbe)

if you read the page with the documentation it says linux… so perhaps not the windows commandline.

Read the last line of the paragraph.
Using the Camera Calibration Script

The camera calibration script depends upon a Python extension module which is a wrapper around the code listed above. This wrapper defines a Python module called Tsai, and a lower-level C module called pytsai. Before you can use the Blender script, you must therefore install the extension module. This is done using the normal distutils. Under Linux (sorry Windoze users, I must admit ignorance of your requirements):

$ python setup.py build
$ su

python setup.py install

I use that script from time to time :slight_smile: it is pretty good, It is a python script and it does work on windows and Linux, however there is no windows release and it turns out compiling it for windows is a complete nightmare however it can be done, I know I did it, it took about 8 hours to figure it out, I have been meaning to post a page to the updated release, I also sent it to the guy who wrote the original but have never heard back from him.
Until I get a page sorted you will have to do with a link from here:
http://blender.formworks.co.nz/pytsai/pytsai-0.1a.zip
Hope it helps you out.
BTW I only compiled it so cant help with bugs but It works good for me.

here is some very good Video tutorials:

http://www.peerlessproductions.com/tuts/pages/Icarus.html

And here is the script:

http://www.peerlessproductions.com/misc/Icarus_Import.zip

Jea, it works!!!
Thank you, thank you, thank yooouuu!! :rolleyes:

no… it works, but not so good. I have the same problem, how jendrzych:
( http://blenderartists.org/forum/showthread.php?t=45282&highlight=ma%3Db )

in the (blender) console: “solve_system: matrix M has more collums than rows”

i hope you are able to help me…

:frowning: no… it works, but not so good. I have the same problem, how jendrzych:
( http://blenderartists.org/forum/showthread.php?t=45282&highlight=ma%3Db )

in the (blender) console: “solve_system: matrix M has more collums than rows”

i hope you are able to help me…

Dont suppose anyone has the sourcecode to icarus? It doesnt seem to be around anymore. Does anyone know of any opensource camera trackers?

MicWit

The pytsai module is compiled for python 2.4 I noticed you are using 2.3.5 in your post here http://blenderartists.org/forum/showthread.php?t=45282&highlight=ma%3Db

I have not had any errors with Blender 2.41 and Python 2.4

Hope that helps.