LOFAR, the Low-Frequency Array, is a powerful new radio telescope operating between 10 and 240 MHz. LOFAR allows detailed sensitive high-resolution studies of the low-frequency radio sky. At the same time LOFAR also provides excellent short baseline coverage to map diffuse extended emission. However, producing high-quality deep images is challenging due to the presence of direction dependent calibration errors, caused by imperfect knowledge of the station beam shapes and the ionosphere. Furthermore, the large data volume and presence of station clock errors present additional difficulties. In this paper we present a new calibration scheme, which we name facet calibration, to obtain deep high-resolution LOFAR High Band Antenna images using the Dutch part of the array. This scheme solves and corrects the direction dependent errors in a number of facets that cover the observed field of view. Facet calibration provides close to thermal noise limited images for a typical 8 hr observing run at ∼ 5 resolution, meeting the specifications of the LOFAR Tier-1 northern survey.Two different dipole antenna types are used. The High Band Antennas (HBAs) cover the 110-240 MHz range and the Low Band Antennas (LBAs) the 10-90 MHz range. At the stations, the dipoles signals are combined digitally into a phased array. The signals from these stations are then sent via high-speed fiber to a central GPU correlator where they are correlated with those from other stations to form an interferometer. The electronic beam-forming at the station level allows the generation of multiple beams on the sky which, together with the large field of view (FoV) at these low-frequencies, makes LOFAR an ideal survey instrument. For more details about the instrument we refer the reader to the arXiv:1601.05422v1 [astro-ph.IM]