The first photo ( left ) was made with Native Camera. The second photo ( right ) was made with same device but i use Advanced Camera. The first is more "clear" that second.
I use this code:
B4X:
Sub Camera1_Ready (Success As Boolean)
If Activity.Width > Activity.Height Then
Try
camera1.OriLandscape
Catch
Msgbox (LastException.Message,"Camera1_Ready - Land")
End Try
Else
Try
camera1.OriPortrait
Catch
Msgbox(LastException.Message,"Camera1_Ready - Port")
End Try
End If
If Success Then
camera1.Quality = 100
camera1.FlashAuto()
camera1.SceneMode = "INFINITY"
camera1.StartPreview
Else
ToastMessageShow("Cannot open camera.", True)
End If
End Sub
I need to take pictures of text and then process it... then necessary to obtain the best possible result.
Any idea to improve the quality ??