Kivy widget that reproject its content according to a calibration grid. It includes a calibration tool accessible from F2.
Projection to a curved wall:
from kivy.app import App
from projectionmapping import ProjectionMapping
from kivy.uix.image import Image
class SimpleProjectionMapping(App):
def build(self):
self.root = ProjectionMapping(filename="calibration.json")
self.root.add_widget(
Image(source="projectionmapping/data/mirefullhd.jpg"))- F2: Toggle calibration
- space: Toggle help
- r: Reset the calibration grid
- s: Save the current calibration
- l: Load latest calibration
- x/c: Remove/add a column (current calibration is lost)
- v/b: Remove/add a row (current calibration is lost)

