Edge detection is an image processing technique for finding the boundaries of objects within images using Canny-edge detection algorithm and OpenCV.
A technique used in a variety of real-life applications like medical imaging, finger-print scanning, and snappy filters on social media.
Go to File
-> New
-> Import Module
a) Go to File
-> Project Structure
-> Dependencies
b) Select app module
-> click +
on top-left corner -> select module dependency
c) Choose OpenCV
and rename app
to EdgeDetect
Instantiate object for EdgeDetectLibrary class and access the methods accordingly.
- Library initialization
edgeLib_init
- Permission Manager
edgeLib_askPermission
- Canny-edge detection algorithm
edgeLib_detectEdges
- Store images in SQLite Database
edgeLib_storeImage
- Image chooser for camera and gallery
edgeLib_imagePicker
- Upload images via URL
edgeLib_getBitmapByURL