When I attempt to deploy my application to Heroku I receive the following error:
File \"/app/project/app/_ _init__.py\", line 22, in
Referring to Lelo's answer regarding the installation of libraries, OpenCV has changed their required libraries (4.4.0 at the time of writing).
Hence, to get the latest ones, you just need python-opencv in the Aptfile instead of the other libraries.
This was referred to Install OpenCV-Python in Ubuntu.