2
에서 키워드를 검색 할 수 없습니다.내가 PHP의 기본 기능을 사용하여 JPEG 파일의 키워드를 검색하기 위해 노력하고있어 이미지
많은 시도가 있었고 PEL과 같은 다른 라이브러리도있었습니다.
그리고 여기 exif_read_data($image, 'ANY_TAG', true);
함수의 출력입니다 : 여기
array(4) {
["FILE"]=>
array(6) {
["FileName"]=>
string(17) "casino-st1-01.jpg"
["FileDateTime"]=>
int(1483098243)
["FileSize"]=>
int(454913)
["FileType"]=>
int(2)
["MimeType"]=>
string(10) "image/jpeg"
["SectionsFound"]=>
string(19) "ANY_TAG, IFD0, EXIF"
}
["COMPUTED"]=>
array(5) {
["html"]=>
string(26) "width="4167" height="4167""
["Height"]=>
int(4167)
["Width"]=>
int(4167)
["IsColor"]=>
int(1)
["ByteOrderMotorola"]=>
int(1)
}
["IFD0"]=>
array(4) {
["ImageDescription"]=>
string(58) "playing card icon illustration isolated vector sign symbol"
["Orientation"]=>
int(1)
["Software"]=>
string(35) "Adobe Illustrator CC 2015 (Windows)"
["DateTime"]=>
string(19) "2016:12:15 08:30:58"
}
["EXIF"]=>
array(2) {
["ExifVersion"]=>
string(4) "0221"
["ColorSpace"]=>
int(65535)
}
}
나는 우분투 16에 최신 PHP7 설치를 사용하고 내 PHP 설정은 다음으로 설정됩니다.
[exif]
exif.encode_unicode = UTF-8
exif.decode_unicode_motorola = UCS-2LE
잘못하고있는거야?
[이미지 데이터에서 키워드 찾기] (http://stackoverflow.com/questions/9050856/finding-keywords-in-image-data) – bansi