X-Git-Url: http://git.ieval.ro/?p=image-openalpr.git;a=blobdiff_plain;f=lib%2FImage%2FOpenALPR%2FPlateResult.pm;fp=lib%2FImage%2FOpenALPR%2FPlateResult.pm;h=3fcca2dd446cff530241c7b5354e80a55aaa01f6;hp=6cf165100ce2cfa0f582f2c7471123ee65d501b1;hb=6765bc35d634346fb62423893eed48ecb0de1bc5;hpb=8c12669490878d47452c271b0ff6ab6858060ab4 diff --git a/lib/Image/OpenALPR/PlateResult.pm b/lib/Image/OpenALPR/PlateResult.pm index 6cf1651..3fcca2d 100644 --- a/lib/Image/OpenALPR/PlateResult.pm +++ b/lib/Image/OpenALPR/PlateResult.pm @@ -45,31 +45,44 @@ Image::OpenALPR::PlateResult - a license plate, as identified by OpenALPR =head1 DESCRIPTION -Image::OpenALPR::PlateResult is a class representing a plate identified by OpenALPR. It offers the following methods: +Image::OpenALPR::PlateResult is a class representing a plate +identified by OpenALPR. It offers the following methods: =over -=item B +=item $plate->B -The plate number that has the highest confidence value (likelihood of being correct). +The plate number that has the highest confidence value (likelihood of +being correct). -=item B +=item $plate->B The confidence value of the plate number returned by B. -=item B +=item $plate->B -True if the plate matches the plate pattern chosen via the B in L, false otherwise (or if no region was chosen). -=item B +True if the plate matches the plate pattern chosen via the +B in L, false otherwise (or if no +region was chosen). -In list context, returns a four element list representing the vertices of the license plate, numbered clock-wise from top-left. Each element is an arrayref with two elements: the X coordinate followed by the Y coordinate. +=item $plate->B -In scalar context, returns an arrayref to an array containing the list described above. +In list context, returns a four element list representing the vertices +of the license plate, numbered clock-wise from top-left. Each element +is an arrayref with two elements: the X coordinate followed by the Y +coordinate. +In scalar context, returns an arrayref to an array containing the list +described above. -=item B +=item $plate->B -In list context, returns a list of candidate license numbers, in decreasing order of confidence. The first element coincides with the plate/confidence pair returned by the B and B methods. Each element is a partial Image::OpenALPR::PlateResult object -- only the B, B and B methods will return a meaningful value. +In list context, returns a list of candidate license numbers, in +decreasing order of confidence. The first element coincides with the +plate/confidence pair returned by the B and B +methods. Each element is a partial Image::OpenALPR::PlateResult object +-- only the B, B and B methods +will return a meaningful value. =back