Giter VIP home page Giter VIP logo

ofiq-project's Introduction

Open Source Face Image Quality (OFIQ)

The OFIQ (Open Source Face Image Quality) is a software library for computing quality aspects of a facial image. OFIQ is written in the C/C++ programming language. OFIQ is the reference implementation for the ISO/IEC 29794-5 international standard; see https://bsi.bund.de/dok/OFIQ-e.

License

Before using OFIQ or distributing parts of OFIQ one should have a look on OFIQ's license and the license of its dependencies: LICENSE.md

Getting started

For a tutorial on how to compile and operate OFIQ, see here.

Reference manual

A full documentation of OFIQ including compilation, configuration and a comprehensive doxygen documentation of the C/C++ API is contained in the reference manual: see doc/refman.pdf.

ofiq-project's People

Contributors

bbtams avatar m-schaubert avatar marqi avatar jome2704 avatar

ofiq-project's Issues

Iterate over bounding boxes when using Yolo face detector

Currently we only return the first bounding box:

bb.push_back(OFIQ::BoundingBox(boxes[0].x, boxes[0].y, boxes[0].width, boxes[0].height, FaceDetectorType::OPENCVYOLO));

Instead iterate over all boxes and use confidence Threshold like in SSD Detector

Fix visualizations in branch exp/merge-dev_v2

The BSI has published a set of changes in the official OFIQ repository.
Now we have to fix our visualizations before being able to merge branch exp/merge-dev_v2 into branch ss2024.

Fix console output

We currently have the following console output:

--> Start processing image file: {workspaceDir}/data/tests/images/c-07-twofaces.png
perform preprocessing:
        1. detectFaces 2. estimatePose 3. extractLandmarks 4. alignFaceImage 5. getSegmentationMask 6. getFaceOcclusionMask 7. getAlignedFaceMask 
preprocessing finished
execute assessments:
        1. HeadPose 2. InterEyeDistance 3. NoHeadCoverings OpenCV(4.5.5) Error: Assertion failed (cn == 1) in countNonZero, file /home/kurz/.conan2/p/b/opence194a7dcfa6d7/b/src/modules/core/src/count_non_zero.dispatch.cpp, line 128
Exception in NoHeadCoverings!!! 4. BackgroundUniformity 5. DynamicRange 6. ExpressionNeutrality 7. EyesVisible OpenCV(4.5.5) Error: Sizes of input arguments do not match (The operation is neither 'array op array' (where arrays have the same size and the same number of channels), nor 'array op scalar', nor 'scalar op array') in arithm_op, file /home/kurz/.conan2/p/b/opence194a7dcfa6d7/b/src/modules/core/src/arithm.cpp, line 647
Exception in EyesVisible!!! 8. EyesOpen 9. FaceOcclusionPrevention OpenCV(4.5.5) Error: Sizes of input arguments do not match (The operation is neither 'array op array' (where arrays have the same size and the same number of channels), nor 'array op scalar', nor 'scalar op array') in arithm_op, file /home/kurz/.conan2/p/b/opence194a7dcfa6d7/b/src/modules/core/src/arithm.cpp, line 647
Exception in FaceOcclusionPrevention!!! 10. CropOfTheFaceImage 11. IlluminationUniformity 12. MouthOcclusionPrevention OpenCV(4.5.5) Error: Sizes of input arguments do not match (The operation is neither 'array op array' (where arrays have the same size and the same number of channels), nor 'array op scalar', nor 'scalar op array') in arithm_op, file /home/kurz/.conan2/p/b/opence194a7dcfa6d7/b/src/modules/core/src/arithm.cpp, line 647
Exception in MouthOcclusionPrevention!!! 13. MouthClosed 14. OverExposurePrevention OpenCV(4.5.5) Error: Sizes of input arguments do not match (The operation is neither 'array op array' (where arrays have the same size and type), nor 'array op scalar', nor 'scalar op array') in binary_op, file /home/kurz/.conan2/p/b/opence194a7dcfa6d7/b/src/modules/core/src/arithm.cpp, line 212
Exception in OverExposurePrevention!!! 15. Sharpness 16. SingleFacePresent 17. UnderExposurePrevention OpenCV(4.5.5) Error: Sizes of input arguments do not match (The operation is neither 'array op array' (where arrays have the same size and type), nor 'array op scalar', nor 'scalar op array') in binary_op, file /home/kurz/.conan2/p/b/opence194a7dcfa6d7/b/src/modules/core/src/arithm.cpp, line 212
Exception in UnderExposurePrevention!!! 18. UnifiedQualityScore 19. NaturalColour 20. NoHeadCoverings OpenCV(4.5.5) Error: Assertion failed (cn == 1) in countNonZero, file /home/kurz/.conan2/p/b/opence194a7dcfa6d7/b/src/modules/core/src/count_non_zero.dispatch.cpp, line 128
Exception in NoHeadCoverings!!! 21. CompressionArtifacts 22. Luminance 23. HeadSize 
finished

We should fix the errors in the assessment step

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.