Improvements on the video transform example to work on mobile.

This commit is contained in:
Filipi Fuchter
2025-03-31 17:11:38 -03:00
parent 70e28a0547
commit 121e70a029
2 changed files with 14 additions and 6 deletions

View File

@@ -138,7 +138,6 @@ class RawVideoTrack(VideoStreamTrack):
class SmallWebRTCClient:
FORMAT_CONVERSIONS = {
"yuv420p": cv2.COLOR_YUV2RGB_I420,
"yuvj420p": cv2.COLOR_YUV2RGB_I420, # OpenCV treats both the same