Remove unused imports and fix file naming

This commit is contained in:
Steve Cook
2023-03-02 00:10:39 -05:00
parent d2ab7de5dd
commit 37789a9395
8 changed files with 6 additions and 14 deletions

View File

@@ -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,

View File

@@ -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;

View File

@@ -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")]

View File

@@ -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)

View File

@@ -29,7 +29,7 @@
*
*/
use std::{collections::HashMap, rc::Rc};
use std::collections::HashMap;
use crate::{
client::result::{ExpandedProductParsedRXingResult, ParsedClientResult},

View File

@@ -24,7 +24,7 @@
* http://www.piramidepse.com/
*/
use std::{collections::HashMap, rc::Rc};
use std::collections::HashMap;
use crate::{
common::GlobalHistogramBinarizer,

View File

@@ -24,8 +24,6 @@
* http://www.piramidepse.com/
*/
use std::rc::Rc;
use crate::{
common::GlobalHistogramBinarizer,
oned::rss::{DataCharacterTrait, FinderPattern},

View File

@@ -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}");