{"action":"created","issue":{"url":"https://api.github.com/repos/jrosebr1/color_transfer/issues/2","repository_url":"https://api.github.com/repos/jrosebr1/color_transfer","labels_url":"https://api.github.com/repos/jrosebr1/color_transfer/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jrosebr1/color_transfer/issues/2/comments","events_url":"https://api.github.com/repos/jrosebr1/color_transfer/issues/2/events","html_url":"https://github.com/jrosebr1/color_transfer/issues/2","id":139638183,"number":2,"title":"Issue with images","user":{"login":"Daguerreo","id":6747152,"avatar_url":"https://avatars.githubusercontent.com/u/6747152?v=3","gravatar_id":"","url":"https://api.github.com/users/Daguerreo","html_url":"https://github.com/Daguerreo","followers_url":"https://api.github.com/users/Daguerreo/followers","following_url":"https://api.github.com/users/Daguerreo/following{/other_user}","gists_url":"https://api.github.com/users/Daguerreo/gists{/gist_id}","starred_url":"https://api.github.com/users/Daguerreo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daguerreo/subscriptions","organizations_url":"https://api.github.com/users/Daguerreo/orgs","repos_url":"https://api.github.com/users/Daguerreo/repos","events_url":"https://api.github.com/users/Daguerreo/events{/privacy}","received_events_url":"https://api.github.com/users/Daguerreo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-09T17:01:24Z","updated_at":"2016-03-09T18:51:57Z","closed_at":null,"body":"Line 26\r\ntarget = cv2.cvtColor(target, cv2.COLOR_BGR2LAB).astype(\"float32\")\r\n\r\nwhile trying to use differents jpg, raise error during the conversion to float32:\r\n\r\n target = cv2.cvtColor(target, cv2.COLOR_BGR2LAB).astype(\"float32\")\r\ncv2.error: ..\\..\\..\\..\\opencv\\modules\\imgproc\\src\\color.cpp:4118: error: (-215) (scn == 3 || scn == 4) && (depth == CV_8U || depth == CV_32F) in function cv::cvtColor"},"comment":{"url":"https://api.github.com/repos/jrosebr1/color_transfer/issues/comments/194448453","html_url":"https://github.com/jrosebr1/color_transfer/issues/2#issuecomment-194448453","issue_url":"https://api.github.com/repos/jrosebr1/color_transfer/issues/2","id":194448453,"user":{"login":"jrosebr1","id":759645,"avatar_url":"https://avatars.githubusercontent.com/u/759645?v=3","gravatar_id":"","url":"https://api.github.com/users/jrosebr1","html_url":"https://github.com/jrosebr1","followers_url":"https://api.github.com/users/jrosebr1/followers","following_url":"https://api.github.com/users/jrosebr1/following{/other_user}","gists_url":"https://api.github.com/users/jrosebr1/gists{/gist_id}","starred_url":"https://api.github.com/users/jrosebr1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrosebr1/subscriptions","organizations_url":"https://api.github.com/users/jrosebr1/orgs","repos_url":"https://api.github.com/users/jrosebr1/repos","events_url":"https://api.github.com/users/jrosebr1/events{/privacy}","received_events_url":"https://api.github.com/users/jrosebr1/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T18:51:57Z","updated_at":"2016-03-09T18:51:57Z","body":"It sounds like `target` (and also very likely `source`) were not properly loaded from disk. Double check your paths to these images when you specify them via command line argument."}}