How to get image rotate angle value from flutter_image_cropper plugin - flutter

We have referred to the below GitHub code-
https://github.com/JakobStadlhuber/flutter_image_cropper
if you have any idea how I could retrieve the rotate and crop values for the original image, that would be great.
alternatively, if you know of any other plug-in where I would be able to crop/rotate/edit the image that would be greatly appreciated.
I am building the app in a flutter.

Related

How to get rotated image angle value using flutter_image_cropper plugin in flutter

if you have any idea how I could retrieve the rotate and crop values for the original image, that would be great.
alternatively, if you know of any other plug-in where I would be able to crop/rotate / edit the image that would be greatly appreciated.
I am building the app in a flutter.

How to crop an image by detecting the edge in flutter

I am trying to crop the image by detecting the image edge in flutter. But i am not getting how to do that. I have also tried the package edge_detection but its not working well for the documents. Is there is another method to detect the edge properly and crop that image.
Aside from edge_detection there is no official library published by pub_dev that contains cropping with edge detection.
However, you should check out this link which contains the essentials for the implementation in your project.

Pasting an image on top of another image

I have this poster image:
I have to blend it with another image. I have to put this image on a picture of a building like this:
The rotated poster image has white pixels that I don't know how to get rid of.
Can someone please help me with code to paste this image on the building image? The front of the building.
Firstly find the four corner points of building where you want to blend image. Also find four corner points of your poster. Then use perspective transform and warpaffine to paste poster on image.
This http://www.learnopencv.com/homography-examples-using-opencv-python-c/ link may help you to get the idea but it is using OpenCV.
I have tried this using OpenCV C++ and I am getting following image after applying perspective transform. Let me know if you want this kind of results:

3D transform image (in Bohemian Sketch)

For my website, I want to use the vector image as shown here: http://www.sketchappsources.com/free-source/226-iphone-5.html
It's an iPhone 5 that is tilted.
Now I need to add my image to the screen which means I need to 3D-tilt it. I've tried and searched a lot but couldn't figure out how to transform my image so that it fits the iPhone 5 screen.
Any help in guiding me how to 3D transform my image would be greatly appreciated!
Cheers,
Frank
I recently released a plugin solving the exact issue, it allows you to draw a shape with the Vector tool and then apply the content of an artboard into the area. It's called Magic Mirror, please take a look at http://magicmirror.design

Work with iphone camera

I am looking for anyone that can help create some source and a tutorial with me to answer how to create a transparent straight line on iphone camera.
Please , If anyone knows of a tutorial already then pls reply me.
If I understand you correctly, you want to have a live preview of the camera overlays by I more or less transparent line, right ?
Two solution come to my mind:
Build one view that gets the camera input via AvFoundation framework and build another - transparent - view that holds whatever elements you want to display on top of that.
Another solution would be to build one OpenGL view, use the camera input as texture for a background rectangle filling the whole screen and then render your other content on top of that.
If you are looking tutorial for camera overlay you can visit this. It has source code attached too. So you will find easy with that. But pls don't just copy paste try to understand the code when you have time.