Henry Schimke
eea448ae94
feat: ported qr-model1 support from zxing-cpp
2024-01-16 12:42:46 -06:00
Henry Schimke
2664094767
Modify the concentric finder to guard array bounds
...
A potential resolution to Issue #36 . In some cases the array positions suggested by the corner_positions array may be out of bounds for the points array. To resolve this, guard against out of bounds checks. In other cases, where the positions are matched, guard against having the start position of a slice go beyond the end position of the slice.
2023-11-06 09:52:39 -06:00
Henry Schimke
62e49b376d
clippy --fix suggestions
2023-10-28 11:11:30 -05:00
Henry Schimke
5ea03cc066
updated cargo fmt
2023-10-28 11:04:14 -05:00
Henry Schimke
94a2e9f418
c++ 1169e84911a8fe19a8fe21fe87a96d4afc8bbae9
2023-05-30 16:12:01 -05:00
Henry Schimke
eb97b628a9
fix performance issue in PatternView:
...
Previously converting from a `PatternView` to an array reference required an intermediary step, and the creation of a new array on the stack. The new implementation can pass a reference to the underyling data directly, without that intermediary allocation.
2023-05-13 11:03:07 -05:00
Henry Schimke
3fc068f49b
swap point_f and point functions
2023-05-04 14:50:32 -05:00
Henry Schimke
326da6808a
clippy fix
2023-05-04 13:53:57 -05:00
Henry Schimke
634722a806
cargo clippy --fix
2023-05-04 13:45:57 -05:00
Henry Schimke
592a4d694c
move more to generic points
2023-05-04 13:16:44 -05:00
Henry Schimke
74a830f462
switch to using Point in one-d-derive macros
...
Also start updates to make point more generic, still not complete or fully implemented.
Some code cleanup
2023-04-29 17:51:26 -05:00
Henry Schimke
508f5f14c5
code cleanup
2023-04-29 09:58:04 -05:00
Henry
ef999a4eb0
clippy fix
2023-04-28 19:41:23 -05:00
Henry
2afc6be3dc
cargo fix
2023-04-28 19:15:25 -05:00
Henry Schimke
4d703c4e51
all tests but 7 (SA) and inverted pass
2023-04-28 13:25:49 -05:00
Henry Schimke
6aee7a66b9
progress on passing tests
2023-04-27 10:59:39 -05:00
Henry Schimke
26109ab9ed
fix addition vs subtraction for ConcentricPattern
2023-04-26 16:00:09 -05:00
Henry Schimke
96cadb8e66
some progress in passing images
2023-04-26 13:17:57 -05:00
Henry Schimke
b216a446ee
ported latest c++ changes, does not pass all tests
2023-04-25 15:59:47 -05:00
Henry Schimke
b8b4bd523c
mqr tests pass
2023-04-25 12:50:54 -05:00
Henry Schimke
cf530422c9
port over c++ tests and weights
2023-04-24 19:09:01 -05:00
Henry Schimke
31413b3044
fix errant has_eci
2023-04-24 18:16:48 -05:00
Henry Schimke
483539a194
fix pattern test
2023-04-24 17:49:04 -05:00
Henry Schimke
d08f67feed
partial test complete
2023-04-24 17:42:40 -05:00
Henry Schimke
a811b56fbb
cargo fmt
2023-04-23 14:36:51 -05:00
Henry Schimke
cb7050a5dd
build result
2023-04-23 11:23:56 -05:00
Henry Schimke
b4f99b3195
use internal BinaryBitmap instead of [bool]
2023-04-22 16:23:32 -05:00
Henry Schimke
bec7c99dbb
partial success on parse, missing symbology id
2023-04-22 16:17:05 -05:00
Henry Schimke
789719d3eb
adding result points to sampler
2023-04-22 11:44:37 -05:00
Henry Schimke
d3ce9fcb90
still working on tests
2023-04-17 16:47:57 -05:00
Henry Schimke
de01f5c749
port SymbologyIdentifier test
2023-04-14 11:42:47 -05:00
Henry Schimke
23951ac87c
ported test SimpleSJIS and fixed regression pdf417
2023-04-14 11:03:04 -05:00
Henry Schimke
1900e1ca57
continued porting of test cases
2023-04-09 18:25:59 -05:00
Henry Schimke
8a1d0b3969
Beginning port of tests for qrcode from c++
2023-04-05 12:26:34 -05:00
Henry Schimke
44e2d52599
cleanup failures for existing tests
2023-04-03 16:08:15 -05:00
Henry Schimke
169db55a82
begin cleanup
2023-04-03 12:52:01 -05:00
Henry Schimke
8e26bbe117
fix errors due to change in sign
2023-04-01 09:43:41 -05:00
Henry Schimke
8dde4744f2
actually use offset (p)
2023-03-31 20:27:58 -05:00
Henry Schimke
c103609550
port stepToNextEdge
2023-03-31 20:08:57 -05:00
Henry Schimke
097bfd1ead
port FastEdgeToEdgeCounter::new
2023-03-31 20:05:53 -05:00
Henry Schimke
612ef458f2
port FindBestFormatInfo
2023-03-31 16:36:15 -05:00
Henry Schimke
76fb937ca9
removing todo!()
2023-03-31 11:58:29 -05:00
Henry Schimke
98e30a1d80
porting formatinformation and eclevel
2023-03-30 15:01:31 -05:00
Henry Schimke
ae5539e270
add ReadQRCodewords
2023-03-30 10:32:42 -05:00
Henry Schimke
af626afc15
removed todo!() from qrcode_version.rs
2023-03-29 14:30:19 -05:00
Henry Schimke
6a1c5c568a
continued removal of todo!()
2023-03-29 12:10:58 -05:00
Henry Schimke
517b23b481
more todo!() removal
2023-03-28 16:46:36 -05:00
Henry Schimke
74a459f65a
continue removing todo!()s
2023-03-28 16:31:41 -05:00
Henry Schimke
607bb28101
micro versions
2023-03-28 11:16:05 -05:00
Henry Schimke
0636a63291
partial stub out of decoder
2023-03-27 11:45:26 -05:00