79345887

Date: 2025-01-10 13:42:59
Score: 1.5
Natty:
Report link

To resolve this I used Objdetect's getPredefinedDictionary method as shown below:

for the import:

import org.opencv.objdetect.Objdetect;

And for the usage in code:

Dictionary dictionary = Objdetect.getPredefinedDictionary(Objdetect.DICT_4X4_50);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Oli