Homebrew moved their command-not-found into the core repository, and correspondingly have new install instructions: https://docs.brew.sh/Command-Not-Found#install ...
The installation docs for MediaPipe still recommend: "brew install opencv@3" This formula has been removed from Homebrew. Only brew install opencv (which installs OpenCV 4.x) is available. As a result ...