All Projects → quickbirdstudios → Yuvtomat

quickbirdstudios / Yuvtomat

High-performance library for converting YUV_420_888 Android Camera images to OpenCV RGB Mats

Programming Languages

java
68154 projects - #9 most used programming language
kotlin
9241 projects

Projects that are alternatives of or similar to Yuvtomat

Video To Ascii
It is a simple python package to play videos in the terminal using characters as pixels
Stars: ✭ 960 (+2300%)
Mutual labels:  opencv
Snapchat Filter
3 facial filters on a webcam feed using OpenCV & ML - face swap, glasses and moustache
Stars: ✭ 35 (-12.5%)
Mutual labels:  opencv
Ipcamera Cpython Interface
兼容主流海康和雄迈IPC的适用于C++和python的帧数据获取接口
Stars: ✭ 38 (-5%)
Mutual labels:  opencv
Pixelannotationtool
Annotate quickly images.
Stars: ✭ 962 (+2305%)
Mutual labels:  opencv
Ng Open Cv
Angular 6+ & OpenCV.js integration service library
Stars: ✭ 36 (-10%)
Mutual labels:  opencv
Mosaicer
OpenCV & Tensorflow
Stars: ✭ 36 (-10%)
Mutual labels:  opencv
Python Excel Automation
Examples of automation of excel via python, and related useful things
Stars: ✭ 31 (-22.5%)
Mutual labels:  opencv
Hololensarucounity
Marker tracking on HoloLens built on Aruco, OpenCV and Unity
Stars: ✭ 39 (-2.5%)
Mutual labels:  opencv
Camera calibration api
A simple Python API for single camera calibration using opencv
Stars: ✭ 36 (-10%)
Mutual labels:  opencv
Pyimagevideo
write animated GIF, multipage append TIFF, AVI OGV video in Python
Stars: ✭ 36 (-10%)
Mutual labels:  opencv
Imshow Java Opencv
an alternative to imshow() in C++ OpenCV for Java OpenCV
Stars: ✭ 34 (-15%)
Mutual labels:  opencv
Object Detection And Location Realsensed435
Use the Intel D435 real-sensing camera to realize target detection based on the Yolov3 framework under the Opencv DNN framework, and realize the 3D positioning of the Objection according to the depth information. Real-time display of the coordinates in the camera coordinate system.ADD--Using Yolov5 By TensorRT model,AGX-Xavier,RealTime Object Detection
Stars: ✭ 36 (-10%)
Mutual labels:  opencv
Face Mask Detection
Face masks are crucial in minimizing the propagation of Covid-19, and are highly recommended or even obligatory in many situations. In this project, we develop a pipeline to detect unmasked faces in images. This can, for example, be used to alert people that do not wear a mask when entering a building.
Stars: ✭ 37 (-7.5%)
Mutual labels:  opencv
Opencv Disparity Map Tuner
A simple Qt GUI application to tune OpenCV StereoCorrespondenceBM parameters and see live updates
Stars: ✭ 31 (-22.5%)
Mutual labels:  opencv
Computer Vision
Computer vision sabbatical study materials
Stars: ✭ 39 (-2.5%)
Mutual labels:  opencv
Graph Based Image Segmentation
Implementation of efficient graph-based image segmentation as proposed by Felzenswalb and Huttenlocher [1] that can be used to generate oversegmentations.
Stars: ✭ 31 (-22.5%)
Mutual labels:  opencv
Opencv Tutorials
Tutorials for learning OpenCV in Python from Scratch
Stars: ✭ 36 (-10%)
Mutual labels:  opencv
Lambda Packs
Precompiled packages for AWS Lambda
Stars: ✭ 997 (+2392.5%)
Mutual labels:  opencv
Facerecog
Face Recognition using Neural Networks implemented using Keras
Stars: ✭ 39 (-2.5%)
Mutual labels:  opencv
Traffic Light Detector
Detect traffic lights and classify the state of them, then give the commands "go" or "stop".
Stars: ✭ 37 (-7.5%)
Mutual labels:  opencv

⚠️ DEPRECATED

This library is no longer maintained and will not be updated.

YuvToMat

YUV_420_888 Image to OpenCV RGB Mat Conversion

High-performance library for converting YUV_420_888 images from Android's Camera v2 API to OpenCV Mats. The resulting Mat contains RGB pixels.

Usage

Kotlin

Simply use the extension function on android.media.Image.

val mat = image.rgb()

Java

Simply use the static function Yuv.toMat

Mat mat = Yuv.rgb(image)

Clipping the image

This library supports efficient clipping of the image before converting. Just pass a clip to the function:

val yuv = YuvImage(image).clip(left=20, top=20, right=40, bottom=40)
val yuv = YuvImage(image).with(YuvImage.Clip(left=20, top=20, right=40, bottom=40))
val yuv = YuvImage(image) with YuvImage.Clip(left=20, top=20, right=40, bottom=40)
val rgb: Mat = yuv.rgb()

Get the the dependency

Gradle

dependencies {
    ...
    implementation "com.quickbirdstudios:yuvtomat:1.1.0"
}

Also include the kotlin standard library for non-kotlin projects

dependencies {
    ...
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

}

If you encounter any issues with this library, please submit an issue. We'll come back to you as soon as possible.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].