AI expert (in C++) -- 2

Job ID: 33809921

Budget: $10 – $75 USD

Need an AI expert to develop a function that will detect missing files by their names based on patterns. For example, if a given folder contains the files:
a01.jpg
a03.jpg
and
a04.jpg
the function will return 'a02.jpg'.
The function needs to go over a vector of strings, where each string is the full path of a file. It should check all group of files in the same folder, and then move to the next folder in the vector and start all over.
Please deliver solution as a Visual Studio C++ project.

Here is what we got so far but it has many issues and need to he refactored.
Our goal is to find missing files in a sequence when SD cards are backed up. Each camera / video cam has each own method of naming the files. Our goal is to use AI to detect if one or more files are missing.