Oak-D + TouchDesigner Part 04: Run Other Object Detection Models

A continuation of Part 3 running object detection on the Oak-D camera. This time we’re browsing the Roboflow universe and using a public model there to detect playing cards, then creating some audiovisual events in TouchDesigner that respond to specific combinations of cards — 3 of a Kind, Straight, and Royal Flush.

The document used in the video with steps written out can be found here:
https://drive.google.com/file/d/1fxKMRQ04B0qbXIxwgTK3ehQbd7qQ2UNe/view?usp=share_link

And the “rf_playingcards02_osc_ndi.py” file can be found here:
https://drive.google.com/file/d/1gpuafgIVI-QVTS70f4xBfNAs7e64pIFC/view?usp=share_link

Part 1: https://youtu.be/bXQM9byBA6o
Part 2: https://youtu.be/OPPDKpB6gRo
Part 3: https://youtu.be/dQcXADLzDUY

00:00 Overview
00:53 What is Roboflow?
03:20 Try Playing Cards model
05:35 Deploy model to Oak-D
06:40 Find Private API Key
07:22 Copy-paste code and Install Roboflow package
08:08 Run and explore pasted code
10:40 Parse and send data to TD
13:15 Receive data in TD
15:52 Triggering events from specific card combinations
16:25 Python content in Dat Execute
18:40 Analyzing CHOP data to detect combinations
19:22 Three of a Kind, Straight, Royal Flush
21:30 Conclusion

About The Author

You might be interested in