where can I download the kernel source code for google coral kit? - google-coral

Does anyone have the kernel source code for the Coral Dev kit? If available, the source code to the entire BSP (rootfs, libaries etc.) would be helpful too...

Try to get the source code from the getting start guide:
https://coral.googlesource.com/docs/+/refs/heads/master/GettingStarted.md

Related

Create an Apple Homekit accessory with NodeMCU (ESP8266)

My goal is to create a simple LED controlled by my iPhone through Homekit.
I'd like to do it using only a NodeMCU (ESP8266).
I found lots of solutions using a NodeJS library (HAP-NodeJS), which works well on my PC, but obviously can't run on a NodeMCU board.
As I understand, all these solutions require a RaspberryPI (or similar board running Linux) that talks with the NodeMCU board. But I don't like this solution.
Is there a way to achieve this goal only with a NodeMCU board?
Update 1 (25/01/2017)
Ok, I'm reading lots of blogs and watching some videos, and I'm understanding more about this topic.
I found NodeMCU Flasher to install the firmware on the board, and I found the firmware I'd like to use (I think I could be more comfortable with Lua).
First problem... I'm using a Mac, and NodeMCU Flasher is for Windows... Is there an alternative?
I downloaded also ESPlorer. Does it provide the same functionality as NodeMCU Flasher?
Please check this.
Public Apple's HomeKit protocol code has been around for some time for more potent processors (notably HAP-NodeJS). This is a rewrite for the ESP8266 to make the server foundation. This project uses ESP8266_RTOS_SDK and WolfCrypt 3.9.8 for the crypto. It will however NOT deliver a certified HomeKit device.

opencv not able to run some advanced image processing code

i am using visual studio 15
some basic blurring and filters are running perfectly but on some codes such as blending and dct techniques are not running
Can anyone please help me
At this point its probably best to create your own compiled library tools for MicroSoft Visual Studio 15. Here's a how to guide. That guide covers all the steps and starts with the most current code on Github.
Also note there are many tutorials out there on OpenCV. Many parts of the OpenCV library have been update, or replaced. You have to be careful that the commands you are using are valid in OpenCV 3.x
Compile your own, run a few simple programs.
If you want specific help here, you MUST post your code, and the errors you are seeing.

Opencv source code for all the platforms

My question is related to the source codes of Opencv. It seems to me for different platform the Opencv website provides different code structures. I just wondering whether it is possible to have one source code for all the different platforms. With the same source code, I can compile for different platforms. Thanks.
The OpenCV source code is on GitHub.. Just choose the version you need, download and build away to your heart's content. HTH

How to setup OpenNI 2.0 with OpenCV for a Kinect project?

I am working on my final year project. I need to work with Kinect to detect hand movements. I have tried a few ways and got some results, however, none was enough to meet the needs of the project. I saw this video long ago, and just got to know that they open sourced it recently. So I gave it a try.
My problem now is how to set things up.
The above awesome project uses OpenNI with Kinect. I tried to follow OpenCV tutorials to build it from source code, to let OpenCV work with OpenNI.
Problems:
It says "For the OpenNI Framework you need to install both the development build and the PrimeSensor Module." but as I followed the links some of them were dead. Seems like OpenNI 2.0 doesn't use PrimeSensor any longer.
It also says that in Cmake folders, one is OpenCV/Src, the other is /build. But the OpenCV I downloaded doesn't have anything as Src folder.
Still I used the whole folder as Src, and built it to a build folder and checked WITH OPENNI. I used the Include and Lib folder in OpenNI2 I downloaded, but when I built the OpenCV solution (already generated from CMake) all builds failed.
Also, while generating with Cmake, even if my future OpenCV solution had been successfully built (which wasn't the case), Cmake would have kept telling me how PrimeSense was not available, which made me feel so insecure. :(
I am a bit confused about 32- and 64-bit. The above project I want to follow says it works on 64-bit. But I use MS C++ Express, all projects are 32-bit. So which PrimeSense drivers (given in OpenNI2) should I use?
Could anyone please tell me how to set all these things (OpenNI2.0, OpenCV 2.4.3, PrimeSense) together so I can work with Kinect?
A while back I wrote two tutorials on 1) how to set up OpenNI 1.5 with NITE 2) How to compile OpenCV with OpenNI support.
These can be found here and here
I know this is not what you asked for, but the process of compiling OpenCV with OpenNI 2.0 should be similar and might help you understand where you are going wrong.
I will try to write a newer tutorial, however since I currently do not have access to a sensor, I might not be able to test if it works out in the end.
EDIT:
I have written some code to access Kinect data streams in OpenCV Mat format using OpenNI 2.x. The code github repo can be found here. Detailed guidance on how to set everything up can be found here.
OpenNI 2.x is much advanced than the previous versions. You don't need to install primesense sensorkinect driver. You can use OpenNI 2.x along with the Microsoft Kinect SDK 1.x.
Install both 64 and 32-bit OpenNI 2.x if you have Windows 7 x64 otherwise only 32-bit. Configure it with Visual Studio 2010 or 12. You can follow this video:
http://www.youtube.com/watch?v=ACqPsV0R4to
Then configure OpenCV for visual Studio 2010 or 12. You can follow this link:
http://4someonehelp.blogspot.in/2013/04/install-opencv-245-using-visual-studio.html
Thanks

FaceDetect OpenCV sample code not working on MSV C++ 2008 v9

I installed opencv2.0 and I am using MSV c++ 2008 v9. I tested some code online that return the inverted version of a singel static image, but I would like to see the FaceDetect code working as well. I tried following the instructions in the wiki but I get a memory alocation error coming from a file I am not supposed to edit. I wanted to know if anyone wants to or has tried doing this and could share some insight into how to accomplish the test of this already provided code. My main problem at the moment is that there is a lot of junk out there about working with openCv1.0~ and other versions of MVS, but I want specifics to my version.
Thanks for the help in advance,
Bc
Assuming that you have already installed OpenCV2.0 and compiled it using MSV C++ 2008 successfully. Now to execute already provided code you can either directly execute the facedetect.exe command located at "C:\OpenCV2.0\vs2008\bin\Debug\" assuming you have installed OpenCV2.0 in it's default location.
Syntax : facedetect --cascade="C:\OpenCV2.0\data\haarcascades\haarcascade_frontalface_alt.xml" "C:\OpenCV2.0\samples\c\lena.jpg"
OR
You can execute facedetect.exe from "C:\OpenCV2.0\samples\c\" path. specify the cascade classifier name and image.
Syntax : facedetect --cascade="C:\OpenCV2.0\data\haarcascades\haarcascade_frontalface_alt.xml" lena.jpg

Resources