GSOC 2015: Webcam Sprite Maker for Students

117 views
Skip to first unread message

shubham kumar

unread,
Mar 19, 2015, 5:24:42 PM3/19/15
to pencilcode-...@googlegroups.com
Hi,

I am Shubham Dokania, I am a 2nd year B.Tech student at Delhi Technological University, India. I am interested in working on the idea of Webcam sprite maker in GSoC 2015 under your organization. I have prior experience in JavaScript and I've been learning in the field of machine vision(Image Processing) and machine learning since one year.

I am also working on a sample code for this project. Please provide some assistance or help on what should I do to submit my proposal under this topic.

Thanks,
Shubham Dokania

David Bau

unread,
Mar 20, 2015, 2:28:54 PM3/20/15
to pencilcode-...@googlegroups.com
Hello!  On the ideas.pencilcode.net page, most of the projects have a recommended "pre-project" which is a chance for you to get familiar with the problem and have some preliminary code you can submit as part of your GSoC project proposal.

The idea of the proposal is to make a project proposal that is both awesome and achievable.  So the more detail and depth (and/or actual running code) you can have in the proposal, the more compelling it will be.

What would be a good pre-project here?  A seed pre-project idea is suggested on the ideas page; a compelling pre-project might actually start integration with the pencilcode code (https://github.com/PencilCode/pencilcode) - for example, it might be terrufuc to fork the pencilcode code to add a "take a photo" link in a directory listing, that brings up a simple UI for taking a photo.

David

shubham kumar

unread,
Mar 23, 2015, 5:06:36 PM3/23/15
to pencilcode-...@googlegroups.com
Hi sir,

I have completed a simple application for taking a photo and doing some little functions in it. Now I am going to add it to the pencilCode code. I was setting up the server, and this is the error that I got in the Javascript console on running the devserver. I accessed the link /edit/first, I am able to write and edit the code, but I can run it.



DOMException {message: "Failed to execute 'replaceState' on 'History': A h…ent with origin 'http://pencilcode.net.dev:8008'.", name: "SecurityError", code: 18, stack: "Error: Failed to execute 'replaceState' on 'Histor…pencilcode.net.dev:8008/src/controller.js:1719:12", INDEX_SIZE_ERR: 1…}code: 18message: "Failed to execute 'replaceState' on 'History': A history state object with URL 'http://pencilcode.net.dev/home/first' cannot be created in a document with origin 'http://pencilcode.net.dev:8008'."name: "SecurityError"stack: "Error: Failed to execute 'replaceState' on 'History': A history state object with URL 'http://pencilcode.net.dev/home/first' cannot be created in a document with origin 'http://pencilcode.net.dev:8008'.↵    at Error (native)↵    at HTMLDivElement.<anonymous> (http://pencilcode.net.dev:8008/src/view.js:1138:28)↵    at Function.jQuery.extend.dequeue (http://pencilcode.net.dev:8008/lib/jquery.js:3924:7)↵    at HTMLDivElement.<anonymous> (http://pencilcode.net.dev:8008/lib/jquery.js:3966:13)↵    at Function.jQuery.extend.each (http://pencilcode.net.dev:8008/lib/jquery.js:374:23)↵    at jQuery.fn.jQuery.each (http://pencilcode.net.dev:8008/lib/jquery.js:139:17)↵    at jQuery.fn.extend.queue (http://pencilcode.net.dev:8008/lib/jquery.js:3959:9)↵    at Object.setPaneRunHtml (http://pencilcode.net.dev:8008/src/view.js:1125:17)↵    at http://pencilcode.net.dev:8008/src/controller.js:1719:12"__proto__: DOMException


Script from origin 'http://pencilcode.net.dev' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://pencilcode.net.dev:8008' is therefore not allowed access. 


(anonymous function)    view.js:1145
jQuery.extend.dequeue jquery.js:3924
(anonymous function) jquery.js:3966
jQuery.extend.each jquery.js:374
jQuery.fn.jQuery.each jquery.js:139
jQuery.fn.extend.queue jquery.js:3959
setPaneRunHtml view.js:1125
(anonymous function) controller.js


the image is attached as well
error.png

Siddhartha Sahai

unread,
Mar 23, 2015, 6:01:28 PM3/23/15
to pencilcode-...@googlegroups.com
Hey, this may be because the proxy setting to convert pencilcode.net.dev:8008 to pencilcode.net.dev isn't working. I had the same problem, go to your proxy settings and choose 'Use automatic configuration script' and set the address as 'http://127.0.0.1:8008/proxy.pac' when your devserver is running.

shubham kumar

unread,
Mar 23, 2015, 7:39:33 PM3/23/15
to pencilcode-...@googlegroups.com
Hi,

Thank you for your help! the server is running fine now.

Thanks,
Shubham Dokania

David Bau

unread,
Mar 24, 2015, 7:43:13 PM3/24/15
to shubham kumar, pencilcode-development
Great!  Thanks for helping each other,

David

--
You received this message because you are subscribed to the Google Groups "pencilcode-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pencilcode-develo...@googlegroups.com.
To post to this group, send email to pencilcode-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted

shubham kumar

unread,
Mar 25, 2015, 5:15:05 PM3/25/15
to pencilcode-...@googlegroups.com, skd....@gmail.com
Hi Sir!

I have also formed my proposal and added it on the google-melange website.
Here is the link: https://www.google-melange.com/gsoc/proposal/review/student/google/gsoc2015/shubham1810/5629499534213120?validated=True#

I will be updating this proposal and the code for this pre-project as well.

Please provide any reviews/suggestions.

Thanks,
Shubham Dokania

shubham kumar

unread,
Mar 27, 2015, 4:55:20 PM3/27/15
to pencilcode-...@googlegroups.com, skd....@gmail.com
HI Sir,

While I was going through my final proposal on the google-melange website, I noticed that the images are not shown/loaded properly on the website. So I also added my proposal in the additional information space. Please have a look at it to see my proposal completely. And should I edit my code on github now so that I can make small changes, and also add the face detection feature in the editor?

Thanks,
Shubham
Reply all
Reply to author
Forward
0 new messages