OpenCV 4.5.3(日本語機械翻訳)
samples/dnn/classification.cpp

Check the corresponding tutorial for more details