Recording Poker Games

A home setup to record a poker game.
Published on Friday, 11 August 2023

Watching the poker on WPT I thought wouldn't it be cool if I could have the same setup at my home games? Where would I even begin?

So I need a camera to point at the players hole cards (multiple by the number of players), one camera over the table to see the flop, turn and river. Then would I need any more?

So how to I get the camera feeds to my computer?

I could use WebCams, and connect them via a cable - issue with that is my computer isn't in the same room as where I want to play. Is there a wireless one? But won't these be very expensive.

logitech C270 HD Webcam RRP £34.99

logitech C270 HD Webcam

Found them on eBay for ~£15.

Is there an Arduino alternative, yes! You can use a combination of ESP32-CAM, ESP32-CAM-MB, OV2640.

ESP32-CAM, ESP32-CAM-MB, OV2640

~£11 on Amazon but then I also need a micro USB cable and USB plug. (Multiply by the number of devices.)

Arduino

Install the board

Change it in the app to

  • AI Thinker ESP-32 CAM

Examples | ESP32 | Camera | CameraWebServer

Update the SSID and password - put this in a conf file?

#include "Secrets.h"
const char* ssid = SECRET_SSID;
const char* password = SECRET_PASSWORD;

touch "Secrets.h"

#define SECRET_SSID "foo"
#define SECRET_PASS "bar"

Update the CAMERA to #define CAMERA_MODEL_AI_THINKER // Has PSRAM

Upload

Reset (RST)

ESP32-CAM Reset

Check the output for the IP Address, then navigate to it in a browser.

Click on "Start Stream"

Camera Web Server

Click "Stop Stream".

I then used FancyZones in PowerToys to show all the screens together.

Camera Setup

As this part is working I can move onto trying it in a piece of screen recording software.

Download/Install/Start OBS and in the Scene click + and navigate to Browser,

OBS Sources Browser

Update the URL to the one above.

Browser - Properties

Then in the Browser Options bar click on "Interact", this will open up a new window, hopefully load the same as the above browser did, then scroll down and click "Start Stream", once you see a video feed you can re-position this in your Scene.

Browser - Options

Once the video feeds are on the scene I tried to make a quick mockup of the screen - any designers about and want to help...please :p.

Scene Setup

I looked for an ole time font and found one called Rye (from Google Fonts).

The card backs are taken from the excellent SVG web lib from CardMeister

Then I found a set of individual cards on Improve Magic

These should come in handy later...

I created an image with a green background which I cut out 4 transparent windows to fit the camera items, a few text widgets for the names.

TODO: Pot Total, Individual Total, % Outs etc.

See a 📼 video of it in action:

I need some wood to build a crane to hang a camera over the table to show the rest of the action.

Live Stream

I may live stream them on my Twitch @alexhedley8 one day.

Case Attempt

Found some lollipop sticks and some masking tape and got to work making a temporary case...

Camera Case

I then bought one instead.

Note to self: configure your 3d Printer and print one yourself!

Hardware

Item Price
Camera £10.99
Cable £2.66
Plug £2.49
Case £6.20
------
Total £22.34

Camera

XTVTX ESP-32-CAM WiFi Bluetooth Board ESP-32-CAM-MB Micro USB to Serial Port with OV2640 2MP Camera Module Dual Mode compatible with Arduino

£10.99

ESP32-CAM, ESP32-CAM-MB, OV2640

Mirco USB Cable

£7.99 / 3 = £2.66

Cable

USB Plug

£9.99 / 4 = £2.49

Plug

Magnetic Case

£5.90 + (£2.70 P&P)

Magnetic Case

Alternatives

Tutorials

Random Nerd Tutorials

ArduCAM