Новий інструмент захоплення#

The new grabbing tool include two parts: the code running in cmucam3 and the software running in PC. You should unzip «cmucam3.rar» and install it on your CMUcam3 first. And then you should download and un-rar «cmucam location.rar». You should be able to execute the software by double clicking on «cmucam location.exe».

Код, що працює в cmucam3, схожий на код проєкту cmucam2. Програмне забезпечення на ПК ґрунтується на Microsoft Visual C++ 6.0. Новий інструмент включає не лише базові функції в «cmucam frame grabber», але й деякі нові функції, як-от «save bmp picture to mmc card», «send bmp picture to pc». Деталі команд показано нижче:

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