cta-wave / mezzanine

This repo contains scripts that will build annotated test content from specific source content, compatible with the WAVE device playback test suite.
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Bit pattern for additional testing automation #28

Closed nicholas-fr closed 2 years ago

nicholas-fr commented 3 years ago

Current WAVE testing is designed for black-box testing of devices, using a camera, without requiring manufacturer involvement.

However, there are also cases where a manufacturer may want to do more in-depth white-box testing. Having this pattern would make the WAVE test material more useful for such testing.

As such, this is not in any way intended as a replacement of any of the work ongoing on the test harness. Processing of a bit pattern such as this is easier to automate than a QR code which changes position in each successive frame.

Composition of the pattern in order from top to bottom:

There is a margin of 5 black "bits" to the left and of 3 black "bits" to the right of the pattern.

Each "bit" in the pattern is a 2x2 pixel square, for a video resolution of 480x270. The relative position and size of the bits remains the same for higher video resolutions.

Data lines contain in order (left to right, top to bottom), starting with the LSB ending with MSB:

image

Please share any comments or questions you may have.

andyburras commented 3 years ago

The bit pattern doesn't look to be robust as there is no error correction/validation component? So there is no way to detect if it has been misread.

Because the bit pattern is at a fixed postion then if captured by a camera, the patterns on subsequent frames may intermingle and corrupt the pattern. As an illustration here is a camera frame showing 2 mezzanine QR codes. "Cycling" the position of the codes prevents them interfering.

GH010112_1749

I don’t really understand what problem the bit pattern is supposed to solve?

nicholas-fr commented 3 years ago

The goal of this is to make it easier for TV manufacturers to use the WAVE test material for white-box testing without needing to use a camera.

cta-source commented 3 years ago

We have a v0.1 specification for the Mezzanine format specification, which includes this information. Leaving this issue open due to the question posed by @andyburras;

The bit pattern doesn't look to be robust as there is no error correction/validation component? So there is no way to detect if it has been misread.

nicholas-fr commented 2 years ago

To further elaborate on the answer to this question, the low density bit pattern (LDBP) supplements, but does not replace, the QR codes. The QR codes are designed for black-box testing of devices, using a camera to capture device video output, without requiring manufacturer involvement. However, there are also cases where a manufacturer may want to do more in-depth white-box testing, and the LDBP makes the test content more useful for such testing. Processing of the LDBP image is easier to automate for white-box testing than a QR code which changes position in each successive frame. With white-box testing, error correction is not necessary, as video data is processed directly within a device.

As there has been no further comments on this, and the LDBP is part of the approved mezzanine release v2, I believe this issue can be closed. New issues can be raised if there are any remaining questions or concerns.