Coder Social home page Coder Social logo

face's Introduction

照片归档


## test in php 7.0.0 + yaf 3.0.0
#### 移动照片,照片生成handle路径和thumb路径 /usr/local/php-7.0.0/bin/php public/cli.php request_uri="/face/mvImages"

分析照片的人脸

/usr/local/php-7.0.0/bin/php public/cli.php request_uri="/face/analyzerFace"

把人脸添加到faceset

/usr/local/php-7.0.0/bin/php public/cli.php request_uri="/face/analyzerFaceset"

训练当前faceset

/usr/local/php-7.0.0/bin/php public/cli.php request_uri="/face/trainFaceset"

删除空文件夹

find ./origin_images -type d -empty -exec rm -rf {} ;

通过faceId查找照片

explain  SELECT `images`.`image_id` FROM `images` WHERE  

    exists ( select * from ( select * from faces where face_face_id='f51f426269487072d8db0777dd1d2663' 
                UNION all select * from faces where face_face_id='fe3ef528caf927dceb49097a8797fc' ) as a where a.image_id=images.image_id
            )
    AND 
    `images`.`image_id` NOT IN (10,9)
    
    GROUP BY `images`.`image_id`

face's People

Watchers

James Cloos avatar  avatar Kaidi Cao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.