John Doe lives in the United States and wants to create a machine that sorts fruit. Rather than design and build it himself, he finds a patented commercial product that sorts fruit, but he discovers he can't afford it.
Instead, Doe decides that he will analyze photos and video of the product, reverse-engineer it's design, and build himself a replica in an effort to save money. Doe does not intend to sell his 'knockoff' fruit-sorting machine, but instead simply wants it for personal use.
Would Doe be in violation of US patent or intellectual property laws? In what ways would Doe's use of the patented design violate the law, if so? Or, is there an affirmative defense that Doe would have in this hypothetical?