Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mode 0111 not yet implemented #54

Open
RNGKing opened this issue Nov 15, 2023 · 0 comments
Open

Mode 0111 not yet implemented #54

RNGKing opened this issue Nov 15, 2023 · 0 comments

Comments

@RNGKing
Copy link

RNGKing commented Nov 15, 2023

As per the title

Can't decode the following image.


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());
    }
}

frame_new

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant