How to do warp perspective with streamlit

I want to be able to show an image to my app user where he will select 4 points in it based on that 4 points I will be able to do warp perspective with OpenCV witch is something that I can do when I have the points I tried streamlit-cropper but it does not give warp perspective only rectangle boxes can you help?