System and method for augmented reality effect customization in social media platforms through user-uploaded media
A system for customization of augmented reality (AR) effects is described. The operations performed by the system includes determining whether a user media texture has been uploaded and assign a user media texture index to the uploaded media texture asset. The indexed uploaded media texture asset is provided and AR effect on digital content is deployed.
1 . A system for enabling customization of an augmented reality (AR) effect, the system comprising:
a processor and device-storage media having executable instructions which, when executed by the processor, cause the system to perform operations comprising:
determining a user media texture asset has been uploaded;
uploading the user media texture asset to a social media platform; and
assigning a user media texture index to the uploaded user media texture asset;
setting the user media texture index to one when no pre-existing media texture asset has been uploaded;
incrementing the user media texture index by one when the uploaded user media texture asset has been uploaded;
determining whether there is at least one user media texture asset having a lower index than the indexed user media texture asset to be deleted; and
deleting the user media texture index,
wherein the indexed user media texture asset is provided and the AR effect on digital content is deployed.
2 . The system of claim 1 , wherein the uploaded user media texture asset operates as a customized texture within the AR effect; and
the customized texture is applied on a two-dimensional (2D) object and a three-dimensional (3D) object in an AR environment.
3 . The system of claim 1 , further comprising:
a user media texture integrated into an AR effect project, such that an activation of the AR effect triggers a media picker interface for a user.
4 . The system of claim 3 , wherein the uploaded user media texture asset assigns a unique index to each uploaded image, thereby correlating with an index of the media picker interface on the user's device.
5 . The system of claim 3 further comprising:
a default texture parameter within the uploaded user media texture asset displayed preemptively in the media picker interface prior to user media selection.
6 . The system of claim 5 , wherein the user media texture index is reassigned upon determination that there is no user media texture asset having a lower index.
7 . The system of claim 1 further comprising:
a user media info node provided within a visual scripting graph, which enables access to detailed information regarding user uploaded images.
8 . The system of claim 7 , wherein inputs for the user media info node comprise a texture2D, wherein output of the texture2D comprises an image index number, a Boolean indicating uploaded status, and precise image resolution.
9 . The system of claim 8 , wherein input for the texture2D is derived from the user uploaded images via the uploaded user media texture asset.
10 . The system of claim 8 , wherein an output index number is a numerical value indicating a sequence in which the user uploaded images were uploaded by the user.
11 . The system of claim 8 , wherein an output Boolean value provides a real-time status of whether an image has been uploaded via the uploaded user media texture asset.
12 . The system of claim 8 , wherein an output image resolution is provided as a Vec2 (a two-dimensional vector) encapsulating a width and a height of the user uploaded media images.
13 . The system of claim 1 wherein after user uploaded media images have been incorporated into a posted video, the user uploaded media images are available for inheritance, thereby enabling another user who interacts with a same AR effect to inherit the user uploaded media images.
14 . The system of claim 13 , wherein an inheritance option is moderated by enabling or disabling an AR effect creator.
15 . The system of claim 1 , wherein the user media texture index does not change upon determination that the indexed user media texture asset having a lower index.
16 . A method for enabling customization of augmented reality (AR) effects, the method comprising:
uploading an image to a social media platform;
assigning a media texture index to the uploaded image;
editing the uploaded image;
setting the media texture index to one when no pre-existing image has been uploaded;
incrementing the media texture index by one when the uploaded image has been uploaded;
determining whether there is at least one image having a lower index than the indexed image to be deleted;
deleting the media texture index; and
providing the edited image as an AR effect.
17 . The method of claim 16 , wherein an effect creator can edit the uploaded image using a user media texture function and a user media information node function.
18 . The method of claim 17 , wherein another user can inherit the provided AR effect.
19 . The method of claim 18 , wherein the effect creator can enable or disable the inheritance of the provided AR effect.
20 . A non-transitory computer-readable storage medium storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to:
determine a user media texture asset has been uploaded;
upload the user media texture asset to a social media platform;
assign a user media texture index to the uploaded user media texture asset;
provide the indexed user media texture asset;
set the user media texture index to one when no pre-existing media texture asset has been uploaded;
increment the user media texture index by one when the uploaded user media texture asset has been uploaded;
determine whether there is at least one user media texture asset having a lower index than the indexed user media texture asset to be deleted;
delete the user media texture index; and
deploy an augmented reality (AR) effect on digital content.