Pet hair can come out easy by wearing rubber gloves and just massaging the carpet. Then do as mach said, air compressor + vacuum, but also include hitting the carpet with the vacuum just nearby along with brushing the carpet fibers with a stiffer bristle brush.