Add support for YUYV/YUY2 format

This commit is contained in:
Milan Nikolic
2025-06-15 08:32:19 +02:00
parent 7e4e58029a
commit 8667fe4b48
5 changed files with 235 additions and 73 deletions

View File

@@ -74,7 +74,7 @@ func (c *Camera) Read() (img image.Image, err error) {
}
if c.opts.Timestamp {
img, err = im.Timestamp(img, "")
img, err = im.Timestamp(img, c.opts.TimeFormat)
}
return