Radio frequency device-free localization based on wireless sensor network has proved its feasibility in buildings. With this technique, a target can be located relying on the changes of received signal strengths caused by the moving object. However, the accuracy of many such systems deteriorates seriously in the environment with WiFi and the multipath interference. State-of-the-art methods do not efficiently solve the WiFi and multipath interference problems at the same time. In this article, we propose and evaluate an adaptive weighting radio tomography image algorithm to improve the accuracy of radio frequency device-free localization in the environment with multipath and different intensity of WiFi interference. Field experiments prove that our approach outperforms the state-of-the-art radio frequency device-free localization systems in the environment with multipath and WiFi interference.