Home
Name Modified Size InfoDownloads / Week
suits 2023-04-10
1_pbn_to_newformat.py 2023-04-10 2.7 kB
deal_data_file.py 2023-04-10 337 Bytes
2_hand_creator.py 2023-04-10 4.1 kB
masterpic.jpg 2023-04-10 1.3 MB
README.txt 2023-04-10 687 Bytes
PBN and CROP README.txt 2023-04-10 1.4 kB
pbnexample.pbn 2023-04-10 483 Bytes
I2C_LCD_driver.py 2023-04-10 4.6 kB
helper_produce_master-suit_images.py 2023-04-10 1.8 kB
helper_produce_master-value_images.py 2023-04-10 1.6 kB
Totals: 11 Items   1.4 MB 0
PBN
=====
When you have your PBN file,rename it to pbnexample.pbn then run 1_pbn_to_newformat.py. 
This produces deal_data_file.py which is the key input 

Reference images
=====
helper_produce_master-suit_images.py and helper_produce_master-value_images.py produce the reference files of numbers and suits.  A set of these (for Bicycle brand playing cards) is provided in the folders: suits and values, so you don't need to run these helper scripts if that works for you

Hand
=====
Finally run 2_hand_creator.py  - you will probably want to modify the crop values and also how it it works - my Rube Goldberg machine uses a button to advance and a small LCD to display what's happening 
Source: README.txt, updated 2023-04-10