What a fantastic device... I bought the earlier one (white PCB) after seeing your first videos last year, and I really need to get back to that thing. Your tutorials/demonstrations are INCREDIBLE Derek. Thank you so much for taking the time to make these tremendous gifts.
I've watched a lot of your videos on the beaglebone, and I was very new to linux. Your videos have been extremely helpful in making me not so new and I just wanted to thank you for that.
Hi Derek, awesome tutorial and wanted to thank you for the outstanding offering. I wanted to add for the sake of Debian users is that I had to install v4l-utils using apt-get install and when I used the command v4l2-ctrl --all, it does not list the adjustable settings (ctrls?). I have to use the command v4l2-ctrl --list-ctrls and then I can see those settings. I noticed that the ctrls settings showed when you used the --all parameter which did not happen for me. Again, just adding this for Debian users. Thanks again Derek for everything you do!!
Thanks Balen, On the C920 - yes, you are right I checked the price in USD - however, if you are buying it outside the US, shop around (e.g. Amazon(UK) are selling it for £63.40 (~€75) inc. VAT and shipping).
Hi Derek, greetings from Cork, your videos are an excellent resource, well done. I did some oven CV on my iPhone app and I'm thinking of using the BBB as the heart of a hardware product, I hope your videos will keep my learning curve on track. Cheers!
Big thanks Derek for the excellent tutorial video! I was able to plug in the Logitech notebook pro webcam and run most of the sample on the BBB successfully.
Derek, your videos are wonderful. This, in special, is fantastic. I don't speak english very well, but the I can understand your explanation in this video. The UK subtitles was very helpful for me. Thanks!
Many thanks for the video Derek! This made getting up and running with video capture super easy while at the same time introducing the basic concepts. You #1.
Thanks. Yes, it has been on my mind... I hope it will be my next video in the series. However, I haven't found an easy way to explain it yet! It's a difficult topic that as far as I can see involves building the kernel just to get started... I will have blog posts on the topic soon.
Good question - It should be fine for this example as the current is fairly low. I'm not sure about the second part of your question though. You can actually communicate to the power controller (tps65217c) over I2C and set values; however, I think that the trip point is set to 1.3A for USB power - can you get to 2A - I don't know!
I just received the new Beaglebone Black book, "Bad to the Bone" by Stephen F. Barrett and Jason Kridner, and I noticed your name in the acknowledgments. Didn't know if you knew. Congratulations! Highly recommended book by the way, lots of good stuff in there on both Beagles.
Thank you soooo much mr Derek I want to. Try this and to open my eyes to robotic and video processing and so then I have a question do you think I can do this with a microscope caméra ? Or do I have to setup an autofocus before ?
Great video, I have been waiting for information on implementing hardware with the 3.8 kernel. I really hope you do some more videos on the Beaglebone Black highlighting how to set pinmodes and generally get around with the devicetree overlay in C/C++. I've seen all of your Beaglebone White videos love your stuff. Keep up the great work!
Hi, Appreciate your very informative videos on Linux and Beagleboard. In this video you are compiling OpenCV programs files with Beagleboard's built-in compiler tools and they work ok for simple programs. While trying to do remote debugging and larger development of OpenCV programs (with Ubuntu on PC) I got into many cross-compiling issues. Appreciate if you could share your experiences on these nagging issues in these developments using Linux and Beagleboard (assuming that all the cross-compilation tools for ARM are properly set in place) : The scenario is as follows : Compile and build OpenCV programs for ARM on Eclipse running under Ubuntu (on PC). Let's assume that all the ARM tool chain paths are properly configured. Download the built image to Beagleboard and remotely run and debug the code running on Beagleboard from Eclipse on PC. Issues that need to be addressed are : How do you build and deploy on to Beagleboard all the OpenCV's shared libraries (.so files). I tried static builds and deploy them but it doe n't work as these tools spit out plenty of errors. Is there a better way to build and link all these OpenCV modules so that one can deploy the built image on to Beagleboard and remotely debug them.(as you may agree Remote debugging is very important for larger and complex program development). There are no solutions in sight for these from OpenCV community. I know these are very complex issues not easily handled by these bits and pieces tools where one is left with practically no support or even proper documentation. Thanks in advance. anbu
Hi Derek, your videos are great, thank you for taking your time to create them and share them! I'm really new to embedded computing and the BBB, and have a question - is the device capable of booting quickly (5s or less) to a simple linux in order to display some GUI-type sensor info using the display cape? I'm looking into building a vehicle digi-dash type unit.
Congratulations for this video, manage this types of devices are a nightmare in Linux enviroments, specially when no official software exist for him, I will try to test in a Raspberry Pi, I don't discard the posibility of buy a Beagle Board :D
There is definitely GPU acceleration in the cloud9-gnome release for the Beaglebone White (you can see the gnome apps working with h/w acceleration in my QT LCD video 1); however, I haven't tried to work with any type of on-board visualization yet.
Excuse me, i´m trying to do a proyect by my self in which I has to send data in current time from my BeagleBone Black to my Android cellphone. Just like a simple aplication. Can you tell me how do you do? I am not asking to you for the code, just some references or information about making the connection betwen the two devices. Thanks c: and amazing work!!!
Hi Derek, how did you compile opencv for beaglebone. Can you explain this process as a short. For example -D CMAKE_TOOLCHAIN_FILE= ? what this flag should be? I download beaglebone toolchain
I used the csete/bonecam code as inspiration too, and now have dual C920's streaming via RTSP on a pandaboard. I am not using shell scripts, but rather implemented it in C and added proper properties for width/height/fps etc. Free to use ofcourse: github.com/limitz/PB_C920/tree/master/rtsp
Hi Derek, could you please tell me if you're using VirtualBox in Windows system or did you install a standalone Ubuntu system? I am having issues with getting USB connection with VirtualBox.
Hi Derek, first of all, thanks for the great tutorial. A question about openCV though. If I am to write my own code while using the openCV library, isn't 2GB on Beaglebone is insufficient to download, compile, and install the entire library?
Hi Derek, thanks for the video! I have a question: Can I use a tablet charger that has 5V 2A output to power the BBB through miniUSB instead of the barrel jack? Can the mini USB provide the same power as a barrel jack? Thanks and sorry for my bad english :)
Hi Derek, thanks for all tutorials first of all. I'm wondering is it possible to cross compile an OpenCV project on Eclipse IDE. I've tried for a couple of times but i couldn't succeed.
hi derek, i have a problem in choosing the camera for my final year project. im not sure the webcam c920e is suitable for detecting the moving object using the algorithm. is that logictech webcam is compatible with opencv ?
If you are not using a camera which has the h264 format then you want to edit the raw2mpeg4 script. You can do it with nano program and replace the h264 with MJPEG . I finally got a video working with the MJPEG compression but for some reason the YUYV gives me a selection timeout error.
Can you please shine some light on how you do this? My email is vivalajustin@gmail.com. I have a project for school due in 3 weeks and I am stuck on the video portion. I got the image grabber to work but the camera I have is the version below the one in the video and doesnt have the H264 format.
First of all: great tutorial thumbs up. Only way I know know to get 30fps out of the c920 in linux. And quite frankly as far as I willing to go in finding ways to do it, going to return the c920. It seems at the end of the day h264 1080.30 capture is irrelevant to practical CV when it can take in the order of hundreds of milliseconds to process a low res frame depending on the hardware. I commend Derek in his effort to get this working working to its full capability, but I question why. When does h264 1080.30fps become practical in a CV situation?
"When does h264 1080.30fps become practical in a CV situation?" When you want to stream full HD with minimum latency and image processing capability on client side.
Im using Windows with this tutorial and while im in the dev folder and type v4l2 and any of the other options it spits out an error that the command isnt available. Do I need to install certain drivers? I ran this tutorial at a school windows computer and it worked fine but not when I used the windows computer at my house. Should I use linux instead? I need help asap please
Hi Derek, could you please provide the link for the ubuntu image you are using in this video? I am trying to look for a ubuntu image with pre-installed opencv libraries.
this is cool and all and teaches you how to control the parameters of the c920, but if you're looking to do something really basic. just install libopencv-dev and install python-opencv then just plug your camera in and in python just do import cv2 cam=cv2.VideoCapture(0) frame = cam.read() that's it
Thanks. The standard Angstrom image comes complete with everything you need for OpenCV. If you wished to build it yourself I would recommend a cross-compile on your PC (see my blog for info on custom Angstrom builds). At the worst case, if you need to build on the BBB, you could mount a high capacity SD card and use that as the storage space.
Yes i also have code to display it. I do a lot of work in live streaming and currently working on adding sound (and syncing it to the video). I would suggest using C / GObject style programming in order to use the GStreamer libraries. However I also have C++ code that taps straight into ffmpeg, but this is a lot more work (AV3D project as an example of static video on my github, video.cpp)
Hi! I am going with the Logitech C_920 with Fluid Crystal technology and all the other bells and whistles. This will perform much better than the cheapo webcams I have now. Derek, I would like to construct a CMUcam5 Pixy using a Beagle_Bone. Thank you.
this video soo interested.. i want to try based with video,, but can i ask something? i want use linux and openCV,, but i dont know about linux series and openCV series.. can you tell me about your application series?
Hi, i read online that the C920 hardware-compressed h264 output bitrate is always 3.1Mbit/s, independently from the resolution. Eg, it's a 3.1Mb/s stream at Full HD and at 320x240. Can you confirm me this? I would like to purchase the camera if untrue. Thanks.
Can we get the bbb to report its own power consumption during a capture process. I'd think its possible to use a portable power charger plus solar panel to put this outside, or is a multimeter/mains plug the only way.
Hey derek I've been going over your video and I keep running into a problem whenever I capture video. When I run the capture program from around the 16 minute mark I get pauses when capturing video. When i run raw2mpg4 I get the error: [h264 @ 0x37a20] missing picture in access unit output.raw: could not find codec parameters Any idea what I missed?
Hello Mr Derek I am students and choose a project about beaglebone streaming video with Beaglebone. This Video is really useful for me. However, I would like to do more work on it. Similar like The robot arm assistant 'dummy'. I confused few questions on it. Can we use Automatic Speech Recognition system with Beaglebone to control the Robot arm? and this web camera can recieve the voice as well? If you time are free in your spare time, can I contact with you? Thank you
It appears OpenCV can be installed on Debain Linux as well and isn't restricted to Angstrom distributions. This is awesome mostly because I have no experience with Angstrom.
I get "Failed to open /dev/video0: Resource temporarily unavailable" when I try the command "v4l2-ctl --all" The C920 is on video3. I really don't know what the issue is and it's hard to find any information on it. Any help will be appreciated, Thank You.
Thanks for the great educating job done, awesome! trying to set video format resolution to 1920*1080 as described at 9:19, for some reason only 1280*720 is set after scilent execution of the command
On a stock Beaglebone black 4.4.9-ti-r25 (debian 8.4), I installed the libv4l-dev (due to the No package 'libv4l2' found), however is it normal during the building of the opencv example, to report lots of warnings about undefined references (lame_*)? It finishes with 'collect2: error: ld returned 1 exit status'. The problem above appears with compiling boneCV.cpp: g++ -O2 'pkg-config --cflags --libs opencv' boneCV.cpp -o boneCV this returns: g++: error: pkg-config --cflags --libs opencv: No such file or directory The Video4Linux frame capture program, and capture example program build with no errors.
install the v4l-utils package on your system. On a Debian-based system (this includes Ubuntu) it should be something like: sudo apt-get install v4l-utils typed in a terminal. Cheers.
Hi, Im thinking about opencv image processing for a canon eos 5d camera (or some other high end dslr camera) for uav, real time aerial image processing. can u point me in the right direction, what board do i use that has good interfaces(camera interfaces definitely), drivers, processing power & easy to learn. the board will be interfaced to a canon camera and and ardupilot autopilot board. the image processing code is pretty demanding machine learning.
My beaglebone black has Debian. I have tried "apt-get install libv4l-utils" but it cannot locate the package. ???? Is there a repository I need to point to? How?
trying to run gcc -O2 -Wall `pkg-config --cflags --libs libv4l2` capture.c -o capture getting error: Package libv4l2 was not found in the pkg-config search path. What did I miss?
hi, I got the same error while I was working with ubuntu on beaglebone black, first you got to install libv4l2, I used the command sudo apt-get install ivtv-utils then I ran the command gcc capture.c -lv4l2 -o capture
I am having trouble with running grabber.c. When using the follow command: gcc -02 -Wall 'pkg-config --cflags --libs libv4l2" grabber.c -o grabber My Terminal: ubuntu@ubuntu-armhf:~/boneCV$ gcc -O2 -Wall `pkg-config --cflags --libs libv4l2` grabber.c -o grabber Package libv4l2 was not found in the pkg-config search path. Perhaps you should add the directory containing `libv4l2.pc' to the PKG_CONFIG_PATH environment variable No package 'libv4l2' found grabber.c:27:21: fatal error: libv4l2.h: No such file or directory compilation terminated. How do I get the libv4l2 package and add to the PKG_CONFIG_PATH?
Thanks for the feedback limitznl. I have just posted on streaming video using RTP, UDP and UDP multicasting on my blog at derekmolloy.ie I will have to look into your code as it would be really nice to remove the piping and would give greater control. I am currently investigating playing the video using custom C++ code... did you have any luck in that? It would be really nice to have an end-to-end video server/client for streaming data for robotics applications (inc. stereo).
I watched your videos when I was starting off with embedded linux. You inspired me a lot. Now I look back. Each time I learn so many new things.
What a fantastic device... I bought the earlier one (white PCB) after seeing your first videos last year, and I really need to get back to that thing. Your tutorials/demonstrations are INCREDIBLE Derek. Thank you so much for taking the time to make these tremendous gifts.
I've watched a lot of your videos on the beaglebone, and I was very new to linux. Your videos have been extremely helpful in making me not so new and I just wanted to thank you for that.
Hi Derek, congrats for this great video. I love to keep watching your video tutorials
Hi Derek, awesome tutorial and wanted to thank you for the outstanding offering. I wanted to add for the sake of Debian users is that I had to install v4l-utils using apt-get install and when I used the command v4l2-ctrl --all, it does not list the adjustable settings (ctrls?). I have to use the command v4l2-ctrl --list-ctrls and then I can see those settings. I noticed that the ctrls settings showed when you used the --all parameter which did not happen for me. Again, just adding this for Debian users.
Thanks again Derek for everything you do!!
One of my favorite UA-cam educators. Fantastic Video. Clear, accurate, well done in every regard.
Great tutorial, Derek. It runs perfectly from start to end. Congrat. And thank you.
Thanks Balen, On the C920 - yes, you are right I checked the price in USD - however, if you are buying it outside the US, shop around (e.g. Amazon(UK) are selling it for £63.40 (~€75) inc. VAT and shipping).
Hi Derek, greetings from Cork, your videos are an excellent resource, well done. I did some oven CV on my iPhone app and I'm thinking of using the BBB as the heart of a hardware product, I hope your videos will keep my learning curve on track. Cheers!
Thanks, Derek.
Big thanks Derek for the excellent tutorial video! I was able to plug in the Logitech notebook pro webcam and run most of the sample on the BBB successfully.
Derek, your videos are wonderful. This, in special, is fantastic. I don't speak english very well, but the I can understand your explanation in this video. The UK subtitles was very helpful for me. Thanks!
Many thanks for the video Derek! This made getting up and running with video capture super easy while at the same time introducing the basic concepts. You #1.
Great video, I stumbled across this accidentally and it's exactly the kind of proof of concept I was looking for with the beagle bone! Thanks!
Derek you are great man i was desperately searching for tutorial and find you i m gonna subscribe, watch and like all you videos
Thanks. Yes, it has been on my mind... I hope it will be my next video in the series. However, I haven't found an easy way to explain it yet! It's a difficult topic that as far as I can see involves building the kernel just to get started... I will have blog posts on the topic soon.
Good question - It should be fine for this example as the current is fairly low. I'm not sure about the second part of your question though. You can actually communicate to the power controller (tps65217c) over I2C and set values; however, I think that the trip point is set to 1.3A for USB power - can you get to 2A - I don't know!
I just received the new Beaglebone Black book, "Bad to the Bone" by Stephen F. Barrett and Jason Kridner, and I noticed your name in the acknowledgments. Didn't know if you knew. Congratulations! Highly recommended book by the way, lots of good stuff in there on both Beagles.
Fantastic video Derek! Thank you very much for sharing. :)
Thank you soooo much mr Derek I want to. Try this and to open my eyes to robotic and video processing and so then I have a question do you think I can do this with a microscope caméra ? Or do I have to setup an autofocus before ?
Great video, I have been waiting for information on implementing hardware with the 3.8 kernel. I really hope you do some more videos on the Beaglebone Black highlighting how to set pinmodes and generally get around with the devicetree overlay in C/C++. I've seen all of your Beaglebone White videos love your stuff.
Keep up the great work!
Hi, it is the latest Angstrom distribution from the beaglebone website.
Hi Derek,thank you very much for your work.
Сan you tell me, please, if we need to connect 4 cameras, what is the best way to do this?
Hi,
Appreciate your very informative videos on Linux and Beagleboard.
In this video you are compiling OpenCV programs files with Beagleboard's built-in compiler tools and they work ok for simple programs.
While trying to do remote debugging and larger development of OpenCV programs (with Ubuntu on PC) I got into many cross-compiling issues. Appreciate if you could share your experiences on these nagging issues in these developments using Linux and Beagleboard (assuming that all the cross-compilation tools for ARM are properly set in place) :
The scenario is as follows :
Compile and build OpenCV programs for ARM on Eclipse running under Ubuntu (on PC). Let's assume that all the ARM tool chain paths are properly configured.
Download the built image to Beagleboard and remotely run and debug the code running on Beagleboard from Eclipse on PC.
Issues that need to be addressed are :
How do you build and deploy on to Beagleboard all the OpenCV's shared libraries (.so files).
I tried static builds and deploy them but it doe n't work as these tools spit out plenty of errors.
Is there a better way to build and link all these OpenCV modules so that one can deploy the built image on to Beagleboard and remotely debug them.(as you may agree Remote debugging is very important for larger and complex program development). There are no solutions in sight for these from OpenCV community.
I know these are very complex issues not easily handled by these bits and pieces tools where one is left with practically no support or even proper documentation.
Thanks in advance.
anbu
Thanks. Yes, it is a great book - highly recommended! I helped Steve and Jason with a review of the text on an early draft.
Seriously, excellent tutorial.
Hi Derek, your videos are great, thank you for taking your time to create them and share them! I'm really new to embedded computing and the BBB, and have a question - is the device capable of booting quickly (5s or less) to a simple linux in order to display some GUI-type sensor info using the display cape? I'm looking into building a vehicle digi-dash type unit.
i was searching for this only;thak you
Hey Derek, thanks for this video!
Congratulations for this video, manage this types of devices are a nightmare in Linux enviroments, specially when no official software exist for him, I will try to test in a Raspberry Pi, I don't discard the posibility of buy a Beagle Board :D
There is definitely GPU acceleration in the cloud9-gnome release for the Beaglebone White (you can see the gnome apps working with h/w acceleration in my QT LCD video 1); however, I haven't tried to work with any type of on-board visualization yet.
Dear Sir, what do you think about BBB, OpenCV, embedded Simple CV, and embedded QT cross compiler. Thank you and keep up the wonderful work!
Awesome video. I noticed the converted video is played faster than what was captured. Is there a way to solve this problem?
Excuse me, i´m trying to do a proyect by my self in which I has to send data in current time from my BeagleBone Black to my Android cellphone. Just like a simple aplication. Can you tell me how do you do? I am not asking to you for the code, just some references or information about making the connection betwen the two devices. Thanks c: and amazing work!!!
Hi Derek, how did you compile opencv for beaglebone. Can you explain this process as a short. For example -D CMAKE_TOOLCHAIN_FILE= ? what this flag should be? I download beaglebone toolchain
Amazing video, very thorough
Thanks! I am downloading it and will try it tomorrow.
I used the csete/bonecam code as inspiration too, and now have dual C920's streaming via RTSP on a pandaboard. I am not using shell scripts, but rather implemented it in C and added proper properties for width/height/fps etc. Free to use ofcourse: github.com/limitz/PB_C920/tree/master/rtsp
That is one sweet aquarium you got there friend:)
Hi Derek, could you please tell me if you're using VirtualBox in Windows system or did you install a standalone Ubuntu system? I am having issues with getting USB connection with VirtualBox.
Hi Derek, first of all, thanks for the great tutorial. A question about openCV though. If I am to write my own code while using the openCV library, isn't 2GB on Beaglebone is insufficient to download, compile, and install the entire library?
Hi Derek, thanks for the video!
I have a question: Can I use a tablet charger that has 5V 2A output to power the BBB through miniUSB instead of the barrel jack? Can the mini USB provide the same power as a barrel jack? Thanks and sorry for my bad english :)
Hi Derek, thanks for all tutorials first of all.
I'm wondering is it possible to cross compile an OpenCV project on Eclipse IDE. I've tried for a couple of times but i couldn't succeed.
hi derek, i have a problem in choosing the camera for my final year project. im not sure the webcam c920e is suitable for detecting the moving object using the algorithm. is that logictech webcam is compatible with opencv ?
If you are not using a camera which has the h264 format then you want to edit the
raw2mpeg4 script. You can do it with nano program and replace the h264 with MJPEG .
I finally got a video working with the MJPEG compression but for some reason the YUYV gives me a selection timeout error.
Can you please shine some light on how you do this? My email is vivalajustin@gmail.com. I have a project for school due in 3 weeks and I am stuck on the video portion. I got the image grabber to work but the camera I have is the version below the one in the video and doesnt have the H264 format.
thanks!!
Thank you Derek :) Very good video.
First of all: great tutorial thumbs up. Only way I know know to get 30fps out of the c920 in linux. And quite frankly as far as I willing to go in finding ways to do it, going to return the c920. It seems at the end of the day h264 1080.30 capture is irrelevant to practical CV when it can take in the order of hundreds of milliseconds to process a low res frame depending on the hardware. I commend Derek in his effort to get this working working to its full capability, but I question why. When does h264 1080.30fps become practical in a CV situation?
"When does h264 1080.30fps become practical in a CV situation?"
When you want to stream full HD with minimum latency and image processing capability on client side.
Im using Windows with this tutorial and while im in the dev folder and type v4l2 and any of the other options it spits out an error that the command isnt available. Do I need to install certain drivers? I ran this tutorial at a school windows computer and it worked fine but not when I used the windows computer at my house. Should I use linux instead? I need help asap please
Hi Derek, could you please provide the link for the ubuntu image you are using in this video? I am trying to look for a ubuntu image with pre-installed opencv libraries.
I'm not sure why. If it is the same camera that's not something I saw at all. I hadn't recorded more than a minute or two of video...
this is cool and all and teaches you how to control the parameters of the c920, but if you're looking to do something really basic.
just install libopencv-dev and install python-opencv
then just plug your camera in and in python just do
import cv2
cam=cv2.VideoCapture(0)
frame = cam.read()
that's it
Thanks. The standard Angstrom image comes complete with everything you need for OpenCV. If you wished to build it yourself I would recommend a cross-compile on your PC (see my blog for info on custom Angstrom builds). At the worst case, if you need to build on the BBB, you could mount a high capacity SD card and use that as the storage space.
Yes i also have code to display it. I do a lot of work in live streaming and currently working on adding sound (and syncing it to the video). I would suggest using C / GObject style programming in order to use the GStreamer libraries. However I also have C++ code that taps straight into ffmpeg, but this is a lot more work (AV3D project as an example of static video on my github, video.cpp)
Hi! I am going with the Logitech C_920 with Fluid Crystal technology and all the other bells and whistles. This will perform much better than the cheapo webcams I have now. Derek, I would like to construct a CMUcam5 Pixy using a Beagle_Bone. Thank you.
hi, I wanna ask. Which is better for Computer Vision between BBB and Raspberry Pi 4?
Pretty helpful for me. Thanks so much!
Excellent tutorial! Thanks soo much!
Beaglebone black or raspberry pi? Which is better for image processing and why?
PandaBoard is better than both. It is especially designed for video and image processing in real time.
this video soo interested.. i want to try based with video,, but can i ask something? i want use linux and openCV,, but i dont know about linux series and openCV series.. can you tell me about your application series?
Hi, i read online that the C920 hardware-compressed h264 output bitrate is always 3.1Mbit/s, independently from the resolution. Eg, it's a 3.1Mb/s stream at Full HD and at 320x240. Can you confirm me this? I would like to purchase the camera if untrue.
Thanks.
Thanks a lot! really a good video. Just in time.
Great tutorial! Congrats!
Thanks for this Video :D
I love your awesome voice.
Greatings from Germany and thanks for speaking slow and clearly
Can we get the bbb to report its own power consumption during a capture process. I'd think its possible to use a portable power charger plus solar panel to put this outside, or is a multimeter/mains plug the only way.
Hey derek I've been going over your video and I keep running into a problem whenever I capture video. When I run the capture program from around the 16 minute mark I get pauses when capturing video. When i run raw2mpg4 I get the error: [h264 @ 0x37a20] missing picture in access unit
output.raw: could not find codec parameters
Any idea what I missed?
Hello Mr Derek
I am students and choose a project about beaglebone streaming video with Beaglebone. This Video is really useful for me.
However, I would like to do more work on it. Similar like The robot arm assistant 'dummy'. I confused few questions on it. Can we use Automatic Speech Recognition system with Beaglebone to control the Robot arm?
and this web camera can recieve the voice as well?
If you time are free in your spare time, can I contact with you?
Thank you
It appears OpenCV can be installed on Debain Linux as well and isn't restricted to Angstrom distributions. This is awesome mostly because I have no experience with Angstrom.
Can it be a complete alternative for raspberry pi
I get "Failed to open /dev/video0: Resource temporarily unavailable" when I try the command "v4l2-ctl --all"
The C920 is on video3.
I really don't know what the issue is and it's hard to find any information on it.
Any help will be appreciated, Thank You.
Thanks for the great educating job done, awesome!
trying to set video format resolution to 1920*1080 as described at 9:19,
for some reason only 1280*720 is set after scilent execution of the command
Great tutorial keep up the good work
On a stock Beaglebone black 4.4.9-ti-r25 (debian 8.4), I installed the libv4l-dev (due to the No package 'libv4l2' found), however is it normal during the building of the opencv example, to report lots of warnings about undefined references (lame_*)? It finishes with 'collect2: error: ld returned 1 exit status'.
The problem above appears with compiling boneCV.cpp:
g++ -O2 'pkg-config --cflags --libs opencv' boneCV.cpp -o boneCV this returns:
g++: error: pkg-config --cflags --libs opencv: No such file or directory
The Video4Linux frame capture program, and capture example program build with no errors.
hi , your site will be my guide through my project
Thanks everyone for the positive feedback!
hello derek, how to check IP of BBB ??? in this video you use 192.168.1.121 is the BBB IP. but i dont know in my PC that is my BBB IP too or not.
install the v4l-utils package on your system.
On a Debian-based system (this includes Ubuntu) it should be something like:
sudo apt-get install v4l-utils
typed in a terminal. Cheers.
can you connect a IP camera directly to beaglebone and capture video/images under linux?
Hi, Im thinking about opencv image processing for a canon eos 5d camera (or some other high end dslr camera) for uav, real time aerial image processing. can u point me in the right direction, what board do i use that has good interfaces(camera interfaces definitely), drivers, processing power & easy to learn. the board will be interfaced to a canon camera and and ardupilot autopilot board. the image processing code is pretty demanding machine learning.
plz tell me which standard api embedded with android studio for real time object detection...????
Is it possible to use desktop linux distros with the Beaglebone?
I'd love to run Crunchbang on it.
Jó kamera, ezért csináltuk mi is videót róla :) /Üdv, Sarkadi Roland
hello, what happens if I do not connect a camera for usb if not in the ports of i2c and spi, how can I use openCV?
Can we stream over net and login from elsewhere to view video live?
whenever I click on v4l2, it says: command not found, can I get any help to make this work?
can i track objects whith this board?
can i do it with intel Galileo ?
My beaglebone black has Debian. I have tried "apt-get install libv4l-utils" but it cannot locate the package. ???? Is there a repository I need to point to? How?
Hi, I got stuck after execute capture. It took about 10 dots/frames then it froze.
I had to reset the bone :(
in C# ? for visual studio and arduino?
i want to do a project to extract the text from images, and pdf files, can this board is helpful for me
trying to run gcc -O2 -Wall `pkg-config --cflags --libs libv4l2` capture.c -o capture getting error: Package libv4l2 was not found in the pkg-config search path.
What did I miss?
hi,
I got the same error while I was working with ubuntu on beaglebone black, first you got to install libv4l2, I used the command sudo apt-get install ivtv-utils then I ran the command gcc capture.c -lv4l2 -o capture
Love you!!
Thanks Professor
Could anyone plz suggest me the best night vision camera which is supported by beagle bone black or ai
Love you too mom! ;-)
the rassbery pi has a better gpu than the beagle bone black why didn't you use it?
I am having trouble with running grabber.c. When using the follow command:
gcc -02 -Wall 'pkg-config --cflags --libs libv4l2" grabber.c -o grabber
My Terminal:
ubuntu@ubuntu-armhf:~/boneCV$ gcc -O2 -Wall `pkg-config --cflags --libs libv4l2` grabber.c -o grabber
Package libv4l2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libv4l2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libv4l2' found
grabber.c:27:21: fatal error: libv4l2.h: No such file or directory
compilation terminated.
How do I get the libv4l2 package and add to the PKG_CONFIG_PATH?
apt-get install libv4l-dev
Evgueni Safonov Thanks.
Thanks for the feedback limitznl. I have just posted on streaming video using RTP, UDP and UDP multicasting on my blog at derekmolloy.ie I will have to look into your code as it would be really nice to remove the piping and would give greater control. I am currently investigating playing the video using custom C++ code... did you have any luck in that? It would be really nice to have an end-to-end video server/client for streaming data for robotics applications (inc. stereo).
After running ./capture -c 600 -o > output.raw
getting output as :
Force Format 0
select timeout
No capturing happens
So cool.
Of Course that kind of love ;)