Systems and methods for dynamic content placement based on pixel count confidences in pre-existing content
Systems and methods for dynamic content placement based on pixel count confidences in pre-existing content. For example, the system may receive a first media asset. The system may determine a first pixel count requirement for the first media asset, wherein the first pixel count requirement indicates a required number of pixels appearing in objects for incorporating the first media asset. The system may identify a first object in a second media asset. The system may determine, using an artificial intelligence model, a first pixel count confidence that the first object meets the first pixel count requirement. The system may, in response to determining that the first pixel count confidence corresponds to the threshold pixel count confidence, generate for display, in a user interface, the first media asset at the first object while the second media asset is presented.
1 . A system for dynamic content placement based on pixel count confidences in pre-existing content, the system comprising:
one or more processors; and
one or more non-transitory, computer-readable mediums comprising instructions that when executed by the one or more processors cause operations comprising:
receiving a first media asset;
determining a first pixel count requirement for the first media asset, wherein the first pixel count requirement indicates a required number of pixels appearing in objects for incorporating the first media asset and a required amount of time that the objects remain displayed;
receiving, at a user interface of a first device, a second media asset;
rendering, at the user interface, the second media asset;
after rendering the second media asset:
identifying a first object in the second media asset;
determining, using an artificial intelligence model, a first pixel count confidence that the first object meets the first pixel count requirement while the second media asset is presented;
determining whether the first pixel count confidence corresponds to a threshold pixel count confidence; and
in response to determining that the first pixel count confidence corresponds to the threshold pixel count confidence, generating for display, in the user interface, the first media asset at the first object while the second media asset is presented.
2 . A method for dynamic content placement based on pixel count confidences in pre-existing content, the method comprising:
receiving a first media asset;
determining a first pixel count requirement for the first media asset, wherein the first pixel count requirement indicates a required number of pixels appearing in objects for incorporating the first media asset and a required amount of time that the objects remain displayed;
identifying a first object in a second media asset;
determining, using an artificial intelligence model, a first pixel count confidence that the first object meets the first pixel count requirement while the second media asset is presented;
determining whether the first pixel count confidence corresponds to a threshold pixel count confidence; and
in response to determining that the first pixel count confidence corresponds to the threshold pixel count confidence, generating for display, in a user interface, the first media asset at the first object while the second media asset is presented.
3 . The method of claim 2 , wherein receiving the first media asset further comprises:
determining the second media asset is currently being displayed in the user interface; and
in response to determining the second media asset is currently being displayed in the user interface, requesting the first media asset.
4 . The method of claim 2 , wherein receiving the first media asset further comprises:
determining a first type of the first media asset; and
monitoring content displayed in the user interface for the first type.
5 . The method of claim 2 , wherein determining the first pixel count requirement for the first media asset further comprises:
receiving metadata for the first media asset; and
determining the first pixel count requirement based on the metadata.
6 . The method of claim 2 , wherein identifying the first object in the second media asset comprises:
determining a first characteristic of the first object;
determining a second characteristic of a second object in the second media asset;
determining whether the first characteristic corresponds to the second characteristic; and
in response to determining that the first characteristic corresponds to the second characteristic, localizing the first object in the second media asset.
7 . The method of claim 2 , wherein determining the first pixel count confidence that the first object meets the first pixel count requirement further comprises:
determining a required pixel characteristic; and
estimating whether the required number of pixels appearing in objects for incorporating the first media asset corresponds to the required pixel characteristic.
8 . The method of claim 2 , wherein determining the first pixel count confidence that the first object meets the first pixel count requirement further comprises:
estimating a first frame pixel count in a first frame of the second media asset;
estimating a second frame pixel count in a second frame of the second media asset; and
determining the first pixel count confidence by aggregating the first frame pixel count and the second frame pixel count.
9 . The method of claim 2 , wherein determining the first pixel count confidence that the first object meets the first pixel count requirement further comprises:
obtaining a first sample of the second media asset;
determining a pixel count in the first sample; and
estimating a total pixel count in the second media asset based on the pixel count.
10 . The method of claim 2 , wherein determining whether the first pixel count confidence corresponds to the threshold pixel count confidence further comprises:
receiving metadata for the first media asset; and
determining the threshold pixel count confidence based on the metadata.
11 . The method of claim 2 , wherein generating for display the first media asset at the first object while the second media asset is presented further comprises:
determining a first location of the first object in a first frame of the second media asset;
generating for display the first media asset at the first location in the first frame of the second media asset;
determining a second location of the first object in a second frame of the second media asset; and
generating for display the first media asset at the second location in the second frame of the second media asset.
12 . The method of claim 2 , wherein generating for display the first media asset at the first object while the second media asset is presented further comprises:
determining a first orientation of the first object in a first frame of the second media asset;
generating for display the first media asset with the first orientation in the first frame of the second media asset;
determining a second orientation of the first object in a second frame of the second media asset; and
generating for display the first media asset with the second orientation in the second frame of the second media asset.
13 . The method of claim 2 , wherein generating for display the first media asset at the first object while the second media asset is presented further comprises:
determining a first link for the first media asset; and
embedding the first link in the first media asset.
14 . The method of claim 2 , wherein generating for display the first media asset at the first object while the second media asset is presented further comprises:
receiving at the user interface the second media asset; and
rendering the second media asset at the user interface, wherein the first object is identified in the second media asset after the second media asset is rendered.
15 . One or more non-transitory, computer-readable mediums comprising instructions that when executed by one or more processors cause operations comprising:
receiving a first media asset;
determining a first pixel count requirement for the first media asset, wherein the first pixel count requirement indicates a required number of pixels appearing in objects for incorporating the first media asset and a required amount of time that the objects remain displayed;
identifying a first object in a second media asset;
determining a first pixel count confidence that the first object meets the first pixel count requirement while the second media asset is presented;
determining whether the first pixel count confidence corresponds to a threshold pixel count confidence; and
in response to determining that the first pixel count confidence corresponds to the threshold pixel count confidence, generating for display, in a user interface, the first media asset at the first object while the second media asset is presented.
16 . The one or more non-transitory, computer-readable mediums of claim 15 , wherein receiving the first media asset further comprises:
determining the second media asset is currently being displayed in the user interface; and
in response to determining the second media asset is currently being displayed in the user interface, requesting the first media asset.
17 . The one or more non-transitory, computer-readable mediums of claim 15 , wherein receiving the first media asset further comprises:
determining a first type of the first media asset; and
monitoring content displayed in the user interface for the first type.
18 . The one or more non-transitory, computer-readable mediums of claim 15 , wherein determining the first pixel count requirement for the first media asset further comprises:
receiving metadata for the first media asset; and
determining the first pixel count requirement based on the metadata.
19 . The one or more non-transitory, computer-readable mediums of claim 15 , wherein identifying the first object in the second media asset comprises:
determining a first characteristic of the first object;
determining a second characteristic of a second object in the second media asset;
determining whether the first characteristic corresponds to the second characteristic; and
in response to determining that the first characteristic corresponds to the second characteristic, localizing the first object in the second media asset.
20 . The one or more non-transitory, computer-readable mediums of claim 15 , wherein determining the first pixel count confidence that the first object meets the first pixel count requirement further comprises:
determining a required pixel characteristic; and
estimating whether the required number of pixels appearing in objects for incorporating the first media asset corresponds to the required pixel characteristic.