原创 UIPanGestureRecognizer類——爲view添加手勢

#import <UIKit/UIKit.h> @interface TestGestureRecognizerViewController : UIViewController { UIView *aView; }

原创 OpenCV-Python 霍夫直線檢測-HoughLinesP函數參數

OpenCV-Python 霍夫直線檢測-HoughLinesP函數參數 cv2.HoughLines()函數是在二值圖像中查找直線,cv2.HoughLinesP()函數可以查找直線段。   cv2.HoughLinesP()函數原型:

原创 Python + opencv 實現圖片文字的分割

轉自:https://www.cnblogs.com/zxy-joy/p/10687152.html 實現步驟: 1、通過水平投影對圖形進行水平分割,獲取每一行的圖像; 2、通過垂直投影對分割的每一行圖像進行垂直分割,最終確定每一個字符的

原创 OpenCV---膨脹與腐蝕

轉自:https://www.cnblogs.com/ssyfj/p/9276999.html OpenCV---膨脹與腐蝕 目錄 膨脹 腐蝕一:膨脹實現dilate二:實現腐蝕erode 相關知識補充  (一)可以看做膨脹是將白色區

原创 使用Tensorflow訓練線性迴歸模型並進行預測

http://bluewhale.cc/2017-08-10/use-tensorflow-to-train-linear-regression-models-and-predict.html#codesyntax_14   # -*-

原创 NuSoap調用WebService出現亂碼的解決辦法

$client->soap_defencoding = 'utf-8';   $client->decode_utf8 = false;   $client->xml_encoding = 'utf-8';        https://

原创 mp3 iphone

1)     MPMusicPlayerController *myPlayer =     [MPMusicPlayerControllerapplicationMusicPlayer];      [myPlayer setQueue

原创 IBM WebSphere MQ幾個特性的應用

    IBM WebSphere MQ消息中間件有很多的特性和優點,使用IBM WebSphere MQ可以簡化和優化消息通訊的應用設計。爲了滿足用戶各種不同的應用的通訊需求,IBM WebSphere MQ採用了大量業界領先的技術,並

原创 藍牙與外設交互(防丟器)

http://code4app.com/ios/%E8%93%9D%E7%89%99%E4%B8%8E%E5%A4%96%E8%AE%BE%E4%BA%A4%E4%BA%92-%E9%98%B2%E4%B8%A2%E5%99%A8/538

原创 查詢tomcat進程

ps -ef |grep tomcat 

原创 linux查看磁盤空間

http://hi.baidu.com/squirrel_/item/6a643ad9cf1c65e955347f5f 查看當前目錄大小: [[email protected]]# du -sh /var/www   查看

原创 Drupal7分頁

function listx(){               drupal_set_title("回答提問");          $output = "";   $header = array(  

原创 ios截屏

#import <QuartzCore/QuartzCore.h>     CGRect screenRect = [[UIScreen mainScreen] bounds];     UIGraphicsBeginImageCon

原创 Using Swift with Cocoa and Objective-C--互用性-與ObjC API交互

https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/BuildingCocoaApps/InteractingWithObje

原创 weex學習第1篇

<template>  <div class="wrapper">        <text class="button" @click="jump">var</text>         <text cl