Skip to content

Commit 75f08ad

Browse files
added image picker library to pick image from gallery to perform text recognition
1 parent 987caf9 commit 75f08ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/com/example/textrecognizer/MainActivity.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ class MainActivity : AppCompatActivity() {
158158
visibility = View.VISIBLE
159159
setImageURI(uri)
160160
}
161+
binding.group.visibility = View.VISIBLE
161162
//runTextRecognition(binding.previewImage.drawable.toBitmap())
162163
}
163164
ImagePicker.RESULT_ERROR -> {

0 commit comments

Comments
 (0)