Detect invisibility does not affect stealth detection, at all, ever.
The best you can do is move up your crew so they all come into visual range, or make the main a hunter, so it can mark the stealthy.