# US 2024/0205627 A1 · Detection of the change of position of a set-top box by image analysis

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0205627 A1
- Document ID: US20240205627A1
- Status: Published application
- Kind: A1
- Application number: 18/543,755
- Filed: 2023-12-18
- Published: 2024-06-20
- Earliest claimed: 2022-12-19
- Assignees: Sagemcom Broadband SAS
- Applicants: Sagemcom Broadband SAS
- Inventors: Vincent SCHOTT; Jad OBEID
- Web page: https://patentgrep.com/patent/US20240205627A1

## CPC

- H04N 7/183: {for receiving images from a single remote source}
- H04S 7/301: {Automatic calibration of stereophonic sound system, e.g. with test microphone}
- G06T 7/74: {involving reference images or patches}
- H04N 21/439: Processing of audio elementary streams
- H04R 5/02: Spatial or constructional arrangements of loudspeakers
- G06T 2207/20061: Hough transform
- G06T 2207/20076: Probabilistic image processing
- H04S 2400/11: Positioning of individual sound objects, e.g. moving airplane, within a sound field (H04S2420/13 takes precedence)
- H04S 2400/13: Aspects of volume control, not necessarily automatic, in stereophonic sound systems
- H04S 2420/11: Application of ambisonics in stereophonic audio systems
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04S: STEREOPHONIC SYSTEMS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04R: LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS (producing sounds with frequency not determined by supply frequency G10K)

## Abstract

A optimization method for a sound playback performed by a set-top box including at least one speaker, and to which at least one camera is secured. The method include the steps of: acquiring an initial image produced by the camera while the set-top box is in an initial position and in an initial orientation, the set-top box thus using initial audio parameters to optimize the sound playback; then, acquiring at least one current image; analyzing the current image and the initial image to detect a change of position and/or orientation of the set-top box; performing at least one corrective action to optimize the sound playback.

## Claims

### Claim 1

An optimization method for a sound playback performed by a set-top box which comprises at least one speaker and to which at least one camera is secured, comprising the steps of:
acquiring at least one initial image produced by the camera while the set-top box is located in an initial position and in an initial orientation, the set-top box thus using initial audio parameters to optimize the sound playback;
then, acquiring at least one current image produced by the camera;
analyzing the at least one current image and the at least one initial image to detect a change of position and/or orientation of the set-top box;
performing at least one corrective action making it possible to optimize the sound playback following the change of position and/or orientation of the set-top box.

### Claim 2 (depends on 1)

The optimization method according to claim 1, wherein the analysis of the at least one current image and of the at least one initial image comprises the steps of:
determining a planar homography matrix making it possible to pass from the at least one current image to the at least one initial image;
analyzing said planar homography matrix to detect the change of position and/or orientation of the set-top box.

### Claim 3 (depends on 2)

The optimization method according to claim 2, wherein the analysis of the planar homography matrix comprises the steps of:
comparing said planar homography matrix with an identity matrix;
not detecting a change of position, nor orientation of the set-top box when an absolute value of a difference between each element of the planar homography matrix and a corresponding element of the identity matrix is less than a predetermined first detection threshold;
detecting a change of position and/or orientation of the set-top box otherwise.

### Claim 4 (depends on 1)

The optimization method according to claim 1, wherein the analysis of the at least one current image and of the at least one initial image comprises the steps of:
detecting in the at least one initial image, by using a Hough transform, a first number of first lines each having first polar coordinates;
detecting in the at least one current image, by using the Hough transform, a second number of second lines each having second polar coordinates;
evaluating a number of lines common to the at least one initial image and to the at least one current image;
detecting a change of position and/or orientation of the set-top box if the number of common lines is less than a predetermined second detection threshold.

### Claim 5 (depends on 4)

The optimization method according to claim 4, further comprising the steps of:
calculating a confidence index which depends on the first number and on the second number;
comparing the confidence index with a predetermined confidence threshold;
deciding, according to a result of said comparison, to validate or not, a result of the step of detecting the change of position and/or orientation.

### Claim 6 (depends on 1)

The optimization method according to claim 1, wherein the corrective action comprises the steps of:
determining a new position and/or a new orientation of the set-top box;
producing new audio parameters to optimize the sound playback, while the set-top box is in the new position and/or the new orientation.

### Claim 7 (depends on 6)

The optimization method according to claim 6, comprising the steps of:
determining, in a system linked to the at least one current image, coordinates of an initial optimal listening position, wherein the sound playback was optimized, while the set-top box was in the initial position and the initial orientation;
producing the new audio parameters, such that the sound playback is again optimized in the initial optimal listening position.

### Claim 8 (depends on 7)

The optimization method according to claim 7, wherein the new audio parameters comprise a gain applied onto a current volume, which depends on the initial optimal listening position and on the new position and/or on the new orientation of the set-top box.

### Claim 9 (depends on 7)

The optimization method according to claim 7, wherein the set-top box comprises at least two speakers, the production of new audio parameters comprising the step of adjusting an audio balance between said at least two speakers.

### Claim 10 (depends on 2)

The optimization method according to claim 2, wherein the corrective action comprises the steps of:
determining a new position and/or a new orientation of the set-top box;
producing new audio parameters to optimize the sound playback, while the set-top box is in the new position and/or the new orientation,
determining, in a system linked to the at least one current image, coordinates of an initial optimal listening position, wherein the sound playback was optimized, while the set-top box was in the initial position and the initial orientation;
producing the new audio parameters, such that the sound playback is again optimized in the initial optimal listening position,
wherein the set-top box comprises a first speaker and a second speaker, the optimization method comprising the steps of:
determining, by using the planar homography matrix, a first angle between a reference axis of the at least one initial image passing through the initial optimal listening position, and a first current axis passing through the initial optimal listening position and the first speaker in the at least one current image, and a second angle between the reference axis and a second current axis passing through the initial optimal listening position and the second speaker in the at least one current image;
determining, by using the planar homography matrix, a first distance between the initial optimal listening position and the first speaker, and a second distance between the initial optimal listening position and the second speaker;
using an ambisonic method for placing virtual sound sources around the initial optimal listening position by calculating gains which depend on the first angle, on the second angle, on the first distance and on the second distance, the new audio parameters comprising said gains.

### Claim 11 (depends on 10)

The optimization method according to claim 10, using, to define the new audio parameters, a predefined cross-reference table which associates precalculated audio parameters with distance and/or angle indications representative of the change of position and/or orientation of the set-top box.

### Claim 12 (depends on 4)

The optimization method according to claim 4, wherein the corrective action comprises the steps of:
determining a new position and/or a new orientation of the set-top box;
producing new audio parameters to optimize the sound playback, while the set-top box is in the new position and/or the new orientation,
the method comprising the steps, to determine the new position of the set-top box, of:
detecting a particular angle which is the most present in the set of polar coordinates comprising the first polar coordinates of the first lines and the second polar coordinates of the second lines;
if a number of times where said particular angle is present in the set of polar coordinates is greater than a predetermined angle threshold, deducing from this that the set-top box has possibly undergone a lateral movement perpendicularly to an optical axis of the camera;
estimating said lateral movement according to the distances of the first polar coordinates of the first lines and of the second polar coordinates of the second lines having the particular angle as the angle.

### Claim 13 (depends on 6)

The optimization method according to claim 6, wherein the corrective action consists of defining a new optimal listening position associated with the new position and/or with the new orientation of the set-top box, and of indicating the new optimal listening position to a user, so that they use it.

### Claim 14 (depends on 1)

The optimization method according to claim 1, wherein the corrective action consists of emitting a message to a user of the set-top box, asking them to reposition the set-top box in the initial position and/or in the initial orientation.

### Claim 15 (depends on 1)

A set-top top box comprising at least one speaker and to which at least one camera is secured, the set-top box further comprising a processing unit, wherein the optimization method according to claim 1 is implemented.

### Claim 16

(canceled)

### Claim 17 (depends on 15)

A non-transitory recording medium which can be read by a computer, on which a computer program is recorded, wherein the computer program comprising instructions which make the processing unit of the set-top box according to claim 15 execute the steps of the optimization method.
