Likely but the whole point of 'AI' is that it should be able to identify flowers that don't look like what it's seen before. If not, it's just a huge lookup table that's like a memory repository.
This is, of course, a critical challenge in data science and is definitely not a trivial one to solve.