Giter Club home page Giter Club logo

team-project-team07's Introduction

Colorbindness Test Generator

team-project-team07 created by GitHub Classroom

Introductions

Necessity

Introductions (Korean)

About the project

  1. 사용자로부터 이미지를 입력받아 한식색각검사표의 종류에 따라 원 도트 형태의 색각검사표로 변환해주는 프로그램
  2. 기존 프로젝트의 한정된 변환방법과 달리 우리나라에서 사용하는 한식색각검사표의 모든 지표로 변환가능 (예. <제 4표> : 정상자-정상인식, 색각이상자-다른 숫자로 인식, 색맹자-인식불가능)
  3. 제 1표 ~ 제 21표까지 총 21가지 방법으로 변환 가능
  4. 전색맹, 적록색맹(제1색약, 제2색약), 청황색맹(제3색약) 판별 가능

Necessity

  1. 기존의 색각검사 방식은 숫자, 모양 등 형식이 정해져 있어 복수의 검사로 인해 익숙해진 피검자의 경우 검사 신뢰도가 하락할 수 있다.
  2. 만약 사용자가 직접 텍스트/이미지를 입력하여 새로운 검사표를 만들 수 있다면 Test Pool이 한정되지 않아 피검자의 검사 결과에 대한 신뢰도를 향상시킬 수 있을 것이다.
  3. 항공, 소방 등 색약/색맹의 여부 확인이 중요한 분야에 대한 기여를 기대할 수 있다.

Example Flow

과정 이미지
1. 이미지 입력
2. 지표의 타입 지정 ex. 제 1표
3. Generating

이해를 돕기 위한 참고용 표로 지표의 종류에 따라 달라질 수 있음.

Code Manual

We can generate a image about given target number & input numbers(or characters)

Before Start (Packages)

  1. You have to install it.
  pip install scipy
  1. if you have this error >> ModuleNotFoundError: No module named 'PIL'
  pip install pillow
  1. For GUI, you have to install PyQt5. (Only in python3.x)
  pip install PyQt5
  1. Before start, you have to include images you want in the directory.

How to use

Generate a Image.

 python colorblindness.py
 target : 

You can choose 1 to 21 for indicators about colorblindness testing.

 first character : 

You can put 0 ~ 9 or A ~ Z for the main character(number).

 first overlap character : 

You can put 0 ~ 9 or A ~ Z for the confusing character(number).

 (Optional) second character : 

This option appears when program needs double figures. You can use as same as first image.

 (Optional) second overlap character : 

This option appears when program needs double figures. You can use as same as overlap image.

 target(지표) 별 유의사항
  1. 한 자리 숫자(문자) 사용 : 2, 4, 6, 8, 9표
  2. 두 자리 숫자(문자) 사용 : 1, 3, 5, 7, 13~18표
  3. 곡선 경로 사용 : 11, 12, 19, 20, 21표

Under development

  1. GUI Programming - It's released now.
  2. Make a generate algorithm adjustment.
  3. Ajusting color values.

License

GNU General Public License v3.0

team-project-team07's People

Contributors

friedcoke avatar hoonv avatar proton214 avatar jeongjinyeong avatar njw1204 avatar borybory avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

Forkers

proton214

team-project-team07's Issues

create 버튼을 다시 눌렀을때 이미지 생성이 되지 않

08에서7B로 변경했는데 변환이 안됨

처음에 python colorblindenss.py를 실행하자마자
first character에는 sample_input/0.png 파일을 넣고
second character에는 sample_input/8.png 파일을 넣었습니다.
오른쪽에 08 이미지가 잘 생성되었습니다.

이후에
first character에는 sample_input/7.png 파일을 넣고
second character에는 sample_input/B.png 파일을 넣었습니다.
그리고 create버튼을 눌렀지만 이미지는 변화가 없었습니다.

처음부터 7B입력하면 잘 나옴
위 사진은 처음부터 7.png와 B.png를 넣었을때 나오는 결과입니다.

이미지를 한번 생성 한 후에 create버튼을 비활성화 시키던지
create버튼을 또 누르면 다른 이미지를 생성할 수 있도록 변경해야 할 것 같습니다.

다른방식의 Input 관련

input을 사진파일 말고 직접입력으로 넣어주는 방법도 추가가 된다면 괜찮을 것 같네요

readme에 있는것 외에도 설치해야 할 항목들이 있습니다.

readme에 적혀있는 대로 설치를 한 후에 colorblindness.py를 실행했지만 오류가 났습니다.
pip install scipy

  1. PyQt5가 없어서 설치를 했습니다.
    ModuleNotFoundError: No module named 'PyQt5'
    pip install PyQt5

  2. PIL가 없어서 설치를 했습니다.
    ModuleNotFoundError: No module named 'PIL'
    pip install image

readme.md 파일에 1번과 2번과 같은 내용도 추가를 하면 좋을것 같습니다.

시험 실행시 오류

구글 colab의 우분투 18.04, 파이썬 3.6 환경에서 실행했습니다.

  1. Readme의 How to use의 샘플 실행화면대로 명령어를 입력했지만 시스템상에서 다시 입력을 받았습니다. 둘 중 하나로 통일이 필요합니다.
    1

  2. 결과 이미지 저장 위치가 sample_output 폴더 안이어서, 해당 경로가 존재하지 않기 때문에 처음 실행 시 로딩을 다 기다린 후에 한번은 에러메세지를 보게됩니다. 저장 경로를 바꾸어 해결했지만, 수정이 필요합니다.

labels: bug

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.