Giter VIP home page Giter VIP logo

faceaccessserver's Introduction

faceaccessserver's People

Contributors

dotslash21 avatar ugu11 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

faceaccessserver's Issues

[BUG] face_id.py loading bounding_boxes filenames as classification labels

Describe the bug
On line 47 of face_id.py,
https://github.com/dotslash21/realtime_face_identification/blob/ac0f50dee6acdb97232fdd5b46d647d5c0f06277/face_id.py#L45-L48

Current implementation to load the classification labels for the SVM uses os.listdir() function which gets all the file and folder names from the directory './aligned_img_db'. The issue is other than the directories there are several bounding_box_XXXXX.txt files which are also getting added to self.faceIds which wrongfully allows any unauthorized person to access.

To Reproduce
Steps to reproduce the behavior:

  1. Follow the instructions here
  2. Open the dashboard. (localhost:8080)
  3. Click on VIEW FEED
  4. See yourself authenticated and labeled bounding_box_XXXXX.txt

Expected behavior
self.faceIds should only have the immediate subdirectories name list as labels.

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.