Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem with Zhang's Whiteboard Rectification formulas

If anyone is familiar with this, or even if you aren't, could you take a look at my attempt to implement Zhang's "Single-View Geometry of A Rectangle With Application to Whiteboard Image Rectification" to work in Python.

I've posted it to stackoverflow, but the problem may not be with the code, it may be with the math.

Here is the stackoverflow link:

Here is the sage link: Whiteboard rectification.sagews

Here is the sage link to the python version: rectification that throws