Comments (7)
Perfect, thank you @brmarkus! I think that addresses my questions.
from openface.
Can you share an example (executable, command-line parameters, ideally medium/video/input, CSV output (snippet))?
from openface.
Try this:
from openface.
@brmarkus Thanks for the quick response! Your suggested edit did change the amount of significant figures in the CSV file. Very, very helpful. Thank you again.
Do you have any idea of where face_model.detection_certainty
is calculated? I'm hoping that I could also potentially increase the amount of significant figures there as well.
This is the command I am using:
FeatureExtraction -f <video file> -q -pose -3Dfp -aus -pdmparams -2Dfp -out_dir <path to output dir>
from openface.
I think its retrieved here:
and
But isn't this actually the value written into the CSV into the column confidence
...?
EDIT:
The visualizer gets and remembers it:
https://github.com/TadasBaltrusaitis/OpenFace/blob/3d4b5cf8d96138be42bed229447f36cbb09a5a29/lib/local/Utilities/src/RecorderOpenFace.cpp#L470C8-L470C37
and then write into the CSV:
from openface.
@brmarkus I apologize for my late response.
Yes, detection_certainty
is what is written to the CSV file. But looking at these code references in the most recent reply, it is still not clear where this value is actually calculated. Despite changing the level of significance as suggested in the above reply (output_file << std::setprecision(2);
), the confidence in my resulting CSV files only go to the thousandths place, despite having my significance set to 5 decimal places. Most of the non-zero results end in a .005 as well. This seems odd and I wanted to see if there is any additional rounding happening in when calculating this confidence. I know there isn't any after output_file << std::setprecision(2);
.
from openface.
I think the magic happens in the multiple "neural networks".
Unfortunately I'm not familiar with the used undelying network architectures - otherwise there would be a chance to look into those with e.g. the viewer "Netron", to analyse especially the outer, last layers.
You might want to have a look intho e.g.
- https://github.com/openvinotoolkit/open_model_zoo/tree/master/models/intel/facial-landmarks-35-adas-0002
- https://github.com/openvinotoolkit/open_model_zoo/tree/master/models/intel/facial-landmarks-98-detection-0001
to get an impression what OpenFace's models might do as well. Under the hood it might use FP32, FP16, or uses INT8 quantization or something like that.
Excerpt for "facial-landmarks-35-adas-0002":
You will see convolutions, softmax, dropout, weight-filter, batch-norm, flatten and many more.
from openface.
Related Issues (20)
- BLAS : Program is Terminated. Because you tried to allocate too many memory regions HOT 6
- .mp4 does not support memory mapping
- make failed HOT 1
- Could not find the HAAR face detector location HOT 18
- Problems with GUI (Images shown too short) HOT 2
- macOS make issue HOT 3
- How to turn off the display before building OpenFace? HOT 3
- Memory allocate error HOT 5
- How to get the camera-to-world matrix?
- Issues making OpenFace work in Visual Studio 2017 HOT 22
- Can I call the api in python to read the face box? HOT 4
- No documentation for option to choose face detector HOT 12
- The AU intensities generated by OpenFace is inconsistent with the AU intensities manually marked
- GPU support for feature extraction HOT 1
- How to output csv file from input mp4 using openfaceoffline? HOT 6
- I encountered the following problem when compiling the project, I would like to ask how to solve it ah HOT 1
- FaceAnalyzer DetectLandmarks completely crashes PI 5
- Requesting help with "cmake -D WITH_OPENMP=ON CMAKE_BUILD_TYPE=RELEASE .." HOT 12
- Negative values for pose_Tz HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openface.