I am developing a project where the user needs to upload pictures to an ASP.NET MVC Core web application. Currently when the user selects a picture, he gets a preview to see which picture he/she has uploaded.
Now on two of the pictures I need to do number plate recognition (I already have code for the recognition in the controller, so I just need the bitmap of the image in my controller.
This is my code thusfar:
Current HTML/Javascript code
When the user presses the "Check pictures" button, the app needs to verify if a certain plate is in the 'selected' picture. Is it possible to get the bitstream if the image is just selected and not uploaded to a server? The fact that I can display the image tells me yes, or am I wrong?
If so, how do I get the bitmap of the picture in my controller? I have also added a picture of my MVC project architecture for better understanding:
Project Architecture
Thanks in advance.