You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use bardecoder;
use bardecoder::prepare::BlockedMean;
fn main() {
let img = image::open("E:\\rust_demo_projects\\rust_python_example\\back_end\\frame.png").unwrap();
let mut db = bardecoder::default_builder();
// Use some different arguments in one of the default components
db.prepare(Box::new(BlockedMean::new(7, 9)));
// Build the actual decoder
let decoder = db.build();
let results = decoder.decode(&img);
for result in results {
println!("{}", result.unwrap());
}
}
The text was updated successfully, but these errors were encountered:
As per the title
Can't decode the following image.
The text was updated successfully, but these errors were encountered: