AndroidObjectDetection icon indicating copy to clipboard operation
AndroidObjectDetection copied to clipboard

can it be converted to face/age/gender detection?

Open juniel03 opened this issue 5 years ago • 2 comments

hey there great application thanks for the idea! i was wondering if it can be converted to face detection? i tried to change the weight and config files but I just got errors

juniel03 avatar Jul 17 '19 09:07 juniel03

Hey. Thanks :) Can you post your error and config file? I think conversion it is possible with a right training. Without see error, first idea is that you have to check fame size. It must be equal to [288, 608] with all possible size between adding 32 (288, 320, 352, 384, 416...) both in the top of cfg file and in CameraActivity

    Size frame_size = new Size(416, 416);
    Mat blob = Dnn.blobFromImage(frame, 1.0 / 255.0, frame_size, mean, true, false);

matteomedioli avatar Jul 18 '19 11:07 matteomedioli

when i trained my own yolov3 readdnnfromdarknet gives null into net variable. do you have solution for this then please share how to load custom trained model?

chauhansunil792 avatar May 15 '20 12:05 chauhansunil792