For the complete documentation index, see llms.txt. This page is also available as Markdown.

Selphi - Component Customization

Text

If you want to modify the SDK texts, you should include the following XML file in the client application, and modify the value of each String with the desired one.

<!-- Diagnostic -->
    <string name="selphi_component_timeout_title">Timeout</string>
    <string name="selphi_component_timeout_desc">We couldn't identify you. Try again.</string>
    <string name="selphi_component_internal_error_title">There was a technical issue</string>
    <string name="selphi_component_internal_error_desc">We apologize. The capture could not be completed</string>
    <!-- Previous Tip -->
    <string name="selphi_component_tip_message">Place your face in the center of the circle</string>
    <string name="selphi_component_tip_message_alt">Place your face in the center of the circle</string>
    <string name="selphi_component_tip_anim_desc">A person shows their face inside the circle and the app takes a photo.</string>
    <string name="selphi_component_tip_title">Facial Recognition</string>
    <string name="selphi_component_tip_button">Start</string>
    <string name="selphi_component_tip_button_alt">Start face capture</string>
    <string name="selphi_component_tip_move_message">Place your face in the center of the circle and follow the instructions</string>
    <string name="selphi_component_tip_move_message_alt">Place your face in the center of the circle and follow the instructions</string>
    <string name="selphi_component_tip_move_anim_desc">A person shows their face inside the circle, moves it slightly to one side, and the app takes a photo.</string>
    <string name="selphi_component_tip_move_title">Facial Recognition</string>
    <string name="selphi_component_tip_move_button">Start</string>
    <string name="selphi_component_qr_tip_title">Scan the QR Code</string>
    <string name="selphi_component_qr_tip_message">Focus the QR Code within the frame</string>
    <string name="selphi_component_qr_tip_anim_desc">Focus the QR Code within the frame</string>
    <string name="selphi_component_qr_tip_button">Start</string>
    <string name="selphi_component_tip_close_button_alt">Back</string>
    <string name="selphi_component_tip_info_button_alt">View tips</string>
    <!-- Tutorial -->
    <string name="selphi_component_tutorial_message_1">Place your face in the center and look straight at the camera.</string>
    <string name="selphi_component_tutorial_message_2">Remove any item covering your face.</string>
    <string name="selphi_component_tutorial_message_3">Look for a well-lit environment, with no shadows on your face.</string>
    <string name="selphi_component_tutorial_message_1_anim_desc">The photo is taken when the person is in the center.</string>
    <string name="selphi_component_tutorial_message_2_anim_desc">A person removes their sunglasses and moves their hair away from their eyes.</string>
    <string name="selphi_component_tutorial_message_3_anim_desc">The image appears dark and a person turns on the light.</string>
    <string name="selphi_component_tutorial_close_button_alt">Back to the previous tutorial</string>

Animations

If you want to modify the SDK's animations (lottie), you would have to include the animations with the same name in the app's res/raw/ folder.

Last updated