{"id":13419962,"url":"https://github.com/AS3NUI/airkinect-2-core","last_synced_at":"2025-03-15T06:31:04.727Z","repository":{"id":2340241,"uuid":"3302400","full_name":"AS3NUI/airkinect-2-core","owner":"AS3NUI","description":"AIRKinect 2.0 Core ","archived":false,"fork":false,"pushed_at":"2017-04-17T10:28:08.000Z","size":48596,"stargazers_count":113,"open_issues_count":10,"forks_count":41,"subscribers_count":33,"default_branch":"master","last_synced_at":"2024-07-31T22:52:49.306Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://as3nui.com","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AS3NUI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-01-30T05:03:25.000Z","updated_at":"2023-10-20T07:26:32.000Z","dependencies_parsed_at":"2022-08-26T12:51:45.389Z","dependency_job_id":null,"html_url":"https://github.com/AS3NUI/airkinect-2-core","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AS3NUI%2Fairkinect-2-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AS3NUI%2Fairkinect-2-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AS3NUI%2Fairkinect-2-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AS3NUI%2Fairkinect-2-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AS3NUI","download_url":"https://codeload.github.com/AS3NUI/airkinect-2-core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221548182,"owners_count":16840981,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T22:01:23.500Z","updated_at":"2025-03-15T06:31:04.721Z","avatar_url":"https://github.com/AS3NUI.png","language":"C++","readme":"# AIRKinect\n\nAIRKinect Extension is a Native Extension for use with Adobe AIR 3.0. AIRKinect allows AIR developers to tap into the rich experience of the Microsoft Kinect and push interactivity to a new level.\n\nYou can find the compiled .ane file in the bin directory of this repository.\n\n## Driver Installation\n\n\nBefore you can use the native extension in your AIR project, you will need to install the kinect drivers. You have several options, depending on your platform.\n\n\n### Windows:\n\n\n#### MS SDK version: (airkinect-2-core-mssdk.ane)\n\n1. Install Microsoft Kinect SDK: \u003chttp://kinectforwindows.org/\u003e\n2. That's it\n\n#### OpenNI version: (airkinect-2-core-openni.ane)\n\nYou can use the instructions \"Install OpenNI,NITE and the Sensor Driver\" of the SimpleOpenNI project to get OpenNI up and running on your windows 7 machine: \u003chttps://code.google.com/p/simple-openni/wiki/Installation_PreOpenNI2#Windows\u003e. Make sure you install the 32-bit version. AIRKinect does not work with the 64-bit version.\n\n\n### OSX 10.6+:\n\nYou can use the instructions \"Install OpenNI the short way\" of the SimpleOpenNI project to get OpenNI up and running on your OSX machine: \u003chttps://code.google.com/p/simple-openni/wiki/Installation_PreOpenNI2#OSX\u003e.\n\n## Linking AIRKinect to your project\n\n\nAll you need is the ane file matching your driver. If you are using the MS SDK, you will need [airkinect-2-core-mssdk.ane](https://github.com/AS3NUI/airkinect-2-core/raw/master/bin/airkinect-2-core-mssdk.ane), if you are using OpenNI, you will need [airkinect-2-core-openni.ane](https://github.com/AS3NUI/airkinect-2-core/raw/master/bin/airkinect-2-core-openni.ane).\n\nOnce you have the correct file, you will need to link it to your AIR project:\n\n### Flash Builder 4.6\n\n\n1. Right click on your AIR for desktop project and choose properties.\n2. Select Actionscript build path \u003e Library path and click on Add SWC… Select the ane file you just downloaded.\n3. In that same window, choose Native Extensions and click on Add ANE… Select that same ane file.\n4. Select Actionscript Build Packaging \u003e Native extensions. Check the checkbox next to the native extension. Ignore the warning that says the extension isn't used.\n\n### Flash CS6\n\n\n1. Go the File \u003e Actionscript settings.\n2. On the Library Path tab, click on the \"Browse to a Native Extension (ANE)\" button (button to the right of the SWC button)\n3. Choose the ane file you just downloaded.\n\n### IntelliJ IDEA\n\n\n1. Right click on your module and choose \"Open Module Settings\".\n2. Select the build configuration for your Module and open the Dependencies tab\n3. Click on the plus (+) button on the bottom of that window and choose \"New Library…\"\n4. Choose the ane file you just downloaded\n\n## Basic Usage\n\n\nAIRKinect has a lot of built-in features. You can check some examples in our [examples repository](https://github.com/AS3NUI/airkinect-2-examples).\n\nA quick example, showing the depth image would be something like this:\n\n\tprivate var depthBitmap:Bitmap;\n    private var device:Kinect;\n    \n    public function Demo() {\n\t    if (Kinect.isSupported()) {\n\t\t\tdevice = Kinect.getDevice();\n            depthBitmap = new Bitmap();\n            addChild(depthBitmap);\n\tdevice.addEventListener(CameraImageEvent.DEPTH_IMAGE_UPDATE, depthImageUpdateHandler);\n            var settings:KinectSettings = new KinectSettings();\n            settings.depthEnabled = true;            \n            device.start(settings);\n        }\n    }\n    \n    protected function depthImageUpdateHandler(event:CameraImageEvent):void {\n        depthBitmap.bitmapData = event.imageData;\n    }\n    \n    \n\n\n\n## License\nCopyright 2012 AS3NUI\nLicensed under the Apache License, Version 2.0 (the \"\"License\");\n\nYou may not use this file except in compliance with the License. You may obtain a copy of the License at\n\n\u003chttp://www.apache.org/licenses/LICENSE-2.0/\u003e\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\nSee the License for the specific language governing permissions and limitations under the License.\n","funding_links":[],"categories":["TODO scan for Android support in followings","C++","API","Networking"],"sub_categories":["Kinect API"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAS3NUI%2Fairkinect-2-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAS3NUI%2Fairkinect-2-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAS3NUI%2Fairkinect-2-core/lists"}