1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<ImageView
android:id="@+id/image_view"
android:layout_width="match_parent"
android:layout_height="400dp"
/>
<TextView
android:id="@+id/text_display"
android:layout_width="401dp"
android:layout_height="202dp"
android:layout_below="@+id/image_view"
android:layout_marginStart="10dp"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="10dp"
android:layout_marginRight="10dp"
android:layout_marginBottom="10dp"
android:gravity="center"
android:maxLines="5"
android:text="Display Detected Text from image"
android:textSize="26dp" />
<Button
android:id="@+id/caputure_image"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/detect_text_image"
android:layout_marginBottom="5dp"
android:background="@color/Orange"
android:text="이미지 캡쳐"
android:textAllCaps="false"
android:textColor="@android:color/white"
android:textSize="17dp" />
<Button
android:id="@+id/detect_text_image"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="@color/Blue"
android:text="금자 변환하기"
android:textAllCaps="false"
android:textColor="@android:color/white"
android:textSize="17dp" />
</RelativeLayout>
| cs |
Anaconda Prompt을 실행한다. 그리고 pip uninstall python-telegram-bot telegram pip install python-telegram-bot 그러면 될것이다!!!ㅋ
댓글
댓글 쓰기