Skip to content

一个针对照片冲印批量图像裁剪的小工具

Notifications You must be signed in to change notification settings

selecttion/PhotoCropping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

针对冲印的批量图像最大化裁剪小工具,使用YOLOv5+PyQt; 选择输入文件夹,输出文件夹,裁剪比例,裁剪方式后即可使用。 需要在models文件夹下放置自己训练好的人脸检测模型并命名为best。

markphoto.py 用于人工图像裁剪以创建验证集,可直接打包为exe发给你的摄影师朋友,让它帮你选出最佳裁剪框的位置,并生成csv用于计算iou,验证效果。iou.py在文件末尾已定义文件名称。

PhotoCropping-YOLOv5

A PyQt-based image cropping system using YOLOv5 for face and person detection.

Features

  • Face & person detection (YOLOv5)
  • Automatic image cropping
  • PyQt GUI
  • Supports exe packaging (PyInstaller)

Environment

  • Python 3.8+
  • PyTorch
  • PyQt5

Notes

Model weights are not included. Please place your own .pt files under models/.

About

一个针对照片冲印批量图像裁剪的小工具

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages