Magical Target Recognition library