Using carbon nanotubes (CNT), high performance infrared detectors have been developed. Since the CNTs have extraordinary optoelectronics properties due to its unique one dimensional geometry and structure, the CNT based infrared detectors have extremely low dark current, low noise equivalent temperature difference (NETD), short response time, and high dynamic range. Most importantly, it can detect 3-5 um middle-wave infrared (MWIR) at room temperature. This unique feature can significantly reduce the size and weight of a MWIR imaging system by eliminating a cryogenic cooling system. However, there are two major difficulties that impede the application of CNT based IR detectors for imaging systems. First, the small diameter of the CNTs results in low fill factor. Secondly, it is difficult to fabricate large scale of detector array for high resolution focal plane due to the limitations on the efficiency and cost of the manufacturing. In this paper, a new CNT based IR imaging system will be presented. Integrating the CNT detectors with photonic crystal resonant cavity, the fill factor of the CNT based IR sensor can reach as high as 0.91. Furthermore, using the compressive sensing technology, a high resolution imaging can be achieved by CNT based IR detectors. The experimental testing results show that the new imaging system can achieve the superb performance enabled by CNT based IR detectors, and, at the same time, overcame its difficulties to achieve high resolution and efficient imaging.