Coder Social home page Coder Social logo

Comments (4)

CODEWITHRIZA avatar CODEWITHRIZA commented on June 2, 2024 1

Face Detection Integration using OpenCV

Hey

I've got a solution for integrating face detection via OpenCV before triggering AWS Rekognition requests. Here's the plan:

  • API Enhancement: Add a enable_face_detection parameter to the API payload, allowing toggling of face detection.

  • Integration Process:

    • Adjust the API endpoint to handle the new parameter.
    • Incorporate OpenCV's face detection within the API flow.
  • Decision Logic:

    • When enable_face_detection is true, perform OpenCV face detection.
    • If faces are found, proceed with AWS Rekognition.
    • If no faces, skip Rekognition to save resources.
  • Considerations:

    • Seamlessly blend OpenCV within the existing API structure.
    • Assess performance impact and update API documentation.
  • Development Steps:

    • Discuss implementation specifics with the team.
    • Plan integration steps and devise a robust testing strategy.

Feel free to reach out for further assistance or to discuss details!

from double-take.

amz4u2nv avatar amz4u2nv commented on June 2, 2024

That sounds great, well thought out.

from double-take.

CODEWITHRIZA avatar CODEWITHRIZA commented on June 2, 2024

Thank you for your positive response! If you encounter any challenges while implementing the solution or need more guidance, please don't hesitate to reach out :)

from double-take.

amz4u2nv avatar amz4u2nv commented on June 2, 2024

After more digging looks like opencv does work for the api, but you need to add the cameras section to the config within the detectors section. The if statement maybe in the wrong place
image

Thanks

from double-take.

Related Issues (20)

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.