人脸关键点裁剪增强

目录

python代码 人脸关键点裁剪增强

翻转增强:


python代码 人脸关键点裁剪增强

import random

import numpy as np
import torch
from torchvision import transforms
import cv2
import os
import glob
from faceland import FaceLanndInference


# os.environ['CUDA_VISIBLE_DEVICES'] = '0'
def main():
    checkpoint = torch.load('faceland.pth'

你可能感兴趣的:(python宝典,python,opencv,计算机视觉)