Foren: Japanese (Thread #16326)

FinderPattern.javaのバグ (2007-10-03 12:32 by snailramp #32634)

はじめまして,横井と申します.
現在,バージョン0.72を利用させて頂いているのですが,
カメラを用いて傾いたQRコードをデコードすると
FinderPatternの座標が見当違いな値になってしまい,
その結果デコードできないという問題が生じました.

自分なりに調べてみた結果,
FinderPattern.javaにおいて検出されたパターンの座標を割り振る際(403行目~)に問題が生じているのではないかと思われます.
そこで,
sortedCenters[0]に,前に算出されたoriginPointの値を代入
sortedCenters[1]はそのまま
sortedCenters[2]に,残りのcentersの値を代入
と変更し実行したところ,概ねうまく動きました.

上記に関して検証して頂けると幸いです.

Reply to #32634×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Anmelden

RE: FinderPattern.javaのバグ (2007-10-10 19:55 by snailramp #32709)

前の書き込みに関しまして,
バージョン0.72の403行目~と記述しましたが,
最新のバージョン0.8では390行目~に相当します.
内容自体は変わってないと思いますが,
念のため追記させて頂きます.
Reply to #32634

Reply to #32709×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Anmelden