Predetermined hands are read from a directory containing PBN (Portable Bridge Notation) files. The machine picks each card from the top of a deck in its card hopper, places the card atop a camera, recognizes the suit and value of the card, and then places the card in the appropriate pile. Cards may be placed in the hopper in any order, no shuffling is necessary.
C++, Code::Blocks, Visual Studio, openCV and libCamera were used for development.
I will post the code soon. Some time is needed to make it presentable.