cmucam3-hardware (#1) - a new tool for cmucam3 to grab frame in nonenglish os (#202) - Message List
Because of the nonenglish OS,the "cmucam frame grabber" tool can not run successfully in my computer. So I have to develop a new tool to grab the image from the cmucam3. this new tool is ok in my computer and now is used by my classmate for one month.
This tool include two parts: the code in cmucam3 and the soft in PC. the code in cmucam3 is much similiar to the code of cmucam2 project.the soft in PC is based on Microsoft Visual C++ 6.0, as I am much familiar with VC 6.0 rather than VC net. The new tool includes not only the basic functions in "cmucam frame grabber", but also some new functions, such as "save bmp picture to mmc card","send bmp picture to pc". The command details show below :
return "" exit(mainly in virtual-cam)
debug "db" debug/no debug; save or not the result in mmc reset "rs" reset the camera get_version "gv" get version of code
capture_jpg "cj" send jpg picture to pc capture_bmp "cb" send bmp picture to pc save_bmp "sb" save bmp picture to mmc save_jpg "sj" save jpg picture to mmc save_ppm "sp" save ppm file to mmc
// same as cmucam2
hi_res "hr" set high/low resolution camera_reg "cr" set color space
down_sample "ds" down sample virtual_window "vw" virtual window auto_white_balance "wb" set auto white balance auto_exposure "ex" set auto exposure brightness "bn" set brightness contrast "ct" set contrast
This tool is done in my spare time, and it also has some problems. First,the display of the picture in pc is not so quick, when we choose "Loop" to capture the pictures continuously. I think that because using the picture controlX of VC for displaying. Secondly, It lose quite many frames when transmitting bmp picture from cmucam3 to pc, in fact ,it is about 5%. So I have to do a simply verity when transmitting bmp picture. The reason of losing so many frames I think is due to mscom controlX I used in program.If using CSerial class developed by MuMega? Technologies, I am sure it will work much better in this point.
By the way, my os is in chinese, and I do not know this tool whether work well in other language os. I think it is no problem, but it need test.
I am glad to share all the source code. I don't konw how to upload the code to this web. would you please give me some help?
-
Message #522
This sounds great. If you are comfortable with editing the wiki (its pretty easy) you can make a page and upload the source / executable. Otherwise, you can just email me a zip file (agr@andrew.cmu.edu) and I can post it. To make a page type: http://www.cmucam.org/wiki/<page-name> into your browser with <page-name> being the name of your program or the page you want to create. If that page doesn't exist (it shouldn't), then you will see the "Create this page" button. Click on the create button and you should get an editor that will let you create the page. You can add screen shots and instructions to the page.
After you create the page, you can post a link to it here and I can add it to the appropriate places (like downloads, software etc).
-Anthony
agr05/10/08 11:11:09 -
-
Message #524
http://www.cmucam.org/wiki/newtools
This pages has a little problom. The Attancements “cmucam3.rar” and “cmucam3.2.rar” are the same. you just need download anyone of them.
wxknudt05/12/08 22:25:20
-
-
Message #525
Thanks to download and test the tools. Please send me the test information and your advice so that I can improve them. my email is: wxk26605771@yahoo.com.cn
wxknudt05/13/08 05:25:35 -
-
Message #660
Will this be open source? Im intrested to use and learn from it.
Thanks and keep your work up!
xsocom09/24/08 04:55:36 -
-
Message #688
Yes,It is open I had updowned them in: http://www.cmucam.org/wiki/new%20grabbing%20tool
wxknudt10/05/08 05:18:03
-
-
