pyvino
pyvino copied to clipboard
This is the python implementation of openvino models.
このような書き込みが初めてでここで合っているかわかりませんが、質問させていただきます。 私も行動認識を行ってみたく、こちらのリポジトリを発見しまして、まずはサンプルを動かして理解しようと思っております。 v0.0.3をDockerでビルドしました。(リモートサーバーにクローン&Dockerビルド) ※途中にいくつかエラーが出る箇所があったので、requirement.txtでバージョンを指定したり等軽微な対応を行いました。 pyvino/notebook/01_ModelResults.ipynbをそのまま動かしたところ、以下のようにインポート時にエラーが出ました。  そこで以下のようにすればインポートできるかなと思い、試してみたところFaceDetector自体はインポートできたようですが、 `model = FaceDetector()` のところで別のエラーが出ました。  どうやらopenvino_model.pyの__validate_modelの中のself.model_locのif文の個所でエラーが発生しているようです。 どのようにすればエラーが回避できるでしょうか? `self.model_loc`というのがopenvino_model.pyのif文の個所にしかないような気がしております。 ご教示よろしくお願いいたします。
cv2 load image as GBR. plt and pil load image as RGB. This causes a difference in the predicted value.
- preds - num - points - bbox - frame ``` {0: {'points': array([[943., 371.], [875., 405.], [842., 405.], [842., 472.], [909., 438.], [875., 405.], [875., 472.], [909., 472.], [842.,...
- filter ``` body_parts_plus = iter(body_parts) for x, y in zip(body_parts_plus, body_parts_plus): points_bbox_df.loc[(points_bbox_df[x] < points_bbox_df['xmin']), x] = np.nan points_bbox_df.loc[(points_bbox_df[x] > points_bbox_df['xmax']), x] = np.nan points_bbox_df.loc[(points_bbox_df[y] < points_bbox_df['ymin']), y] = np.nan...
``` pyvino/tests/detector/test_detector.py .....F.... [ 47%] pyvino/tests/model/test_model.py .......... [ 95%] pyvino/tests/segmentor/test_segmentor.py . [100%] ``` ``` _________________________ TestDetectorHeadpose.test_get_axis _________________________ self = def test_get_axis(self): frame = self.load_image(TEST_FACE) detector_face = DetectorFace() detector_face.get_frame_shape(frame) faces =...
On ubuntu, this error raised. ``` ImportError: /opt/intel/openvino_2019.2.242/python/python3.6/openvino/inference_engine/ie_api.so: undefined symbol: PyFPE_jbuf ```
In my environment on MacOS, version 2019 R2 of OpenVINO did not work properly. Need to copy ie_api.so from python3.6. Below command solved it. ``` cp /opt/intel/openvino/python/python3.6/openvino/inference_engine/ie_api.so /opt/intel/openvino/python/python3.7/openvino/inference_engine/ie_api.so ```
Evaluate class