Skip to Main Content
Cognex Support Hub
LogoLogo

How to Filter File Names Accurately in VisionPro Deep Learn

Programming tip to allow for proper file name filtering in VisionPro Deep Learn's user interface

09/15/2024

Question

How can I find the image named “a.png” by filtering the file name in Deep Learning?

Placeholder

If I use ‘a.png’, all the images will be found. 

Placeholder

Answer

Using “/^a.png$/.test(filename)” will found the image “a.png” only. 

Placeholder
Placeholder

Related Resources