Use the SDK directly (recommended)
Theface-age SDK works in Vue without a wrapper, and gives you every option, API method and event in the JavaScript SDK.
vue-face-age and vue3-face-age wrappers
vue3-face-age as the import for Vue 3):
onLoad is called with the result after the analysis finishes.
Wrapper options
string
default:"skincare"
Display mode of the analysis:
skincare— only collects the user’s image.skincare-analyzer— collects the image and also displays the analysis results.
string[]
Limit the analysis information that is displayed. Defaults to
['dark_circle', 'eye_bag', 'eye_wrinkles', 'deep_wrinkles', 'wrinkles', 'acnes', 'pores', 'pigment'].boolean
default:"true"
Allow users to take a photo with the camera.
boolean
default:"true"
Allow users to upload an image.
boolean
default:"true"
Show the analysis points on the face.