Hi, I’m new in cmucam5 and intend to detect small area of picture via device and then connect that to the stepper motor. Now, how can I process captured image? Is it possible to process image directly via cmucam5 or I should connect it to the arduino? If any answer is correct please help me to start step by step. Is there any suitable document? thanks.
Hello David,
Pixy is good at detecting object based on color cues. What are you trying to detect? If it has a specific color (e.g. red, purple, blue, orange, etc) Pixy will be able to detect it.
Using Pixy with Arduino is a great way to start using Pixy, and the Arduino has motor controller shields for controlling stepper motors, so this might be a good place to start.
Hope this helps!
Edward
Hello Edward,
Thanks for your answer, But I want cmucam to detect a special line that in normal camera I can find that line with image processing library. this line is almost black and with color tracking I couldn’t give good results, So how can I use some image processing functions c++ language.
Regards.
Hello David,
If you are using a Raspberry Pi (for example) and USB communications you can try to process raw frames that come from Pixy. Otherwise, it sounds like you will need to develop some customized firmware. We can help you get started with firmware development if you’re interested.
Edward
Hi Edward,
Thanks for the reply, as I think it’s better for me to start new firmware developing. Is there any document to show how can edit firmware?
Otherwise, please help me to start firmware developing.
Thanks in advance
Hello David, I just added you to the mailing list.
Edward
Hi Edvard,
thanks for your reply.
I downloaded the latest version of pixy firmware from this address : https://github.com/charmedlabs/pixy and based on Building Pixy Firmware page (http://cmucam.org/projects/cmucam5/wiki/Building_Pixy_Firmware) which has pointed to open video_m4_m0.uvmpw with keil 4, I didn’t find any file with this name video_m4_m0.uvmpw. instead of I found main_m4.uvmpw project (with searching *.uvmpw files) and opened this project. but it just opened some files as i2c.cpp or … which you can see in attachments. But based help page I should find 4 project as video, m0, libpixy_m0, libpixy_m4 So I couldn’t build the project. please help me to rebuild the pixy Firmware.
regards.
Hello David,
Do you have a full license for Keil? Unless you have a full license, you won’t be able to build Pixy’s firmware (in Keil).
The Firmware SDK mailing list is based on a beta version of the firmware that compiles under LPCXpresso, which is GCC based. It has a free license. I’d recommend it, assuming you don’t have Keil license. Did you receive the invitation email?
Edward
Hi Edward,
Yes I have received the invitation email and confirmed that. I don’t have keil full license But in my university I have some access to this software and I used the general computer for this purpose. Now please help me to compile via Keil and please answer my lase question.
regards.
Hello David,
There were some changes to the firmware recently that weren’t updated in the wiki:
http://cmucam.org/projects/cmucam5/wiki/Building_Pixy_Firmware
But the updates to the wiki have been made. Please give it another try with the revised instructions.
Edward