﻿{"id":1050,"date":"2012-12-01T17:54:44","date_gmt":"2012-12-01T09:54:44","guid":{"rendered":"http:\/\/nick.workao.org\/?p=1050"},"modified":"2012-12-02T00:41:19","modified_gmt":"2012-12-01T16:41:19","slug":"mac-os-x-opencv-port","status":"publish","type":"post","link":"http:\/\/nick.txtcc.com\/index.php\/mac-os\/1050","title":{"rendered":"Mac OS X OpenCV Port"},"content":{"rendered":"<p>This page is devoted to information specific to the OS X build of OpenCV. Things are changing quickly due to recent work by Willow Garage, and the transition to the CMake build system.<\/p>\n<ul>\n    <li>Also see the general\u00a0<a href=\"http:\/\/opencv.willowgarage.com\/wiki\/InstallGuide\">InstallGuide<\/a>.<\/li>\n    <li>For instructions on using the OpenCV libraries in an OS X app see\u00a0<a href=\"http:\/\/opencv.willowgarage.com\/wiki\/UsingOpenCVUnderOSX\">UsingOpenCVUnderOSX<\/a><\/li>\n<\/ul>\n<p>There are a number of ways to install OpenCV on OS X. The most straightforward way is to download the latest version of OpenCV (currently 2.2.0), and use cmake as described in the general\u00a0<a href=\"http:\/\/opencv.willowgarage.com\/wiki\/InstallGuide\">InstallGuide<\/a>\u00a0and below at number 2.<\/p>\n<p>Each of the numbers below are separate ways to install OpenCV for Mac OS X.<\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"A0._Getting_a_precompiled_version_.28_sorry.2C_but_this_is_only_for_OpenCV_1.2_and_only_valid_only_for_i386.2C_Not_2.x__-_anyone_know_how_to_build_a_Private_Framework_for_2.x_.3F_.29:\">0. Getting a precompiled version ( sorry, but this is only for OpenCV 1.2 and only valid only for i386, Not 2.x &#8211; anyone know how to build a Private Framework for 2.x ? ):<\/h2>\n<p>see:\u00a0<a href=\"http:\/\/www.ient.rwth-aachen.de\/cms\/software\/opencv\/\"><a href=\"http:\/\/www.ient.rwth-aachen.de\/cms\/software\/opencv\/\">http:\/\/www.ient.rwth-aachen.de\/cms\/software\/opencv\/<\/a><\/a><\/p>\n<p>&nbsp;<\/p>\n<pre>wget http:\/\/www.ient.rwth-aachen.de\/~asbach\/OpenCV-Private-Framework-1.2.dmg\nopen OpenCV-Private-Framework-1.2.dmg\ncd \/Volumes\/OpenCV\\ Private\\ Framework\/\ncp -R OpenCV.framework\/ \/Library\/Frameworks\/OpenCV.framework<\/pre>\n<p>&nbsp;<\/p>\n<h2 id=\"A1._Build_via_MacPorts\">1. Build via MacPorts<\/h2>\n<p>For Snow Leopard users, you can build OpenCV 2.1.0 and above via\u00a0<a href=\"http:\/\/www.macports.org\/\">MacPorts<\/a>\u00a0as a 64-bit library with support of QTKit video I\/O and Cocoa GUI.<\/p>\n<p>Assuming\u00a0<a href=\"http:\/\/www.macports.org\/\">MacPorts<\/a>\u00a0installed, first use:<\/p>\n<p>&nbsp;<\/p>\n<pre>sudo port selfupdate<\/pre>\n<p>to update the\u00a0<a href=\"http:\/\/www.macports.org\/\">MacPorts<\/a>\u00a0base and the port tree. Then, simply:<\/p>\n<p>&nbsp;<\/p>\n<pre>sudo port install opencv<\/pre>\n<p>to build OpenCV 2.1.0 in 64-bit.<\/p>\n<p>If you encounter errors, try installing its dependents with\u00a0<tt>+universal<\/tt>\u00a0whenever possible.<\/p>\n<p>&nbsp;<\/p>\n<pre>sudo port -v install opencv +python26<\/pre>\n<p>to use with Python 2.6 bindings or<\/p>\n<p>&nbsp;<\/p>\n<pre>sudo port -v install opencv +python27<\/pre>\n<p>to use with Python 2.7 bindings<\/p>\n<p>By default OpenCV is installed to\u00a0<tt>\/opt\/local\/<\/tt>\u00a0according to\u00a0<a href=\"http:\/\/www.macports.org\/\">MacPorts<\/a>\u00a0conventions. The opencv_xxxx utilities are located in\u00a0<tt>\/opt\/local\/bin\/<\/tt>, the dynamic libraries in\u00a0<tt>\/opt\/local\/lib\/<\/tt>\u00a0and the header files in<tt>\/opt\/local\/include\/opencv\/<\/tt>.<\/p>\n<p>To use the libraries, include the required files with standard includes. For example:<\/p>\n<p>&nbsp;<\/p>\n<pre>#include <cv.h>\n#include <highgui.h><\/pre>\n<p>If you use Xcode, the instructions are similar to the ones in method 3. It only differs that\u00a0<tt>\/usr\/local<\/tt>\u00a0becomes\u00a0<tt>\/opt\/local<\/tt>.<\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"A1.1_Build_via_HomeBrew\">1.1 Build via HomeBrew<\/h2>\n<p>For users that have and like homebrew:<\/p>\n<p>&nbsp;<\/p>\n<pre>sudo brew update\nsudo brew install opencv<\/pre>\n<p><strong>If you need the 32bit version<\/strong>, change the last command to\u00a0<tt>sudo\u00a0brew\u00a0install\u00a0opencv\u00a0--build32<\/tt><\/p>\n<p>OLD METHOD:<\/p>\n<p>Assuming\u00a0<a href=\"http:\/\/opencv.willowgarage.com\/wiki\/HomeBrew\">HomeBrew<\/a>\u00a0( aka &#8216;brew&#8217;) is installed first:<\/p>\n<p>&nbsp;<\/p>\n<pre>sudo brew update\nsudo brew install lame       ( for libmp3lame that opencv needs)\nsudo brew install libpng     ( which theora needs -  part of the ffmpeg package )\nsudo brew link    libpng     ( needed if theora\/ffmpeg can't find it)\nsudo brew install ffmpeg     ( for libavcodec and related stuff that opencv needs)\nsudo brew install python     ( the system python is not good enough)\nsudo brew install doxygen    ( if you compile opencv yourself, you'll want this)\nsudo chmod 000 \/System\/Library\/Frameworks\/Python.framework\/\nsudo chmod 000 \/Library\/Frameworks\/Python.framework\/\n   ( disable system python\/s temporarily just for the next step)\n\neither:\nsudo brew install opencv     ( finally! - this will probably bork? )\n\nor:\nsvn co https:\/\/code.ros.org\/svn\/opencv\/trunk\/opencv cd opencv ( or get sources by hand)\ncd opencv\nccmake .   ( disable everything you can that's not important, maybe you'll figure out how get it to build? don't forget to press 't' for advanced mode.  Edit the settings as you desire, then 'c' and 'g' )\ncmake .\nmake -j8\nmake install ( optional )\n\nsudo chmod 755 \/System\/Library\/Frameworks\/Python.framework\/\nsudo chmod 755 \/Library\/Frameworks\/Python.framework\/\n   ( put it back how it was )<\/pre>\n<p>By default OpenCV is installed to\u00a0<tt>\/opt\/homebrew\/\u00a0<\/tt><\/p>\n<p><tt>*\u00a0see\u00a0also:\u00a0<\/tt><\/p>\n<p><tt>\u00a0\u00a0\u00a0<a href=\"http:\/\/www.tsd.net.au\/blog\/opencv-python-bindings-macports\">http:\/\/www.tsd.net.au\/blog\/opencv-python-bindings-macports<\/a><\/tt><\/p>\n<p><tt>\u00a0\u00a0\u00a0<\/tt>\n<tt><a href=\"http:\/\/wiki.nuigroup.com\/Installing_OpenCV_on_Mac_OS_X\">http:\/\/wiki.nuigroup.com\/Installing_OpenCV_on_Mac_OS_X<\/a><\/tt><\/p>\n<p><tt>\u00a0\u00a0\u00a0<a href=\"https:\/\/github.com\/mxcl\/homebrew\/issues\/issue\/1792\">https:\/\/github.com\/mxcl\/homebrew\/issues\/issue\/1792<\/a><\/tt><\/p>\n<p>See\u00a0<a href=\"http:\/\/opencv.willowgarage.com\/wiki\/MacPort\">MacPort<\/a>\u00a0install for any other details, just replace \/opt\/local with \/opt\/homebrew<\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"A2._Build_from_source_using_the_CMake_build_system_.28new.29\">2. Build from source using the CMake build system (new)<\/h2>\n<p>The GNU autotools methods (configure, make, make install) are being obsoleted. OpenCV has now switched to the CMake build system.<\/p>\n<p>&nbsp;<\/p>\n<h3 id=\"Getting_the_source_code\">Getting the source code<\/h3>\n<p>Make sure you have subversion installed (built-in since Snow Leopard). If\u00a0<a href=\"http:\/\/www.macports.org\/\">MacPorts<\/a>\u00a0is your primary package manager, use:<\/p>\n<p>&nbsp;<\/p>\n<pre>sudo port install subversion<\/pre>\n<p>if not using\u00a0<a href=\"http:\/\/www.macports.org\/\">MacPorts<\/a>\u00a0or it gives an error, try:<\/p>\n<p>&nbsp;<\/p>\n<pre>sudo fink install svn-ssl<\/pre>\n<p>Make sure you have cmake installed. This can also be installed with\u00a0<a href=\"http:\/\/www.macports.org\/\">MacPorts<\/a>:<\/p>\n<p>&nbsp;<\/p>\n<pre>sudo port install cmake<\/pre>\n<p>Check out the source code into a clean directory and cd into the source directory after the download is complete:<\/p>\n<p>&nbsp;<\/p>\n<pre># previous URL\n# svn co https:\/\/code.ros.org\/svn\/opencv\/trunk\/opencv ; cd opencv\n# current (April 2012) URL\nsvn co http:\/\/code.opencv.org\/svn\/opencv\/trunk\/opencv ; cd opencv<\/pre>\n<ul>\n    <li>Note: There&#8217;s a &#8220;atomic bomb commit&#8221; at\u00a0<a href=\"https:\/\/code.ros.org\/trac\/opencv\/changeset\/3060\">r3060<\/a>\u00a0which largely changed the OpenCV directory structure. If you wish to work with the older structure, you can specify an earlier checkout revision:<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<pre># previous URL\n# svn co https:\/\/code.ros.org\/svn\/opencv\/trunk\/opencv -r 3059 ; cd opencv\n# current (April 2012) URL\nsvn co http:\/\/code.opencv.org\/svn\/opencv\/trunk\/opencv -r 3059 ; cd opencv<\/pre>\n<p>&nbsp;<\/p>\n<h3 id=\"Use_CMake_to_build\">Use CMake to build<\/h3>\n<p>To use CMake to generate Unix Makefiles, type:<\/p>\n<p>&nbsp;<\/p>\n<pre># make a separate directory for building\nmkdir build\ncd build\ncmake -G \"Unix Makefiles\" ..<\/pre>\n<p>You can specify many configuration options in the above command. For examples:<\/p>\n<ul>\n    <li><strong>-D BUILD_TESTS=OFF<\/strong>\u00a0-> if you don&#8217;t want to build tests.<\/li>\n    <li><strong>-D BUILD_NEW_PYTHON_SUPPORT=OFF<\/strong>\u00a0-> if you don&#8217;t want the Python interface support.<\/li>\n    <li><strong>-D WITH_CARBON=ON<\/strong>\u00a0-> (mainly for Leopard and below) if you want to use Carbon for UI instead of Cocoa (since\u00a0<a href=\"https:\/\/code.ros.org\/trac\/opencv\/changeset\/2909\">r2909<\/a>).<\/li>\n    <li><strong>-D WITH_QUICKTIME=ON<\/strong>\u00a0-> (mainly for Leopard and below) if you want to use\u00a0<a href=\"http:\/\/opencv.willowgarage.com\/wiki\/QuickTime\">QuickTime<\/a>\u00a0for Video I\/O insted of QTKit (since\u00a0<a href=\"https:\/\/code.ros.org\/trac\/opencv\/changeset\/2924\">r2924<\/a>). If you&#8217;re using\u00a0<em>Snow<\/em>\u00a0Leopard and do need Carbon and\u00a0<a href=\"http:\/\/opencv.willowgarage.com\/wiki\/QuickTime\">QuickTime<\/a>, you must also specify\u00a0<strong>-D CMAKE_OSX_ARCHITECTURES=i386<\/strong>,\u00a0<strong>-D CMAKE_C_FLAGS=-m32<\/strong>\u00a0and\u00a0<strong>-D CMAKE_CXX_FLAGS=-m32<\/strong>.<\/li>\n    <li>An example configuration of OpenCV 2.2.0 on Mac OSX 10.6 without TPP or Eigen or Carbon is shown at\u00a0<a href=\"http:\/\/imagebin.ca\/view\/A2uboY.html\">http:\/\/imagebin.ca\/view\/A2uboY.html<\/a>.<\/li>\n<\/ul>\n<p>Finally, follow the usual &#8220;make, make install&#8221; method:<\/p>\n<p>&nbsp;<\/p>\n<pre>make -j8\nsudo make install\n\nappend a new line \"export PYTHONPATH=\/usr\/local\/lib\/python2.7\/site-packages\/\" to ~\/.profile:<\/pre>\n<pre><\/pre>\n<pre><\/pre>\n<p>If you need the CMake GUI for other options, replace\u00a0<strong>cmake<\/strong>\u00a0with\u00a0<strong>ccmake<\/strong>. If the arrow keys fail, you can use the following commands instead:<\/p>\n<p>&nbsp;<\/p>\n<pre>ctrl + N : next option\nctrl + P : previous options\nctrl + D : down one page\nctrl + U : up one page<\/pre>\n<p>To compile with Intel Threading Building blocks, use ccmake (the Cmake GUI) to specify the lib and include paths to your installation of TBB.<\/p>\n<p>After setting the build options, hit &#8216;c&#8217; to configure. Hit &#8216;g&#8217; to generate the config file and exit ccmake. Then execute the &#8220;make, make install&#8221; commands above.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>if got \u00a0\u201cSegmentation fault\u201d during \u201cimport cv\u201d:<\/strong><\/p>\n<p>In ccmake(<code>ccmake -G &quot;Unix Makefiles&quot; .<\/code>), toggle to the advanced mode pressing\u00a0<code>t<\/code>.<\/p>\n<p>change\u00a0<strong><code>PYTHON_LIBRARY<\/code><\/strong>\u00a0value to\n\/opt\/local\/lib\/libpython2.7.dylib<\/p>\n<p>and\u00a0<strong><code>PYTHON_INCLUDE_DIR<\/code><\/strong>\u00a0to\n\/opt\/local\/Library\/Frameworks\/Python.framework\/Versions\/2.7\/include\/python2.7<\/p>\n<p>Note that the specific path depends, of course, what version of Python you are using (2.6 or 2.7 etc.). Also, if you are using the system Python, instead of MacPorts (which is in \/opt), then you probably want\u00a0<strong>PYTHON_LIBRARY<\/strong>\u00a0to be\u00a0<strong>\/usr\/lib\/libpython2.7.dylib<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"A3._Building_as_an_Xcode_Framework_using_the_make_frameworks.sh_script_.28obsoleted.29\">3. Building as an Xcode Framework using the make_frameworks.sh script (obsoleted)<\/h2>\n<p>Note: the CMake build system should ultimately make this obsolete, one may remove this section when the CMake building is mature on the Mac.\u00a0<strong>By the way, the make_framework.sh script has been removed since\u00a0<a href=\"https:\/\/code.ros.org\/trac\/opencv\/changeset\/2528\">revision 2528<\/a>.<\/strong>The last revision where make_framework.sh successfully builds, as I tested, is r2492.<\/p>\n<p>OpenCV can now be built as a Mac OS X Framework useable with XCode. Just invoke the &#8216;.\/make_frameworks.sh&#8217; script and you will obtain a Universal Framework named &#8220;OpenCV.framework&#8221; meant as a Private Framework.<\/p>\n<p>Additionally, a pre-built version (universal binary Private Framework, again together with a demo application) is available. See the\u00a0<a href=\"http:\/\/opencv.willowgarage.com\/wiki\/PrivateFramework\">PrivateFramework<\/a>\u00a0wiki page or directly download it from\u00a0<a href=\"http:\/\/www.ient.rwth-aachen.de\/~asbach\/OpenCV-Private-Framework-1.1.dmg\"><a href=\"http:\/\/www.ient.rwth-aachen.de\/~asbach\/OpenCV-Private-Framework-1.1.dmg\">http:\/\/www.ient.rwth-aachen.de\/~asbach\/OpenCV-Private-Framework-1.1.dmg<\/a><\/a>\u00a0.<\/p>\n<p>A more recent version of the framework can be found here\u00a0<a href=\"http:\/\/www.ient.rwth-aachen.de\/cms\/software\/opencv\/\"><a href=\"http:\/\/www.ient.rwth-aachen.de\/cms\/software\/opencv\/\">http:\/\/www.ient.rwth-aachen.de\/cms\/software\/opencv\/<\/a><\/a>\u00a0or downloaded directly from\u00a0<a href=\"http:\/\/www.ient.rwth-aachen.de\/~asbach\/OpenCV-Private-Framework-1.2.dmg\"><a href=\"http:\/\/www.ient.rwth-aachen.de\/~asbach\/OpenCV-Private-Framework-1.2.dmg\">http:\/\/www.ient.rwth-aachen.de\/~asbach\/OpenCV-Private-Framework-1.2.dmg<\/a><\/a><\/p>\n<p>OpenCV 2.0 Universal Framework (tested on ppc and i386 Leopard and Snow Leopard): Here is an universal Framework for Mac ppc\/i386 built from the OpenCV 2.0 released in September09. By the way, I also fixed some bugs and add some improvements:<\/p>\n<p>&nbsp;<\/p>\n<pre>-> a bug on Mac (carbon) that prevented cvCloseWindow\/cvCloseAllWindow from working. -> a bug when 2 cameras capture images simultaneously (black bands) (see picture bellow) -> The trackbar now displays its current value (see picture bellow) and is resized according to its name.<\/pre>\n<p>Those fix\/improvements are added to this framework.<\/p>\n<ul>\n    <li><a href=\"http:\/\/vislab.cs.vt.edu\/~vislab\/wiki\/images\/4\/44\/OpenCV2.0.dmg\">http:\/\/vislab.cs.vt.edu\/~vislab\/wiki\/images\/4\/44\/OpenCV2.0.dmg<\/a><\/li>\n<\/ul>\n<p><img decoding=\"async\" title=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2012\/12\/095445lne.png\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2012\/12\/095445lne.png\" alt=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2012\/12\/095445lne.png\" \/>\u00a0<img decoding=\"async\" title=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2012\/12\/095446Nn3.png\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2012\/12\/095446Nn3.png\" alt=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/remote_image\/2012\/12\/095446Nn3.png\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"A4._Building_the_old_UNIX_way\">4. Building the old UNIX way<\/h2>\n<p>This was removed since it no longer works.<\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"Other_Resources\">Other Resources<\/h2>\n<p>Links:<\/p>\n<ul>\n    <li><a href=\"http:\/\/ildan.blogspot.com\/2008\/07\/creating-universal-static-opencv.html\">Creating a universal static OpenCV library with iPhone support<\/a><\/li>\n    <li><a href=\"http:\/\/www.ient.rwth-aachen.de\/~asbach\/OpenCV-Private-Framework-1.1.dmg\">http:\/\/www.ient.rwth-aachen.de\/~asbach\/OpenCV-Private-Framework-1.1.dmg<\/a><\/li>\n    <li><a href=\"http:\/\/opencv.willowgarage.com\/wiki\/KirstenJones\">KirstenJones<\/a>\u00a0&#8211; March 2, 2009 &#8211; Has notes on building OpenCV using CMake on her blog at\u00a0<a href=\"http:\/\/www.princesspolymath.com\/\">http:\/\/www.princesspolymath.com<\/a><\/li>\n    <li><a href=\"http:\/\/www.opencv.org.cn\/forum\/viewtopic.php?f=1&#038;t=7524&#038;start=0%20Tutorial\">http:\/\/www.opencv.org.cn\/forum\/viewtopic.php?f=1&#038;t=7524&#038;start=0%20Tutorial<\/a>\u00a0of method 3 in Chinese, although it suggests a pre-built Framework instead of building by yourself.<\/li>\n    <li><a href=\"http:\/\/opencv.willowgarage.com\/wiki\/CompileOpenCVUsingMacOSX\">Compile OpenCV projects using shell scripts on MacOSX<\/a><\/li>\n<\/ul>\n<p>Attachments:<\/p>\n<ul>\n    <li>[<a href=\"http:\/\/opencv.willowgarage.com\/wiki\/Mac_OS_X_OpenCV_Port?action=AttachFile&#038;do=get&#038;target=export.cpp\">get<\/a>\u00a0|\u00a0<a href=\"http:\/\/opencv.willowgarage.com\/wiki\/Mac_OS_X_OpenCV_Port?action=AttachFile&#038;do=view&#038;target=export.cpp\">view<\/a>] (2006-05-30 14:17:41, 6.2 KB) [[attachment:export.cpp]]<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2 id=\"Collected_Information\">Collected Information<\/h2>\n<p>&nbsp;<\/p>\n<h3 id=\"Compiling_Universal_Binaries\">Compiling Universal Binaries<\/h3>\n<p>The\u00a0<tt>--enable-universal-build<\/tt>\u00a0switch has been removed again since it doesn&#8217;t allow building on intel machines &#8230; You can still try out what it did by configuring with:<\/p>\n<p>&nbsp;<\/p>\n<pre>.\/configure CFLAGS=\"-arch i386 -arch ppc\" CXXFLAGS=\"-arch i386 -arch ppc\" --disable-dependency-tracking<\/pre>\n<p>As an alternative, we now have a small build script that configures and builds twice (once for ppc, once for intel) and then merges the binaries with lipo. We can and will extend this to more architectures whenever Mac OS X 10.5 Leopard is released, since it finally comes with 64bit compilers for intel. In addition to those then natural 4 platforms (intel\/ppc * 32\/64), it might be nice to provide specially optimized variants for G5, G4, G3 (-mcpu=&#8230;) to maximize speed on older hardware. This however requires additional testing (and performance testing).<\/p>\n<p>See also:\u00a0<a href=\"http:\/\/developer.apple.com\/documentation\/Porting\/Conceptual\/PortingUnix\/compiling\/chapter_4_section_3.html#\/\/apple_ref\/doc\/uid\/TP40002850-BAJCFEBA\">Compiling for Multiple Architectures<\/a>\u00a0in\u00a0<a href=\"http:\/\/developer.apple.com\/documentation\/Porting\/Conceptual\/PortingUnix\/\"><a href=\"http:\/\/developer.apple.com\/documentation\/Porting\/Conceptual\/PortingUnix\/\">http:\/\/developer.apple.com\/documentation\/Porting\/Conceptual\/PortingUnix\/<\/a><\/a><\/p>\n<p>A (very old) list of supported quicktime codecs can be found at\u00a0<a href=\"http:\/\/opencv.willowgarage.com\/wiki\/QuickTimeCodecs\">QuickTimeCodecs<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>This page is devoted to information specific to the OS X build of OpenCV. Things are changing quickl&#46;&#46;&#46;<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[340],"tags":[],"class_list":["post-1050","post","type-post","status-publish","format-standard","hentry","category-mac-os"],"_links":{"self":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1050","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/comments?post=1050"}],"version-history":[{"count":5,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1050\/revisions"}],"predecessor-version":[{"id":1054,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1050\/revisions\/1054"}],"wp:attachment":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/media?parent=1050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/categories?post=1050"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/tags?post=1050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}