As Autofocus.py is run by executing the following command, I think i2c-7 should be installed.
python Autofocus.py -i 7
where 7 is the i2c interface for Nvidia Jetson Nano B01.
However, when I use the command
sudo i2cdetect -r -y 7
It shows: "Error: Could not open file /dev/i2c-7' or /dev/i2c/7’: No such file or directory.
Plus, this is the output when I list all i2c by using the command
ls /dev/i2c*
/dev/i2c-0 /dev/i2c-1 /dev/i2c-101 /dev/i2c-2 /dev/i2c-3 /dev/i2c-4 /dev/i2c-5 /dev/i2c-6