I am new to coding in C++ and am currently working on an application that can clear all objects out of a picture except for the biggest one. I was looking on doing object size detection based on the bounding boxes tutorial I found here
But this code contains one line using the imread function and then an array to specify the path to the image
/// Load source image and convert it to gray
src = imread( argv[1], 1 );
How is it that argv[1] can be used in this situation to point out where the image is sourced from? I thought argv & argc had to do with the number of command lines that are called? Any information?
As stated earlier I am new to c++ so sorry if this is a silly question. Thanks in advance