Improve POD formatting
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 16 Apr 2016 16:32:18 +0000 (19:32 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 16 Apr 2016 18:33:51 +0000 (21:33 +0300)
lib/Image/OpenALPR.pm
lib/Image/OpenALPR/PlateResult.pm

index bc9d7aa886a3854447810e6baec4b4ea7d05232a..b1124a26e6f6f781c4c59f5f7279a23f58a2bc41 100644 (file)
@@ -78,7 +78,7 @@ Takes one mandatory argument (the country rules to use, such as C<eu>
 or C<us>) and two optional arguments: a path to the configuration
 file, and a path to the runtime_data directory.
 
-Returns a new Image::OpenALPR instance. If initialization fails (for
+Returns a new Image::OpenALPR instance. If initialisation fails (for
 example, if the chosen country is not available) an exception is
 thrown.
 
@@ -109,8 +109,8 @@ Changes the country rules in use.
 =item $alpr->B<setPrewarp>(I<$prewarp>)
 
 Sets the camera calibration values, as obtained from the
-openalpr-utils-calibrate utility. Can also be set in the configuration
-file.
+C<openalpr-utils-calibrate> utility. Can also be set in the
+configuration file.
 
 =item $alpr->B<set_default_region>(I<$region>)
 
index 6cf165100ce2cfa0f582f2c7471123ee65d501b1..3fcca2dd446cff530241c7b5354e80a55aaa01f6 100644 (file)
@@ -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<plate>
+=item $plate->B<plate>
 
-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<confidence>
+=item $plate->B<confidence>
 
 The confidence value of the plate number returned by B<plate>.
 
-=item B<matches_template>
+=item $plate->B<matches_template>
 
-True if the plate matches the plate pattern chosen via the B<set_default_region> in L<Image::OpenALPR>, false otherwise (or if no region was chosen).
-=item B<coordinates>
+True if the plate matches the plate pattern chosen via the
+B<set_default_region> in L<Image::OpenALPR>, 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<coordinates>
 
-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<candidates>
+=item $plate->B<candidates>
 
-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<plate> and B<confidence> methods. Each element is a partial Image::OpenALPR::PlateResult object -- only the B<plate>, B<confidence> and B<matches_template> 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<plate> and B<confidence>
+methods. Each element is a partial Image::OpenALPR::PlateResult object
+-- only the B<plate>, B<confidence> and B<matches_template> methods
+will return a meaningful value.
 
 =back
 
This page took 0.012635 seconds and 4 git commands to generate.