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