mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
Remove unused imports and fix file naming
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
use std::{collections::HashSet, path::PathBuf, rc::Rc};
|
||||
use std::{collections::HashSet, path::PathBuf};
|
||||
|
||||
use crate::{
|
||||
common::HybridBinarizer, BarcodeFormat, BinaryBitmap, BufferedImageLuminanceSource,
|
||||
|
||||
@@ -221,7 +221,7 @@ mod multi_qr_code_test_case {
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
use std::{collections::HashSet, path::PathBuf, rc::Rc};
|
||||
use std::{collections::HashSet, path::PathBuf};
|
||||
|
||||
use image;
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ mod rss_expanded_internal_test_case;
|
||||
|
||||
#[cfg(test)]
|
||||
#[cfg(feature = "image")]
|
||||
mod rss_expanded_image_2_binary_test_tase;
|
||||
mod rss_expanded_image_2_binary_test_case;
|
||||
|
||||
#[cfg(test)]
|
||||
#[cfg(feature = "image")]
|
||||
|
||||
@@ -24,8 +24,6 @@
|
||||
* http://www.piramidepse.com/
|
||||
*/
|
||||
|
||||
use std::rc::Rc;
|
||||
|
||||
/**
|
||||
* @author Pablo Orduña, University of Deusto (pablo.orduna@deusto.es)
|
||||
* @author Eduardo Castillejo, University of Deusto (eduardo.castillejo@deusto.es)
|
||||
@@ -29,7 +29,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
use std::{collections::HashMap, rc::Rc};
|
||||
use std::collections::HashMap;
|
||||
|
||||
use crate::{
|
||||
client::result::{ExpandedProductParsedRXingResult, ParsedClientResult},
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* http://www.piramidepse.com/
|
||||
*/
|
||||
|
||||
use std::{collections::HashMap, rc::Rc};
|
||||
use std::collections::HashMap;
|
||||
|
||||
use crate::{
|
||||
common::GlobalHistogramBinarizer,
|
||||
|
||||
@@ -24,8 +24,6 @@
|
||||
* http://www.piramidepse.com/
|
||||
*/
|
||||
|
||||
use std::rc::Rc;
|
||||
|
||||
use crate::{
|
||||
common::GlobalHistogramBinarizer,
|
||||
oned::rss::{DataCharacterTrait, FinderPattern},
|
||||
|
||||
@@ -24,13 +24,9 @@
|
||||
* http://www.piramidepse.com/
|
||||
*/
|
||||
|
||||
use std::rc::Rc;
|
||||
|
||||
use image::DynamicImage;
|
||||
|
||||
use crate::{
|
||||
common::GlobalHistogramBinarizer, Binarizer, BinaryBitmap, BufferedImageLuminanceSource,
|
||||
};
|
||||
use crate::{common::GlobalHistogramBinarizer, BinaryBitmap, BufferedImageLuminanceSource};
|
||||
|
||||
fn getBufferedImage(fileName: &str) -> DynamicImage {
|
||||
let path = format!("test_resources/blackbox/rssexpandedstacked-2/{fileName}");
|
||||
|
||||
Reference in New Issue
Block a user