Skip to content

hayatedayon/FaceCutting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

FaceCutting

説明

Google Cloud Vision APIを利用して顔画像を切り出します。
Cloud Vision APIの推奨サイズにリサイズした画像を送信します。
その結果を元に、元画像から顔画像を切り出します。
指定したフォルダ内のjpgを対象にします。
指定したフォルダ内にfacesフォルダを作成し、その中に顔画像を出力します。
出力する画像名は、 [元画像名]_face[顔数].[元拡張子]
例)IMG_1000.JPG → IMG_1000_face0.JPG

使い方

  1. 自分のAPIキーを入力
  2. python face_cutting.py 画像フォルダ
  3. 画像フォルダ内のfacesフォルダを確認する

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages