Comments (6)
For the issue 2, can you please print out the tensor shape before fedding into the model (before model.predict())? I think you did not preprocess correctly. Printing shapes will help you a lot.
from mtts-can.
For the issue 1, you will need to look into the shape of preprocessing. Please go to inference_preprocess.py to print out shapes and try to debug what is going on. The other thing is that you did not specify the sampling rate flag, i don't know if that is the reason causing your problem.
from mtts-can.
I want to process live video streams instead of static .mp4 files and was wondering if there's a way to auto-detect the sampling rate for the videos or keeping a default value for the sampling rate flag that would allow processing live videos for the most part?
from mtts-can.
I beleive you can use CV2 or something else to detect the sampling rate e.g., https://learnopencv.com/how-to-find-frame-rate-or-frames-per-second-fps-in-opencv-python-cpp/.
I think most of the smartphone's front cameras probably are 30fps though.
from mtts-can.
@gabdalf1819, as a user i will recommend using some face detection algorithm as it is obvious from the screenshot attached its detecting stuff other than face only. for your second query, you need to count fps manually, there is no function in open cv. check this stackoverflow query
from mtts-can.
Please move to https://github.com/ubicomplab/rPPG-Toolbox
We added support there.
Thanks!
from mtts-can.
Related Issues (20)
- dataset HOT 3
- Enquiry about training on UBFC-RPPG and PURE dataset HOT 27
- Enquiry about training time and project code HOT 3
- Real-Time Query HOT 1
- Request for infos regarding environment setup (strange results with tensorflow 2.8.0) HOT 3
- Test respiration rate HOT 1
- Data input HOT 1
- TS-CAN and Hybrid-Can dataloaders HOT 1
- dataset problem HOT 1
- Could you provide more details how you pre-process the dataset? HOT 1
- Dimension Error in predict Vitals HOT 2
- Data preprocessing and interface HOT 1
- Using time series data HOT 1
- Pure dataset HOT 1
- Batch size for model predict. HOT 1
- Values of the diagramm HOT 3
- About the order of the Butterworth filter
- labeling the training data
- can i get the result as numbers of BPM? HOT 1
- how to rewrite the train.py for other DataSet
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 mtts-can.