Strange OpenCV behavior
in
Contributed Library Questions
•
2 years ago
I have been trying to come up with a solution to the strange behavior of my code. but with no success I am still at the same challenge as I was few days back.
I am looking for a lead/suggestion/guidance on how to go about it, I can do my homework and write my own code.
well, I have made an array of 7 images. I want to assign one of these images randomly to the face detected.
It is assigning images randomly to the faces detected but. whenever the new face is detected the first image assigned to the face1 moves to face2 and face1 gets a new image. then face3 gets image from face2, face2 from face1 and face1 gets new image.
thanks in advance
I am looking for a lead/suggestion/guidance on how to go about it, I can do my homework and write my own code.
well, I have made an array of 7 images. I want to assign one of these images randomly to the face detected.
It is assigning images randomly to the faces detected but. whenever the new face is detected the first image assigned to the face1 moves to face2 and face1 gets a new image. then face3 gets image from face2, face2 from face1 and face1 gets new image.
thanks in advance
1