lily418 / laravel_vision Goto Github PK
View Code? Open in Web Editor NEWHacking around with Laravel, to make an API to perform common Vision tasks. Initally Face Detection and Recognition.
License: MIT License
Hacking around with Laravel, to make an API to perform common Vision tasks. Initally Face Detection and Recognition.
License: MIT License
groupPhotos method in app/controllers/ImageController is both extremely hackey and almost certainly doesn't belong in the controller.
There's some duplication in the Blade tempting, also app/views/image_upload.blade.php uses knowledge of the model.
I'm not sure I like the way the API is laid out in routes, especially the way image/identity and other methods conflict with image/{id}.
Currently each request to /images/identify will need to re-train the Eigen Face Recogniser. A possible solution may be to pickle the Eigen Face Recogniser.
The save_image of the model/Image.php should sensibly name the file and add it along with metadata to the database.
Should be able to POST an image resource and return a prediction of which user the image belongs to.
At the moment there is only one collection of faces, there should be a way to create multiple collections.
Images that are uploaded to be identified stay on the server indefinitely, there's also files created by tempnam without extension which are never used.
Make sure the code is expressive as possible or use comments where I fail.
Also I may have slipped into Ruby conventions at some point, so make sure the code conforms to standards.
Users of the API should be able to identify themselves.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.