Perovskites target X-ray detection