Ask Your Question
0

how compare faces with Chi-squared distribution?

asked 2019-01-26 06:49:33 -0600

Sartogersofortotropher gravatar image

updated 2019-01-26 06:51:28 -0600

I have next lhph:

face1:64 60 191 7 225 195 207 135 15 15...

face2:239 239 207 60 195 195 195 131 199...

face3:4 30 32 194 30 15 143 1 4 143 7 143 ...

...

newFace : 248 108 1 7 225 195 207 135 15 15...

I see newFace is the face1.

How I be able to use Chi-squared distribution for face recognition?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2019-01-26 07:55:43 -0600

berak gravatar image

it's the chi-sqr distance not the distribution here, which matters, and you use it like:

double dist = compareHist(histo_A, histo_B, HISTCMP_CHISQR);

again, have a look at the opencv code

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-01-26 06:49:33 -0600

Seen: 212 times

Last updated: Jan 26 '19