How can a make a singular object unaffected by depth of field post proccess?

I am trying to blur the entire screen using depth of field for inspecting an item, but have the object you are inspecting not affected by the blur. Is this possible? Or is there a better way to achieve this result?