.. meta:: :keywords: CV2 .. role:: raw-html(raw) :format: html cv2_puttext ============================= 이미지에 텍스트를 입력한다. 입력 슬롯 --------- * **source** * **text** 출력 슬롯 --------- * **result** 속성 목록 --------- * **x** +-----------------+-------+----------+---------------+ | Rule + Type + Required + Default value | +=================+=======+==========+===============+ | read_and_write + int + True + 0 | +-----------------+-------+----------+---------------+ * **y** +-----------------+-------+----------+---------------+ | Rule + Type + Required + Default value | +=================+=======+==========+===============+ | read_and_write + int + True + 0 | +-----------------+-------+----------+---------------+ * **Font Type** +-----------------+-------+----------+---------------+ | Rule + Type + Required + Default value | +=================+=======+==========+===============+ | read_and_write + str + True + HERSHEY_PLAIN | +-----------------+-------+----------+---------------+ 폰트의 종류. * **Font scale** +-----------------+-------+----------+---------------+ | Rule + Type + Required + Default value | +=================+=======+==========+===============+ | read_and_write + int + True + 2 | +-----------------+-------+----------+---------------+ 폰트의 크기 * **Text color** +-----------------+-------+----------+---------------+ | Rule + Type + Required + Default value | +=================+=======+==========+===============+ | read_and_write + color + True + #000000 | +-----------------+-------+----------+---------------+ 텍스트의 색상. * **Font thickness** +-----------------+-------+----------+---------------+ | Rule + Type + Required + Default value | +=================+=======+==========+===============+ | read_and_write + int + True + 1 | +-----------------+-------+----------+---------------+ 폰트의 두께.