OpenCV build error on Jetpack 5.1.2

Thanks for the updates.

In continuation i have few more queries, pls clarify.

  1. With my nvidia-jetpack installation for Jetpack 5.1.2, by default OpenCV 4.5. was installed.
    When I ran this script it asked to remove the previous version of openCV.
    should I say “yes” or no" ?

Is it OK, if we remove 4.5.4 version and install “4.6” Open CV ?

  1. What is the approximate build time it takes?

  2. As I wanted to complete OpenCV install with CUDA enabled soon, I followed the method suggested in the below youtube link:
    https://www.youtube.com/watch?v=art0-99fFa8

Is this method also fine?

One more thing I observed is this build is taking more time as mentioned in the youtube video.
Also during build, the default python version it took for building was python 2.7. Will there be any issues with this ?
We nee to build against Python3.8 is what I assume as that is the latest version.

  1. If things wont work out with this youtube suggested method, I will try the
    " install_opencv4.6.0_Jetson.sh" script method again by uninstalling currently installed OpenCV 4.5.4

  2. In the .sh script can I change the revision to 4.5.4 and do the install so that it installs OpenCV 4.5.4 instead of “4.6.0”

version=“4.5.4”
folder=“workspace”

Will this works fine?

Thanks in advance.