{"action":"created","issue":{"url":"https://api.github.com/repos/space-concordia-robotics/robotics-prototype/issues/22","repository_url":"https://api.github.com/repos/space-concordia-robotics/robotics-prototype","labels_url":"https://api.github.com/repos/space-concordia-robotics/robotics-prototype/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/space-concordia-robotics/robotics-prototype/issues/22/comments","events_url":"https://api.github.com/repos/space-concordia-robotics/robotics-prototype/issues/22/events","html_url":"https://github.com/space-concordia-robotics/robotics-prototype/issues/22","id":306692902,"node_id":"MDU6SXNzdWUzMDY2OTI5MDI=","number":22,"title":"Users shall be able to view the camera feed","user":{"login":"PeterGhimself","id":19865282,"node_id":"MDQ6VXNlcjE5ODY1Mjgy","avatar_url":"https://avatars0.githubusercontent.com/u/19865282?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterGhimself","html_url":"https://github.com/PeterGhimself","followers_url":"https://api.github.com/users/PeterGhimself/followers","following_url":"https://api.github.com/users/PeterGhimself/following{/other_user}","gists_url":"https://api.github.com/users/PeterGhimself/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterGhimself/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterGhimself/subscriptions","organizations_url":"https://api.github.com/users/PeterGhimself/orgs","repos_url":"https://api.github.com/users/PeterGhimself/repos","events_url":"https://api.github.com/users/PeterGhimself/events{/privacy}","received_events_url":"https://api.github.com/users/PeterGhimself/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ZaynMuhammad","id":16903084,"node_id":"MDQ6VXNlcjE2OTAzMDg0","avatar_url":"https://avatars0.githubusercontent.com/u/16903084?v=4","gravatar_id":"","url":"https://api.github.com/users/ZaynMuhammad","html_url":"https://github.com/ZaynMuhammad","followers_url":"https://api.github.com/users/ZaynMuhammad/followers","following_url":"https://api.github.com/users/ZaynMuhammad/following{/other_user}","gists_url":"https://api.github.com/users/ZaynMuhammad/gists{/gist_id}","starred_url":"https://api.github.com/users/ZaynMuhammad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZaynMuhammad/subscriptions","organizations_url":"https://api.github.com/users/ZaynMuhammad/orgs","repos_url":"https://api.github.com/users/ZaynMuhammad/repos","events_url":"https://api.github.com/users/ZaynMuhammad/events{/privacy}","received_events_url":"https://api.github.com/users/ZaynMuhammad/received_events","type":"User","site_admin":false},"assignees":[{"login":"ZaynMuhammad","id":16903084,"node_id":"MDQ6VXNlcjE2OTAzMDg0","avatar_url":"https://avatars0.githubusercontent.com/u/16903084?v=4","gravatar_id":"","url":"https://api.github.com/users/ZaynMuhammad","html_url":"https://github.com/ZaynMuhammad","followers_url":"https://api.github.com/users/ZaynMuhammad/followers","following_url":"https://api.github.com/users/ZaynMuhammad/following{/other_user}","gists_url":"https://api.github.com/users/ZaynMuhammad/gists{/gist_id}","starred_url":"https://api.github.com/users/ZaynMuhammad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZaynMuhammad/subscriptions","organizations_url":"https://api.github.com/users/ZaynMuhammad/orgs","repos_url":"https://api.github.com/users/ZaynMuhammad/repos","events_url":"https://api.github.com/users/ZaynMuhammad/events{/privacy}","received_events_url":"https://api.github.com/users/ZaynMuhammad/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/space-concordia-robotics/robotics-prototype/milestones/1","html_url":"https://github.com/space-concordia-robotics/robotics-prototype/milestone/1","labels_url":"https://api.github.com/repos/space-concordia-robotics/robotics-prototype/milestones/1/labels","id":3382162,"node_id":"MDk6TWlsZXN0b25lMzM4MjE2Mg==","number":1,"title":"Sprint 1","description":"In this first sprint we will work towards completing:\r\n- Proof of concept of new GUI using flask #35\r\n- Modularizing manual motor control code into Motor class #24\r\n- Deciding on formats of input/output between python/arduino #24\r\n- working ROS model of our arm #36\r\n- Users shall be able to view camera feed #22\r\n- Users shall be able to save camera feed #23\r\n- Travis CI pytest setup #44","creator":{"login":"PeterGhimself","id":19865282,"node_id":"MDQ6VXNlcjE5ODY1Mjgy","avatar_url":"https://avatars0.githubusercontent.com/u/19865282?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterGhimself","html_url":"https://github.com/PeterGhimself","followers_url":"https://api.github.com/users/PeterGhimself/followers","following_url":"https://api.github.com/users/PeterGhimself/following{/other_user}","gists_url":"https://api.github.com/users/PeterGhimself/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterGhimself/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterGhimself/subscriptions","organizations_url":"https://api.github.com/users/PeterGhimself/orgs","repos_url":"https://api.github.com/users/PeterGhimself/repos","events_url":"https://api.github.com/users/PeterGhimself/events{/privacy}","received_events_url":"https://api.github.com/users/PeterGhimself/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":2,"state":"open","created_at":"2018-05-29T00:09:33Z","updated_at":"2018-07-07T01:17:10Z","due_on":"2018-07-06T07:00:00Z","closed_at":null},"comments":2,"created_at":"2018-03-20T01:14:28Z","updated_at":"2018-07-07T20:15:54Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Use cases:\r\n- 4.1.11 Enable camera feed\r\nThis is a button to allow the user to enable video stream. When enabled this also includes the action of allowing the camera to send the feed to the GUI application.\r\n- 4.1.12 Disable camera stream\r\nThis is a button to allow the user to disable video stream. This is useful since it allows the number of requests and data received to be reduced, which could improve performance when needed.\r\n- 4.1.15 Update camera FPS\r\nThe camera feed has the potential of causing performance issues due to the number of data being fed to the GUI application. To reduce this load decreasing frames per second will be necessary, This could make the image rendered a bit blurred but this will be OK."},"comment":{"url":"https://api.github.com/repos/space-concordia-robotics/robotics-prototype/issues/comments/403240429","html_url":"https://github.com/space-concordia-robotics/robotics-prototype/issues/22#issuecomment-403240429","issue_url":"https://api.github.com/repos/space-concordia-robotics/robotics-prototype/issues/22","id":403240429,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzI0MDQyOQ==","user":{"login":"bnduwi","id":32171245,"node_id":"MDQ6VXNlcjMyMTcxMjQ1","avatar_url":"https://avatars3.githubusercontent.com/u/32171245?v=4","gravatar_id":"","url":"https://api.github.com/users/bnduwi","html_url":"https://github.com/bnduwi","followers_url":"https://api.github.com/users/bnduwi/followers","following_url":"https://api.github.com/users/bnduwi/following{/other_user}","gists_url":"https://api.github.com/users/bnduwi/gists{/gist_id}","starred_url":"https://api.github.com/users/bnduwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnduwi/subscriptions","organizations_url":"https://api.github.com/users/bnduwi/orgs","repos_url":"https://api.github.com/users/bnduwi/repos","events_url":"https://api.github.com/users/bnduwi/events{/privacy}","received_events_url":"https://api.github.com/users/bnduwi/received_events","type":"User","site_admin":false},"created_at":"2018-07-07T20:15:54Z","updated_at":"2018-07-07T20:15:54Z","author_association":"COLLABORATOR","body":"Since we'll eventually switch to using Flask I started looking at how it can be done. Found this link: https://blog.miguelgrinberg.com/post/flask-video-streaming-revisited\r\nThe code for it on this github: https://github.com/miguelgrinberg/flask-video-streaming\r\n\r\nI tested it out and it was able to provide a camera feed in the browser.\r\n![image](https://user-images.githubusercontent.com/32171245/42414282-e7010bb4-81ff-11e8-9c71-0f3c71b0d8ee.png)\r\n\r\n![image](https://user-images.githubusercontent.com/32171245/42414294-2db0af7e-8200-11e8-95c6-8b949bb96183.png)\r\n\r\nAbove is view of running it using cmd since an environment variable has to be set to use opencv\r\ni.e: set CAMERA=opencv (in Windows) \r\n\r\nNext image shows viewing the feed in browser (note have to use 125.0.0.1 instead of feedback loop as mentioned in cmd image)\r\n\r\n"}}
{"actor":{"display_login":"bnduwi"}}