![](/img/trans.png)
[英]How to know if there is more than one face in front of the camera in mediapipe?
我正在通過 mediapipe 運行 python 腳本來檢測人臉,我能夠提取鼻子的 x 坐標。 這些坐標將串行發送到微控制器以做出決定。 當相機前面有兩張或更多人臉時,就會出現問題,打印的 x 坐標開始在檢測到的每張人臉之間來回擺動。 我希望能夠告訴微控制器相機前面有超過 1 張面孔以知道該怎么 ...
[英]How to know if there is more than one face in front of the camera in mediapipe?
我正在通過 mediapipe 運行 python 腳本來檢測人臉,我能夠提取鼻子的 x 坐標。 這些坐標將串行發送到微控制器以做出決定。 當相機前面有兩張或更多人臉時,就會出現問題,打印的 x 坐標開始在檢測到的每張人臉之間來回擺動。 我希望能夠告訴微控制器相機前面有超過 1 張面孔以知道該怎么 ...
[英]zsh: illegal hardware instruction mediapipe and openCV error
我一直遇到這個錯誤,無法修復。 我和很多人談過,他們不知道該怎么做。 我的代碼如下。 這是非常簡單的代碼,可以打開我的網絡攝像頭並顯示實時視頻。 我在 M1 Mac 64 位 Ventura 13.2 上使用 python 3.8.0,使用 VsCode 和最新版本的 openCv、Mediapip ...
[英]Extract the gesture from GestureRecognizerResult
在mediapipe庫中,有一個名為GestureRecognizer的任務可以識別特定的手勢。 還有一個名為GestureRecognizerResult的任務,它由GestureRecognizer的結果組成。 GestureRecognizerResult有一個名為gesture的屬性,打印 ...
[英]Image plotted by plt.imshow() is inverted while same image by cv2_imshow() is fine, how do I know what my neural net gets?
這是我對他們兩個的片段 這是另一個 現在,第二種情況下的圖像是倒置的,而我系統上的圖像是直立的我最擔心的是,如果我的 ML model 正在消耗倒像,那可能會影響我的准確性。 它可能是什么原因以及我該如何解決 (ps:不幸的是,我不能分享這些圖片,因為它們是機密的)(在 google colab ...
[英]I want to port a Unity videogame that uses MediaPipe pose detection to Android. How can I achieve this?
這是一款小型視頻游戲,玩家會隨着您的移動而移動,並模仿您的移動。 我想將它移植到 Android。問題是 MediaPipe 需要特定的 Python 安裝才能使跟蹤器正常工作,我不知道如何在 Android 上安裝。 我沒有嘗試過任何東西,因為我不知道該怎么做,但我想開發一款易於安裝的視頻游戲, ...
[英]How to change volume on mac using osascript and OpenCV
我使用的是 14 英寸 M1 Pro Macbook Pro,運行 Mac OS Monterey 12.6。 我正在制作一個基於 OpenCV 和 Mediapipe 的計算機視覺項目,它允許我使用手部檢測來控制我的 Mac 的音量。 該代碼使用網絡攝像頭檢測食指和拇指指尖之間的距離,並根據該距離 ...
[英]Issue with leaked resources and python crash in application that uses mediapipe for face / hand tracking
我有一個使用 mediapipe 庫的簡單面部和手部跟蹤 python 應用程序,它在運行幾分鍾后崩潰。 在任務管理器中,我可以看到 memory 的使用率幾乎持續增長,所有可用系統 memory 直到崩潰。 崩潰似乎發生在 python 級別,並沒有被我的代碼捕獲。 在進行故障排除時,我注意到 V ...
[英]No file or directory found at mp_hand_gesture
我的代碼中有這些導入,我安裝了 mediapipe 和 tensorflow,當我運行我的代碼時,我收到這條消息“OSError:在 mp_hand_gesture 信息中找不到文件或目錄:為 CPU 創建了 TensorFlow Lite XNNPACK 委托。” 以前有人遇到過這個問題,它是如 ...
[英]Problem with installing mediapipe using pip on windows
因此,當我嘗試 pip 安裝 mediapipe 時,我看到了這樣的ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none) ERROR: No matching di ...
[英]Pip install mediapipe showing error even after installing 64 bit version
我嘗試使用 Python 3.11 64 位版本在 Windows 中安裝 mediapipe 用於迷你手部檢測項目。 但它向我顯示了以下錯誤: ...
[英]Can MediaPipe specify which parts of the face mesh are the lips or nose or eyes?
MediaPipe 能夠提供面部多個點的 x,y,z 點,使其能夠生成面部網格。 但是,輸出只是 x,y,z 點。 有什么方法可以知道哪些點是嘴唇的點? 輸出: ...
[英]Why the drawn coordinate points do not disappear
我在一個黑色的窗口上畫了人體坐標點,但是即使那個地方沒有人體,坐標點也會保留。如何讓這些點正常消失。這是代碼。 這是圖像我發現當我在身體上畫點時,點可以正常消失,但在黑色圖像上不會。 ...
[英]How to use mediapipe to detect static image in ios
我可以運行 mediapipe 示例 ios 應用程序,但我有一個問題是:如何使用 mediapipe 檢測 ios 中的 static 圖像。如果你怎么做,請告訴我,想想你 ...
[英]Avatar Pupettering with ThreeJS, ReadyPlayerMe, Kalidokit and MediaPipe
我嘗試使用 ThreeJS 和Kalidokit (或其他東西)和MediaPipe Hollisitc Pose為ReadyPlayer Me頭像制作動畫。 這是一個有效的 JSFiddle: https://jsfiddle.net/nxg5bp2h/1/ 它幾乎可以工作,但是姿勢估計的代碼全 ...
[英]How do I react to a certain amount of time having elapsed since an event, in this webcam reading loop?
目的我正在制作一個姿勢檢測系統,它可以檢測一條腿是否彎曲,並通過擴展計算完成的 Reps(成功的代表是腿彎曲 8 秒)。 我這樣做是通過使用媒體 pipe 姿勢 model,通過計算左腳踝、左膝和左臀部(地標)之間的角度。 目的是在角度小於 140 度時立即運行 8 秒的倒數計時器。 我嘗試了以下 ...
[英]AttributeError: partially initialized module 'cv2' has no attribute '_registerMatType' (most likely due to a circular import)
**這里是源代碼:**` ` 錯誤日志文件如下: ` ` 我已嘗試卸載 openCV 並重新安裝無頭版本,但問題仍然存在。 請你幫我解決這個問題:) ...
[英]How to pass media stream from angular code to Facemesh.js
我怎樣才能更換這個相機 function 並從另一個 angular 模塊傳遞我自己的媒體流? 來源: https://google.github.io/mediapipe/solutions/face_mesh 如果我嘗試刪除相機功能,我將無法將媒體流傳遞給 faceMesh.send()。 ...
[英]Cant properly orginize self method in a class TypeError:create_bool(): incompatible function arguments. The following argument types are supported:
當我嘗試生成 class 時返回錯誤。 當我在這里嘗試時https://github.com/google/mediapipe/blob/master/docs/solutions/face_mesh.md#python-solution-api 。 一切都是完美的自己有點問題。 方法。 但我無法 ...
[英]How to convert a UIImage to a CVPixelBuffer 32BGRA for mediapipe?
我正在使用 mediapipe 開發 iOS 應用程序,現在我需要向 mediapipe 輸入圖像數據,但 mediapipe 只接受 32BGRA CVPixelBuffer。 如何將 UIImage 轉換為 32BGRA CVPixelBuffer? 我正在使用這段代碼: 但我會在 media ...
[英]No module named cv cv2 No matching distribution found for mediapipe
我正在使用 windows 如何解決? 我試過了 等等等等,仍然沒有用更新:cv2 已修復,但我在 mediapipe 上遇到問題。 它顯示如下: 我的 python 版本是 3.11.0 ...