示例#1
0
文件: net.py 项目: Mirabbas/DigIToil
def mobilenet_ssd():
    path = 'models/'
    prototxt = path + 'mo_mobilenet-ssd.xml'
    weight = path + 'mo_mobilenet-ssd.bin'
    size = (300, 300)

    return Net(prototxt, weight, size)
示例#2
0
文件: net.py 项目: Mirabbas/DigIToil
def person_reid():
    path = 'models/'
    prototxt = path + 'person-reidentification-retail-0079.xml'
    weight = path + 'person-reidentification-retail-0079.bin'
    size = (64, 160)

    return Net(prototxt, weight, size)
示例#3
0
文件: net.py 项目: Mirabbas/DigIToil
def face_detection():
    path = 'models/'
    prototxt = path + 'face-detection-retail-0005.xml'
    weight = path + 'face-detection-retail-0005.bin'
    size = (300, 300)

    return Net(prototxt, weight, size)
示例#4
0
文件: net.py 项目: Mirabbas/DigIToil
def person_detection():
    path = 'models/'
    prototxt = path + 'person-detection-retail-0013.xml'
    weight = path + 'person-detection-retail-0013.bin'
    size = (544, 320)

    return Net(prototxt, weight, size)
示例#5
0
文件: net.py 项目: Mirabbas/DigIToil
def face_reid():
    path = 'models/'
    prototxt = path + 'face-reidentification-retail-0095.xml'
    weight = path + 'face-reidentification-retail-0095.bin'
    size = (128, 128)

    return Net(prototxt, weight, size)
示例#6
0
文件: net.py 项目: Mirabbas/DigIToil
def face_lanmark():
    path = 'models/'
    prototxt = path + 'landmarks-regression-retail-0009.xml'
    weight = path + 'landmarks-regression-retail-0009.bin'
    size = (48, 48)

    return Net(prototxt, weight, size)
示例#7
0
def person_reid():
    path = 'D:/YandexDisk/Projects/OpenVINO/models/intel/person-reidentification-retail-0079/FP16/'
    prototxt = path + 'person-reidentification-retail-0079.xml'
    weight = path + 'person-reidentification-retail-0079.bin'
    size = (64, 160)

    net = Net(prototxt, weight, size)
    return net
示例#8
0
def person_detection():
    path = 'D:/YandexDisk/Projects/OpenVINO/models/intel/person-detection-retail-0013/FP16/'
    prototxt = path + 'person-detection-retail-0013.xml'
    weight = path + 'person-detection-retail-0013.bin'
    size = (544, 320)

    net = Net(prototxt, weight, size)
    return net
示例#9
0
def face_reid():
    path = 'D:/YandexDisk/Projects/OpenVINO/models/intel/face-reidentification-retail-0095/FP16/'
    prototxt = path + 'face-reidentification-retail-0095.xml'
    weight = path + 'face-reidentification-retail-0095.bin'
    size = (128, 128)

    net = Net(prototxt, weight, size)
    return net
示例#10
0
def face_lanmark():
    path = 'D:/YandexDisk/Projects/OpenVINO/models/intel/landmarks-regression-retail-0009/FP16/'
    prototxt = path + 'landmarks-regression-retail-0009.xml'
    weight = path + 'landmarks-regression-retail-0009.bin'
    size = (48, 48)

    net = Net(prototxt, weight, size)
    return net
示例#11
0
def face_detection():
    name = 'face-detection-retail-0005'
    path = INTEL_MODELS_DIR + name + '/FP16/'
    prototxt = path + name + '.xml'
    weight = path + name + '.bin'
    size = (300, 300)

    net = Net(prototxt, weight, size)
    return net