Commit Graph
625 Commits
Author SHA1 Message Date
Henry Schimke 3d8c4f9668 update to 0.4.10 with #36 and dependency updates 2023-11-06 09:53:08 -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 4c9ec95d00 basic clippy fixes 2023-10-28 10:57:42 -05:00
Henry Schimke 09673e2381 move to more modern SVG read methods 2023-08-03 15:19:02 -05:00
Henry Schimke bcb97f639e update to 0.4.8 2023-07-13 11:54:15 -05:00
Henry Schimke e633b10802 cleanup maxicode detector a bit 2023-05-31 10:32:37 -05:00
Henry Schimke 00fcb50b10 clippy 2023-05-30 16:13:23 -05:00
Henry Schimke 2ef19d37df c++ 33ce0dd7ece806083a631add36b1735a5a600763 2023-05-30 16:12:15 -05:00
Henry Schimke 94a2e9f418 c++ 1169e84911a8fe19a8fe21fe87a96d4afc8bbae9 2023-05-30 16:12:01 -05:00
Henry Schimke 22cabc2975 ported changes from c++ f80a9b923a14827cc78bb96703676c14ac61c1ed 2023-05-30 16:11:42 -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
agkyunromb f9c3ee5d2c fix rotate issue & fix size of pdf417_compact 2023-05-10 14:47:25 +08:00
Henry Schimke 4a1873f84d fix for all optional features 2023-05-04 15:00:54 -05:00
Henry Schimke 3fc068f49b swap point_f and point functions 2023-05-04 14:50:32 -05:00
Henry Schimke 80f06ecb3c move maxicode detector to PointT 2023-05-04 14:40:59 -05:00
Henry Schimke b508698334 more generic point in result_point_util 2023-05-04 14:15:14 -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 e8501c1b6e cargo --fix 2023-05-04 13:17:15 -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 09555a1d70 all tests pass ready to merge 2023-04-28 17:23:50 -05:00
Henry Schimke 57d4f82e7c all tests except SA pass 2023-04-28 16:45:18 -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 d841c1d751 slight change 2023-04-25 13:00:42 -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 d5c4d4de78 MQRDecoderTest 2023-04-16 10:59:33 -05:00
Henry Schimke 361130c389 port QRBitMatrixParserTest 2023-04-14 12:12:03 -05:00
Henry Schimke 8462c7e877 port QRDataMaskTest 2023-04-14 11:55:56 -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