X-ray detection is widely used in medical imaging, radioactivity detection, security checking, industrial flaw inspection, and so on. In recent years, metal halide perovskites have demonstrated excellent performances in the detection of X-rays and gamma-rays. However, most studies focus on perovskite single-pixel devices. To achieve the application goal of X-ray imagers, the detectors should be integrated with pixel circuits.