{"action":"created","comment":{"url":"https://api.github.com/repos/albu/albumentations/pulls/comments/239749267","pull_request_review_id":182618484,"id":239749267,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzOTc0OTI2Nw==","diff_hunk":"@@ -220,6 +220,17 @@ def random_crop(img, crop_height, crop_width, h_start, w_start):\n     img = img[y1:y2, x1:x2]\n     return img\n \n+def simple_crop_coordinates(img, x_min, x_max, y_min, y_max):","path":"albumentations/augmentations/functional.py","position":4,"original_position":4,"commit_id":"ffde76202a196d33f569ec69e94f66903a089f79","original_commit_id":"ffde76202a196d33f569ec69e94f66903a089f79","user":{"login":"LinaShiryaeva","id":8642759,"node_id":"MDQ6VXNlcjg2NDI3NTk=","avatar_url":"https://avatars0.githubusercontent.com/u/8642759?v=4","gravatar_id":"","url":"https://api.github.com/users/LinaShiryaeva","html_url":"https://github.com/LinaShiryaeva","followers_url":"https://api.github.com/users/LinaShiryaeva/followers","following_url":"https://api.github.com/users/LinaShiryaeva/following{/other_user}","gists_url":"https://api.github.com/users/LinaShiryaeva/gists{/gist_id}","starred_url":"https://api.github.com/users/LinaShiryaeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LinaShiryaeva/subscriptions","organizations_url":"https://api.github.com/users/LinaShiryaeva/orgs","repos_url":"https://api.github.com/users/LinaShiryaeva/repos","events_url":"https://api.github.com/users/LinaShiryaeva/events{/privacy}","received_events_url":"https://api.github.com/users/LinaShiryaeva/received_events","type":"User","site_admin":false},"body":"\"consider adding same method for bounding boxes\" - what does this method should do?","created_at":"2018-12-07T09:51:10Z","updated_at":"2018-12-07T09:51:11Z","html_url":"https://github.com/albu/albumentations/pull/139#discussion_r239749267","pull_request_url":"https://api.github.com/repos/albu/albumentations/pulls/139","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/albu/albumentations/pulls/comments/239749267"},"html":{"href":"https://github.com/albu/albumentations/pull/139#discussion_r239749267"},"pull_request":{"href":"https://api.github.com/repos/albu/albumentations/pulls/139"}},"in_reply_to_id":239536011},"pull_request":{"url":"https://api.github.com/repos/albu/albumentations/pulls/139","id":236590184,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2NTkwMTg0","html_url":"https://github.com/albu/albumentations/pull/139","diff_url":"https://github.com/albu/albumentations/pull/139.diff","patch_url":"https://github.com/albu/albumentations/pull/139.patch","issue_url":"https://api.github.com/repos/albu/albumentations/issues/139","number":139,"state":"open","locked":false,"title":"add RandomCenteredCrop augmentation that depends on the input parameters","user":{"login":"LinaShiryaeva","id":8642759,"node_id":"MDQ6VXNlcjg2NDI3NTk=","avatar_url":"https://avatars0.githubusercontent.com/u/8642759?v=4","gravatar_id":"","url":"https://api.github.com/users/LinaShiryaeva","html_url":"https://github.com/LinaShiryaeva","followers_url":"https://api.github.com/users/LinaShiryaeva/followers","following_url":"https://api.github.com/users/LinaShiryaeva/following{/other_user}","gists_url":"https://api.github.com/users/LinaShiryaeva/gists{/gist_id}","starred_url":"https://api.github.com/users/LinaShiryaeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LinaShiryaeva/subscriptions","organizations_url":"https://api.github.com/users/LinaShiryaeva/orgs","repos_url":"https://api.github.com/users/LinaShiryaeva/repos","events_url":"https://api.github.com/users/LinaShiryaeva/events{/privacy}","received_events_url":"https://api.github.com/users/LinaShiryaeva/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-06T16:24:22Z","updated_at":"2018-12-07T09:51:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f3ce061b3fb23724e677926a5f314de1e780d126","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/albu/albumentations/pulls/139/commits","review_comments_url":"https://api.github.com/repos/albu/albumentations/pulls/139/comments","review_comment_url":"https://api.github.com/repos/albu/albumentations/pulls/comments{/number}","comments_url":"https://api.github.com/repos/albu/albumentations/issues/139/comments","statuses_url":"https://api.github.com/repos/albu/albumentations/statuses/ffde76202a196d33f569ec69e94f66903a089f79","head":{"label":"LinaShiryaeva:master","ref":"master","sha":"ffde76202a196d33f569ec69e94f66903a089f79","user":{"login":"LinaShiryaeva","id":8642759,"node_id":"MDQ6VXNlcjg2NDI3NTk=","avatar_url":"https://avatars0.githubusercontent.com/u/8642759?v=4","gravatar_id":"","url":"https://api.github.com/users/LinaShiryaeva","html_url":"https://github.com/LinaShiryaeva","followers_url":"https://api.github.com/users/LinaShiryaeva/followers","following_url":"https://api.github.com/users/LinaShiryaeva/following{/other_user}","gists_url":"https://api.github.com/users/LinaShiryaeva/gists{/gist_id}","starred_url":"https://api.github.com/users/LinaShiryaeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LinaShiryaeva/subscriptions","organizations_url":"https://api.github.com/users/LinaShiryaeva/orgs","repos_url":"https://api.github.com/users/LinaShiryaeva/repos","events_url":"https://api.github.com/users/LinaShiryaeva/events{/privacy}","received_events_url":"https://api.github.com/users/LinaShiryaeva/received_events","type":"User","site_admin":false},"repo":{"id":160698833,"node_id":"MDEwOlJlcG9zaXRvcnkxNjA2OTg4MzM=","name":"albumentations","full_name":"LinaShiryaeva/albumentations","private":false,"owner":{"login":"LinaShiryaeva","id":8642759,"node_id":"MDQ6VXNlcjg2NDI3NTk=","avatar_url":"https://avatars0.githubusercontent.com/u/8642759?v=4","gravatar_id":"","url":"https://api.github.com/users/LinaShiryaeva","html_url":"https://github.com/LinaShiryaeva","followers_url":"https://api.github.com/users/LinaShiryaeva/followers","following_url":"https://api.github.com/users/LinaShiryaeva/following{/other_user}","gists_url":"https://api.github.com/users/LinaShiryaeva/gists{/gist_id}","starred_url":"https://api.github.com/users/LinaShiryaeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LinaShiryaeva/subscriptions","organizations_url":"https://api.github.com/users/LinaShiryaeva/orgs","repos_url":"https://api.github.com/users/LinaShiryaeva/repos","events_url":"https://api.github.com/users/LinaShiryaeva/events{/privacy}","received_events_url":"https://api.github.com/users/LinaShiryaeva/received_events","type":"User","site_admin":false},"html_url":"https://github.com/LinaShiryaeva/albumentations","description":"fast image augmentation library and easy to use wrapper around other libraries","fork":true,"url":"https://api.github.com/repos/LinaShiryaeva/albumentations","forks_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/forks","keys_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/teams","hooks_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/hooks","issue_events_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/issues/events{/number}","events_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/events","assignees_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/assignees{/user}","branches_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/branches{/branch}","tags_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/tags","blobs_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/git/refs{/sha}","trees_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/statuses/{sha}","languages_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/languages","stargazers_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/stargazers","contributors_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/contributors","subscribers_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/subscribers","subscription_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/subscription","commits_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/commits{/sha}","git_commits_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/git/commits{/sha}","comments_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/comments{/number}","issue_comment_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/issues/comments{/number}","contents_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/contents/{+path}","compare_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/merges","archive_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/downloads","issues_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/issues{/number}","pulls_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/pulls{/number}","milestones_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/milestones{/number}","notifications_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/labels{/name}","releases_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/releases{/id}","deployments_url":"https://api.github.com/repos/LinaShiryaeva/albumentations/deployments","created_at":"2018-12-06T16:04:17Z","updated_at":"2018-12-06T16:21:59Z","pushed_at":"2018-12-06T16:21:57Z","git_url":"git://github.com/LinaShiryaeva/albumentations.git","ssh_url":"git@github.com:LinaShiryaeva/albumentations.git","clone_url":"https://github.com/LinaShiryaeva/albumentations.git","svn_url":"https://github.com/LinaShiryaeva/albumentations","homepage":"https://arxiv.org/abs/1809.06839","size":75865,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"albu:master","ref":"master","sha":"ffe8bdf4cb82380a586201774e39bcf639d1b0d2","user":{"login":"albu","id":1128788,"node_id":"MDQ6VXNlcjExMjg3ODg=","avatar_url":"https://avatars0.githubusercontent.com/u/1128788?v=4","gravatar_id":"","url":"https://api.github.com/users/albu","html_url":"https://github.com/albu","followers_url":"https://api.github.com/users/albu/followers","following_url":"https://api.github.com/users/albu/following{/other_user}","gists_url":"https://api.github.com/users/albu/gists{/gist_id}","starred_url":"https://api.github.com/users/albu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albu/subscriptions","organizations_url":"https://api.github.com/users/albu/orgs","repos_url":"https://api.github.com/users/albu/repos","events_url":"https://api.github.com/users/albu/events{/privacy}","received_events_url":"https://api.github.com/users/albu/received_events","type":"User","site_admin":false},"repo":{"id":136265021,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYyNjUwMjE=","name":"albumentations","full_name":"albu/albumentations","private":false,"owner":{"login":"albu","id":1128788,"node_id":"MDQ6VXNlcjExMjg3ODg=","avatar_url":"https://avatars0.githubusercontent.com/u/1128788?v=4","gravatar_id":"","url":"https://api.github.com/users/albu","html_url":"https://github.com/albu","followers_url":"https://api.github.com/users/albu/followers","following_url":"https://api.github.com/users/albu/following{/other_user}","gists_url":"https://api.github.com/users/albu/gists{/gist_id}","starred_url":"https://api.github.com/users/albu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albu/subscriptions","organizations_url":"https://api.github.com/users/albu/orgs","repos_url":"https://api.github.com/users/albu/repos","events_url":"https://api.github.com/users/albu/events{/privacy}","received_events_url":"https://api.github.com/users/albu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/albu/albumentations","description":"fast image augmentation library and easy to use wrapper around other libraries","fork":false,"url":"https://api.github.com/repos/albu/albumentations","forks_url":"https://api.github.com/repos/albu/albumentations/forks","keys_url":"https://api.github.com/repos/albu/albumentations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/albu/albumentations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/albu/albumentations/teams","hooks_url":"https://api.github.com/repos/albu/albumentations/hooks","issue_events_url":"https://api.github.com/repos/albu/albumentations/issues/events{/number}","events_url":"https://api.github.com/repos/albu/albumentations/events","assignees_url":"https://api.github.com/repos/albu/albumentations/assignees{/user}","branches_url":"https://api.github.com/repos/albu/albumentations/branches{/branch}","tags_url":"https://api.github.com/repos/albu/albumentations/tags","blobs_url":"https://api.github.com/repos/albu/albumentations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/albu/albumentations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/albu/albumentations/git/refs{/sha}","trees_url":"https://api.github.com/repos/albu/albumentations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/albu/albumentations/statuses/{sha}","languages_url":"https://api.github.com/repos/albu/albumentations/languages","stargazers_url":"https://api.github.com/repos/albu/albumentations/stargazers","contributors_url":"https://api.github.com/repos/albu/albumentations/contributors","subscribers_url":"https://api.github.com/repos/albu/albumentations/subscribers","subscription_url":"https://api.github.com/repos/albu/albumentations/subscription","commits_url":"https://api.github.com/repos/albu/albumentations/commits{/sha}","git_commits_url":"https://api.github.com/repos/albu/albumentations/git/commits{/sha}","comments_url":"https://api.github.com/repos/albu/albumentations/comments{/number}","issue_comment_url":"https://api.github.com/repos/albu/albumentations/issues/comments{/number}","contents_url":"https://api.github.com/repos/albu/albumentations/contents/{+path}","compare_url":"https://api.github.com/repos/albu/albumentations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/albu/albumentations/merges","archive_url":"https://api.github.com/repos/albu/albumentations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/albu/albumentations/downloads","issues_url":"https://api.github.com/repos/albu/albumentations/issues{/number}","pulls_url":"https://api.github.com/repos/albu/albumentations/pulls{/number}","milestones_url":"https://api.github.com/repos/albu/albumentations/milestones{/number}","notifications_url":"https://api.github.com/repos/albu/albumentations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/albu/albumentations/labels{/name}","releases_url":"https://api.github.com/repos/albu/albumentations/releases{/id}","deployments_url":"https://api.github.com/repos/albu/albumentations/deployments","created_at":"2018-06-06T03:10:50Z","updated_at":"2018-12-07T09:05:39Z","pushed_at":"2018-12-07T07:36:28Z","git_url":"git://github.com/albu/albumentations.git","ssh_url":"git@github.com:albu/albumentations.git","clone_url":"https://github.com/albu/albumentations.git","svn_url":"https://github.com/albu/albumentations","homepage":"https://arxiv.org/abs/1809.06839","size":75897,"stargazers_count":1434,"watchers_count":1434,"language":"Jupyter Notebook","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":166,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":166,"open_issues":11,"watchers":1434,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/albu/albumentations/pulls/139"},"html":{"href":"https://github.com/albu/albumentations/pull/139"},"issue":{"href":"https://api.github.com/repos/albu/albumentations/issues/139"},"comments":{"href":"https://api.github.com/repos/albu/albumentations/issues/139/comments"},"review_comments":{"href":"https://api.github.com/repos/albu/albumentations/pulls/139/comments"},"review_comment":{"href":"https://api.github.com/repos/albu/albumentations/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/albu/albumentations/pulls/139/commits"},"statuses":{"href":"https://api.github.com/repos/albu/albumentations/statuses/ffde76202a196d33f569ec69e94f66903a089f79"}},"author_association":"NONE"}}
{"actor":{"display_login":"LinaShiryaeva"}}