First time here? Check out the FAQ!

Ask Your Question
0

how compare faces with Chi-squared distribution?

asked Jan 26 '19

Sartogersofortotropher gravatar image

updated Jan 26 '19

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?

Preview: (hide)

1 answer

Sort by » oldest newest most voted
2

answered Jan 26 '19

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

Preview: (hide)

Question Tools

1 follower

Stats

Asked: Jan 26 '19

Seen: 212 times

Last updated: Jan 26 '19