https://en.m.wikipedia.org/wiki/Dietary_fiber
"In some countries fiber is not listed on nutrition labels and is considered to provide no energy. In other countries all fiber must be listed and is simplistically considered to provide 17 kJ/g (4.1 kcal/g) (because chemically fiber is a type of carbohydrate and other carbohydrates provide that amount of energy). In the US, soluble fiber must be counted as 4 kcal/g (17 kJ/g), but insoluble fiber may be (and usually is) treated as not providing energy and not mentioned on the label."
This obviously isn't practical for every day use but the data has been used to approximate calories out correlated with heart rate if body weight is known - several sports watches such as Suunto use this approach.
So I would say the mask method is the BEST way, but not necessarily accurate.