{"id":755,"date":"2022-12-17T15:34:39","date_gmt":"2022-12-17T07:34:39","guid":{"rendered":"http:\/\/wordpress.loc\/?p=755"},"modified":"2022-12-17T15:35:07","modified_gmt":"2022-12-17T07:35:07","slug":"esp32_ch2-20","status":"publish","type":"post","link":"https:\/\/www.nmking.io\/index.php\/2022\/12\/17\/755\/","title":{"rendered":"ESP32CAM \u5f71\u50cf\u8f4990\u5ea6"},"content":{"rendered":"\n<figure class=\"wp-block-pullquote\"><blockquote><p>Arduino\u5167\u7684\u7bc4\u4f8b\u53ef\u4ee5\u8f49\u6c34\u5e73\u7ffb\u8f49\uff0c\u4e5f\u53ef\u4ee5\u5782\u76f4\u7ffb\u8f49\uff0c\u4f46\u5c31\u662f\u6c92\u670990\u5ea6\u7ffb\u8f49<\/p><\/blockquote><\/figure>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u6211\u7684ESP32\u5be6\u505a\u66f8\u7c4d\uff1a<a rel=\"noreferrer noopener\" href=\"https:\/\/www.nmking.io\/index.php\/2022\/11\/10\/esp32_ch1-2\/\" target=\"_blank\">\u6211\u51fa\u66f8\u4e86 ESP32 \u7269\u806f\u7db2\u5c08\u984c<\/a><br>\u535a\u5ba2\u4f86\u7db2\u5740\uff1a<a rel=\"noreferrer noopener\" href=\"https:\/\/www.books.com.tw\/products\/0010901195\" target=\"_blank\">https:\/\/www.books.com.tw\/products\/0010901195<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p>\u4f9d\u64da\u672c\u6587\uff1a<a href=\"https:\/\/www.nmking.io\/index.php\/2022\/11\/03\/esp32_ch2\/\">ESP32-CAM (arduino)\u5f71\u50cf\u4f3a\u670d\u5668\u53ca\u81c9\u90e8\u8fa8\u8b58\u6559\u5b78<\/a><a href=\"https:\/\/www.nmking.io\/index.php\/2022\/11\/03\/esp32_ch2\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u539f\u59cb\u6a94V<\/a><a href=\"https:\/\/www.nmking.io\/index.php\/2022\/11\/03\/esp32_ch2\/\">ideo Stream Server<\/a>\uff0cArduino\u5167\u7684\u7bc4\u4f8b\u53ef\u4ee5\u8f49\u6c34\u5e73\u7ffb\u8f49\uff0c\u4e5f\u53ef\u4ee5\u5782\u76f4\u7ffb\u8f49\uff0c\u4f46\u5c31\u662f\u6c92\u670990\u5ea6\u7ffb\u8f49<\/p>\n\n\n\n<p>\u5982\u679c\u898190\u5ea6\u7ffb\u8f49\uff0c\u6709\u4e09\u500b\u65b9\u6cd5\uff0c\u7b2c\u4e00\u500b\u5c31\u662f\u76f4\u63a5\u63a1\u8cfc\u7ffb\u8f49\u597d\u7684\u93e1\u982d\uff0cov\u7cfb\u5217\u90fd\u662f\u53ef\u4ee5\u8a02\u88fd\u7ffb\u8f49\u89d2\u5ea6\u3001\u5ee3\u89d2\u3001\u7126\u8ddd\u7b49\uff0c\u8ddf\u8ce3\u5bb6\u8b1b\u597d\u5373\u53ef\u3002<\/p>\n\n\n\n<p>\u7b2c\u4e8c\u500b\u662f\u5728ESP32\u9001\u51fa\u5f71\u50cf\u524d\u7ffb\u8f49\uff0c\u9019\u90e8\u4efd\u5617\u8a66\u904e\uff0c\u767c\u73fe\u6548\u7387\u6703\u964d\u4f4e<\/p>\n\n\n\n<p>\u7b2c\u4e09\u500b\u65b9\u5f0f\u5c31\u662f\u6536\u5230\u5f71\u50cf\u7684\u4eba\u81ea\u5df1\u60f3\u8fa6\u6cd5\u8f49\uff0c\u8209\u4f8b\u4f86\u8aaa\uff0c\u4f60\u7528Python\u6536\u7684\uff0c\u90a3\u4f60\u5728Python\u5167\u7528<\/p>\n\n\n\n<p><strong>\uff03\u6c34\u5e73\u5782\u76f4\u93e1\u50cf\u7ffb\u8f49\uff1afilp(\u5f71\u50cf,\u53c3\u6578) \u53c3\u6578\uff0c1\uff1aY\u8ef8\u7ffb\uff0c0\uff1ax\u8ef8\u7ffb\uff0c-1\uff1aXY\u8ef8\u7ffb<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>newimg = cv2.flip(img,1)<\/code><\/pre>\n\n\n\n<p><strong>\uff0390\u5ea6\u7ffb\u8f49\uff1atranspose(\u5f71\u50cf)<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>newimg = cv2.transpose(img)<\/code><\/pre>\n\n\n\n<p>\u5982\u679c\u4f60\u662fJS\u6536\u5f71\u50cf\uff0c\u90a3\u4f60\u5728JS\u5167\u81ea\u5df1\u5beb\u7a0b\u5f0f\u7ffb\uff0c\u56e0\u70ba\u672c\u4eba\u5c0dJS\u4e0d\u719f\uff0c\u525b\u597d\u6709\u4f4d\u8001\u53cb\u5206\u4eab\u4e00\u7bc7\u6587\u7ae0\uff0c\u63d0\u4f9b\u9019\u500b\u529f\u80fd\uff0c\u5206\u4eab\u4e00\u4e0b<\/p>\n\n\n\n<p>\u7db2\u5740\uff1a<a href=\"https:\/\/github.com\/easytarget\/esp32-cam-webserver\">https:\/\/github.com\/easytarget\/esp32-cam-webserver<\/a><\/p>\n\n\n\n<p>\u4e0b\u9762\u9019\u5f35\u662f\u670b\u53cb\u6e2c\u8a66\u7684\u7167\u7247\uff0c\u53ef\u4ee5\u767c\u73fe\u529f\u80fd\u591a\u4e86\u4e00\u500bRotate in Browser\uff0c\u4e5f\u4ee3\u8868\u8aaa\u5f71\u50cf\u78ba\u5be6\u662f\u5728\u700f\u89bd\u5668\u7ffb\u8f49\u7684\u6c92\u932f\uff0c\u7562\u7adfPC\u6216\u624b\u6a5f\u904b\u7b97\u901f\u5ea6\u90fd\u6bd4ESP32\u5feb\u591a\u4e86\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/pic.pimg.tw\/youyouyou\/1615037269-1702371393-g_n.png?resize=841%2C474&#038;ssl=1\" alt=\"\" width=\"841\" height=\"474\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Arduino\u5167\u7684\u7bc4\u4f8b\u53ef\u4ee5\u8f49\u6c34\u5e73\u7ffb\u8f49\uff0c\u4e5f\u53ef\u4ee5\u5782\u76f4\u7ffb\u8f49\uff0c\u4f46\u5c31\u662f\u6c92\u670990\u5ea6\u7ffb\u8f49 \u6211\u7684ESP32\u5be6\u505a\u66f8\u7c4d\uff1a\u6211\u51fa\u66f8\u4e86  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1,26],"tags":[],"class_list":["post-755","post","type-post","status-publish","format-standard","hentry","category-esp32","category-esp32cam"],"blocksy_meta":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/posts\/755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/comments?post=755"}],"version-history":[{"count":1,"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/posts\/755\/revisions"}],"predecessor-version":[{"id":756,"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/posts\/755\/revisions\/756"}],"wp:attachment":[{"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/media?parent=755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/categories?post=755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nmking.io\/index.php\/wp-json\/wp\/v2\/tags?post=755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}