2 * Copyright 2007 ZXing authors
\r
4 * Licensed under the Apache License, Version 2.0 (the "License");
\r
5 * you may not use this file except in compliance with the License.
\r
6 * You may obtain a copy of the License at
\r
8 * http://www.apache.org/licenses/LICENSE-2.0
\r
10 * Unless required by applicable law or agreed to in writing, software
\r
11 * distributed under the License is distributed on an "AS IS" BASIS,
\r
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
13 * See the License for the specific language governing permissions and
\r
14 * limitations under the License.
\r
17 using ResultPoint = com.google.zxing.ResultPoint;
\r
18 namespace com.google.zxing.common
\r
21 /// <summary> <p>Encapsulates the result of detecting a barcode in an image. This includes the raw
\r
22 /// matrix of black/white pixels corresponding to the barcode, and possibly points of interest
\r
23 /// in the image, like the location of finder patterns or corners of the barcode in the image.</p>
\r
26 /// <author> Sean Owen
\r
28 /// <author>www.Redivivus.in (suraj.supekar@redivivus.in) - Ported from ZXING Java Source
\r
30 public sealed class DetectorResult
\r
32 public BitMatrix Bits
\r
40 public ResultPoint[] Points
\r
49 //UPGRADE_NOTE: Final was removed from the declaration of 'bits '. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1003'"
\r
50 private BitMatrix bits;
\r
51 //UPGRADE_NOTE: Final was removed from the declaration of 'points '. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1003'"
\r
52 private ResultPoint[] points;
\r
54 public DetectorResult(BitMatrix bits, ResultPoint[] points)
\r
57 this.points = points;
\r