기본 콘텐츠로 건너뛰기

TextRecognitionAPP 성공한 xml

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

댓글

이 블로그의 인기 게시물

win32 액세스 거부가 나타날때!, USB 시스템 메모리 지우기

1. USB에 가상디스크가 있는지 확인한다. 2. 만약 있다면 cmd - diskpart을 실행한다 3. lisk disk 을 치고, usb 드라이드를 select disk 1(USB 해당번호 적는다) 4. 그리고 clean 친다. 5. 제어판에 디스크 포맷에 들어가서 드라이브를 잡는다. 6. win 32을 실행 후 작동한다.

작업용 폴더 추가하기

 시놀로지에 작업용 폴더를 따로 생성했습니다.  따라서 기존 Seaburysolutions/작업용 폴더에 있던 자료는 금일(21.04.13) 18시에 삭제할 예정입니다.(금일 17:50부터 18시까지 자료 옴길 예정이니, 해당 시간에  Seaburysolutions/작업용 폴더 사용을 중지 해주시면 감사하겠습니다. ) 외부와 폴더를 공유 중이신 분은 18시 이후에 새로 설정해 주시면 감사하겠습니다. 작업용 폴더 추가 방법은 아래와 같습니다. 1. 우선 동기화 할 작업용 폴더를 생성합니다. (기존 Seaburysolutions폴더 위치에 하면 사용하기 편합니다.) 2. 원도우 오른쪽 아래에 화살표 클릭 후 Drive 아이콘을 클릭합니다. 3. 아래와 같이 창이 뜨면, 생성 버튼을 클릭합니다. 4.  연결된 Synology NAS에 "seaburysolutionskorea" 라고 적혔 있으면 다음버튼을 누르시고 빈칸으로 되어 있으면  "seaburysolutionskorea" 을 적고 다음버튼을 클릭하시면 됩니다. 5. My Drive/Team Drive의 폴더 동기화 선택 확인 후 다음 버튼을 클릭합니다. 6.  연필 아이콘을 클릭합니다.(연필 아이콘이 안보이실 아래 아이콘 위치에 마우스를 옴기면 생성됩니다.) 7. 팀 폴더 왼쪽에 화살표를 클릭하면 아래와 같이 펴지며, 작업용을 클릭 후 확인 버튼을 크릭합니다. 8. Synology Drive 서버에 "/작업용"로 되어 있으면 로컬폴더 오른쪽에 연필 아이콘을 클릭합니다. 만약 "/작업용" 이 아니면 6.으로 돌아가서 다시 설정합니다. 9.아래와 같이 그림이 나오면, 1. 에서 생성한 작업 폴더 경로에 가서 해당 폴더를 클릭합니다. 그리고 빈"SynologyDrive"폴더 만들기 앞에 있는 체크박스를 해제 후 확인 버튼을 클릭합니다. 10. 아래 이미자와 같이 설정한 작업용 폴더 경로가 맞으면 완료 버튼을 누르시면 됩니다. ...