simple_image_interface
This repository is simple image interface library for rust. By using this library you can change easily between images, videos, and camera input. This may be useful for debug like robotics vision area.
- Document
- Supported image interface
- Camera
- Web Camera (v4l2)
- Realsense
- Basler Camera
- Video
- mp4
- Image
- png
- jpeg
- Camera
Get started
Install
- Install for rscam
sudo apt install libv4l-dev
- Install for ffmpeg-next
sudo apt install -y clang libavcodec-dev libavformat-dev libavutil-dev pkg-config libavdevice-dev
- Cargo.toml
"simple_image_interface" = "0.1.6"
Example code
- Make interface
- In detail, see example code
use SimpleImageInterface;
- Example code execution
# Run for picture
# Run for video
Note
Simple_image_interfacedo not use trait object but lapper struct to improve execution speed
History
- For new release
- Updated README
- Updated Rust edition
- v0.1.6
- Updated dependencies and fix some warnings
- Refactored
- v0.1.5
- Refactored
- [caution!!] Changed module architecture
- v0.1.4
- Renamed repository name
- v0.1.3
- Refactored
- v0.1.2
- v0.1.1
- Fixed bug
- v0.1.0
- Published
simple_image_interface
- Published
Reference
- rscam: Use for camera input
- rust-ffmpeg: Use for video input