Status: Active experimental research prototype. Results are exploratory and are not a validated measure of real-world engagement.
ConvinceSense Update is a Python prototype for real-time multimodal engagement analysis. It captures short audio segments, extracts acoustic and linguistic features, combines them into a 22-value vector, and uses a trained Random Forest model to estimate engagement on a 1–5 scale. The UI is built with Streamlit and includes a 3D sphere visualization.
flowchart LR
Mic[Microphone] --> Capture[Audio capture]
Capture --> Segment[3-second segments]
Segment --> Acoustic[MFCC + energy + pitch + ZCR]
Segment --> Speech[Speech recognition]
Speech --> Linguistic[Sentiment + keywords + intent]
Acoustic --> Fusion[22-feature fusion]
Linguistic --> Fusion
Fusion --> Model[Random Forest model]
Model --> Score[Engagement score 1-5]
Score --> Streamlit[Streamlit dashboard + sphere]
- Acoustic features: MFCC, energy, pitch, and zero-crossing rate
- Linguistic features: DistilBERT sentiment, keyword detection, and intent detection
- Model artifacts:
models/fusion_model.pklandmodels/label_encoder.pkl - Training data is synthetic, so predictions should not be treated as clinically or commercially validated
- The current build uses a daemon thread and
queue.Queueto simulate streaming input in the dashboard
pip install -r requirements.txt
python -m streamlit run dashboard/app.pySee WALKTHROUGH.md for the experiment flow.
This is the current implementation. The earlier Convincesense repository is archived and superseded by this project.
Built by Aaron James.