associazione-rousseau / camelot-flutter

Cross platform Flutter application to subscribe and vote on Rousseau.
GNU General Public License v3.0
15 stars 11 forks source link

Detect if the ID is valid with AI #17

Open emanuelconunaemme opened 4 years ago

emanuelconunaemme commented 4 years ago

We can integrate services like Rekognition, Tensorflow or native flutter AI libraries to filter non-IDs or bad pictures and ask the user to take another picture.

aledeniz commented 4 years ago

@emanuelconunaemme with “native flutter” do you mean client side? How big do you forecast the model to be?

Sent with GitHawk

bhack commented 4 years ago

I think It will be quite hard to collect a large and robust dataset for this. Just to leave a pinpoint: https://arxiv.org/abs/1805.02283

bhack commented 4 years ago

Isn't better to integrate with SPID directly instead of handling all these id cards in the Rosseau system?

bhack commented 4 years ago

Check: https://www.agid.gov.it/it/agenzia/stampa-e-comunicazione/notizie/2019/06/26/spid-apre-ai-privati-primo-servizio-accessibile-il-sistema-pubblico-didentita

bhack commented 4 years ago

This Is the repo for previously mentioned Docface and Docface++ followup paper https://github.com/seasonSH/DocFace

emanuelconunaemme commented 4 years ago

@bhack yes, it's better to integrate spid. Although, this would cover 10% of the user. For the other 90% adopting some commercial solution (like tensorflow or aws rekognito) would filter 10% of the wrong id. I tried and it works pretty well. Of course, it's pretty inefficient in detecting the positives.

bhack commented 4 years ago

I still belive that with limited resources Is better to invest on Spid cause AI will not enable you for https://www.camera.it/leg18/126?tab=1&leg=18&idDocumento=1892&sede=&tipo=

bhack commented 4 years ago

I repost https://www.agid.gov.it/it/agenzia/stampa-e-comunicazione/notizie/2019/11/21/consultazione-linee-guida-sulla-sottoscrizione-documenti-tramite-spid

bhack commented 4 years ago

So IMHO If we can do both It Is ok but if we need to choiche where to invest time probably it Is better to reserve resources for SPID.