In Snapseed and IPhone, there is a function to automatically detect the angle.
I want to do something similar, but it's a bit different from your algorithm.
In Snapseed and Iphone, the angle of return is generally between -10 degrees and 10 degrees.
It usually returns 0 outside this range, but the accuracy requirement is relatively high.
Pictures with water or horizons need to be corrected to the level.
Pictures with characters and trees need to be corrected to vertical.
How do I adjust your network?
I downloaded your model, rotnet_street_view_resnet50_keras2.hdf5 This file is only 95M, and I trained more than 450M, what is the reason? Is there any way to continue compressing the model to below 20M?
I need to run the program in Android. Is there any way to improve the performance? (chip SDM670, ram 4G, I expect to process a picture less than 500ms)
When training, there are some values in the log (loss, angle_error, var_loss, var_angle_error), what does it mean?
If the training is halfway, interrupt it, how to continue training next time?
The similar features of Snapsed and IPhone are as follows:
Snapseed -> open a image -> tool -> rotate
IPhone -> Photos -> open a image -> Edit -> crop
Why is angle_error always around 90, should this value converge around 0 degrees?
2 I use your model to process the pictures in the Google Street View test set, the error is about 5 degrees, how to reduce the error?
Yes, it should approach to 0 degrees. Did you change the output of the network as I mentioned in my previous post? If you do that, you shouldn't see an angle_error above 20. Also, be careful when you convert the output of your network (in your case, it will be a class between 0 and 20) and the actual rotation angle (which in your case it's between -10 and 10).
There's no easy answer to that. The most straightforward way to increase the accuracy of the model is to add more training data. You could also try using a different model, modifying hyperparameters, augmenting the training set, etc.
Hello, I have a few questions to ask:
The similar features of Snapsed and IPhone are as follows: Snapseed -> open a image -> tool -> rotate IPhone -> Photos -> open a image -> Edit -> crop