Extract imagery (jpg) of specific object classes in a bbox

Hello,

I am trying to get the imagery that contains the object classes ‘signage-advertisement’, ‘signage-store’ and ‘banner’ in a specified bounding box, as jpg files.

This script Download Mapillary images a JPGs · GitHub of Cbeddow seems a good start but I don’t succeed in adapting it so that it filters only the images with the object classes that I am interested in.

Any help would be much appreciated.

Kind regards,
Vincent