GithubHelp home page GithubHelp logo

susantabiswas / facerecog Goto Github PK

View Code? Open in Web Editor NEW
54.0 54.0 24.0 104.16 MB

Realtime Facial recognition system using Siamese neural network

Home Page: https://susantabiswas.github.io/FaceRecog/

License: MIT License

Python 99.69% Dockerfile 0.31%
face-detection face-recognition facenet opencv-python realtime siamese-network

facerecog's Introduction

Hi! I'm Susanta! 👋

  • 🔭 Working on hyper-scale distributed systems.
  • 🔭 Experienced in solving practical computer vision and NLP problems.
  • 🌱 I’m currently learning more about distributed systems.

facerecog's People

Contributors

dependabot[bot] avatar susantabiswas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

facerecog's Issues

No such file or directory: 'database/user_dict.pickle

FileNotFoundError Traceback (most recent call last)
in
1 # add a user
----> 2 add_user_img_path(user_db, FRmodel, "susanta", "images/2.jpg")

in add_user_img_path(user_db, FRmodel, name, img_path)
4 user_db[name] = img_to_encoding(img_path, FRmodel)
5 # save the database
----> 6 with open('database/user_dict.pickle', 'wb') as handle:
7 pickle.dump(user_db, handle, protocol=pickle.HIGHEST_PROTOCOL)
8 print('User ' + name + ' added successfully')

FileNotFoundError: [Errno 2] No such file or directory: 'database/user_dict.pickle'

@susantabiswas

How to handle it ?

Error while restoring model

I am getting the following error while restoring the model.
The file for inception_blocks_v2 was also missing and could not be imported. I downloaded it from here and also its dependency fr_utils.py.

ValueError: Shape must be rank 1 but is rank 4 for 'bn1/cond/FusedBatchNorm' (op: 'FusedBatchNorm') with input shapes: [?,64,48,48], [1,64,1,1], [1,64,1,1], [1,64,1,1], [1,64,1,1].
Using Keras 2.2.0, Tensorflow 1.8.0

LICENSE?

I see that the license was deleted. Can somebody help explain what the licensing or add the correct LICENSE file?

Value Error

Hi, can you help me, should i resize my phoro before add for user or need scale 96x96?
It's message when just photo
ValueError: Error when checking input: expected input_1 to have shape (3, 96, 96) but got array with shape (3, 648, 464)

But when i resize the photo to 96x96, it added to base but doesn't do face recognition and also have got the error with resize (empty data).

thanks for answer

ValueError while loading model.

ValueError: Shape must be rank 1 but is rank 4 for 'bn1/cond/FusedBatchNorm' (op: 'FusedBatchNorm') with input shapes: [?,64,48,48], [1,64,1,1], [1,64,1,1], [1,64,1,1], [1,64,1,1].
I am using Keras 2.2.0 and Tensorflow 1.8.0. I am not able to load the model and getting an error at the following line.
FRmodel = load_model('models/model.h5', custom_objects={'triplet_loss': triplet_loss}). Is there an updated model file?

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.