ANUcybernetics / storytellers

Storytellers is the result of an exploratory collaboration between the National Institute of Dramatic Arts (NIDA), the National Film and Sound Archive of Australia (NFSA) and the School of Cybernetics at the Australian National University (ANU).
0 stars 1 forks source link

image cropping & keystone #7

Closed benswift closed 1 week ago

benswift commented 2 weeks ago

The "sketch area" will be fairly prominent in the FOV of the camera, but it'd be good to crop (and keystone if the camera is positioned obliquely) so that the input to the img2img is as close as possible to a full rectangle of the input sketch area.

benswift commented 1 week ago

Cropping is now done by changing the CAMERA_CROP_RECT variable in src/storytellers/utils.py.

No keystoning for now, but it's probably not necessary given the camera will be pretty much straight overhead, and a little warping wouldn't matter anyway.