Skip to content

DBFace using with Android tflite format #8

@Zeleni9

Description

@Zeleni9

Hello,

I have a question about using the db_keras.tflite model in Android. I am not sure the correct parameters for the face detector when generating anchors. If you can provide info about them that would be amazing. Info that I am lacking are feature sizes & anchor sizes with anchor ratios, here I have added some random data from another object detector:

private static final int[] feature_map_sizes = new int[] {33, 17, 9, 5, 3};

private static final float[][] anchor_sizes = new float[][] {{0.04f, 0.056f}, {0.08f, 0.11f}, {0.16f, 0.22f}, {0.32f, 0.45f}, {0.64f, 0.72f}};

private static final float[] anchor_ratios = new float[] {1.0f, 0.62f, 0.42f};`

If u have pre-processing and post-processing for face detector in Android Java code that would help immensely. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions