Script fails on macOS Python 3.9.2 otherwise, with "name 'output' is not
defined".
Change-Id: Id3df19b4a4dedf69f860f1a41348770ac1207377
(cherry picked from commit d1bc02e2fb)
Also remove int() casting from captcha-old.py which was added
in 66152162fe but diverges from
captcha.py
Most of the code should be the same in these two files should
be the same bar the actual image processing...
Bug: T263223
Follows-Up: If4f6bc9048aceacc41538c001255425e848fd8e9
Change-Id: I3062e64fc380022ca9fee793bc522f212eb873d3
Effectively reverts the following two commits:
6f286e52dbdf4806c64c
Due to lack of apparent consensus to do T141490, yet...
To be used for cron job regeneration of captchas on a regular basis
Change-Id: Iaedf0d4903c0fd9a9cca3e648a2a9691f54c6af8