Navigation

    • Login
    • Search
    • 版块
    • 产品
    • 教程
    • 论坛
    • 淘宝
    1. Home
    2. bsx3
    B
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    bsx3

    @bsx3

    0
    Reputation
    27
    Posts
    841
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    bsx3 Follow

    Posts made by bsx3

    • openmv可以追小球,有什么办法可以追人?

      红外热成像之类的可以实现吗?如果可以,怎么用openmv实现?

      posted in OpenMV Cam
      B
      bsx3
    • openmv可以import cv2.cv吗?

      opencv-Python可以在openmv上使用吗?

      posted in OpenMV Cam
      B
      bsx3
    • openmv识别的阈值不精确怎么办?

      用openmv的阈值编辑器对手掌的图片进行调整,肤色的阈值好像和墙壁接近。如果背景是墙壁,经常识别到墙壁,而且方框一直闪烁,识别到不同位置。该怎么解决肤色阈值的问题。openmv的肤色取值是不是和opencv的hsv颜色模型的原理类似。
      我的肤色阈值:hand_threshold = (85, 49, -8, 81, -81, 76)。

      posted in OpenMV Cam
      B
      bsx3
    • TensorFlow训练的模型是.pb文件,怎么转换为cascade文件?openmv有提供相应的转换工具吗?

      TensorFlow训练的模型是.pb文件,怎么转换为cascade文件?openmv有提供相应的转换工具吗?

      posted in OpenMV Cam
      B
      bsx3
    • opencv中的代码如何在openmv里实现?

      比如说opencv里凸包检测的算法,要调用到opencv的头文件和函数,在openmv里要怎么实现?

       #include "opencv2/imgproc/imgproc.hpp"
       #include <iostream>
       #include <stdio.h>
       #include <stdlib.h>
      
       using namespace cv;
       using namespace std;
      
       Mat src; Mat src_gray;
       int thresh = 100;
       int max_thresh = 255;
       RNG rng(12345);
      
       /// Function header
       void thresh_callback(int, void* );
      
      /** @function main */
      int main( int argc, char** argv )
       {
         /// Load source image and convert it to gray
         src = imread( argv[1], 1 );
      
         /// Convert image to gray and blur it
         cvtColor( src, src_gray, CV_BGR2GRAY );
         blur( src_gray, src_gray, Size(3,3) );
      
         /// Create Window
         char* source_window = "Source";
         namedWindow( source_window, CV_WINDOW_AUTOSIZE );
         imshow( source_window, src );
      
         createTrackbar( " Threshold:", "Source", &thresh, max_thresh, thresh_callback );
         thresh_callback( 0, 0 );
      
         waitKey(0);
         return(0);
       }
      
       /** @function thresh_callback */
       void thresh_callback(int, void* )
       {
         Mat src_copy = src.clone();
         Mat threshold_output;
         vector<vector<Point> > contours;
         vector<Vec4i> hierarchy;
      
         /// Detect edges using Threshold
         threshold( src_gray, threshold_output, thresh, 255, THRESH_BINARY );
      
         /// Find contours
         findContours( threshold_output, contours, hierarchy, CV_RETR_TREE, CV_CHAIN_APPROX_SIMPLE, Point(0, 0) );
      
         /// Find the convex hull object for each contour
         vector<vector<Point> >hull( contours.size() );
         for( int i = 0; i < contours.size(); i++ )
            {  convexHull( Mat(contours[i]), hull[i], false ); }
      
         /// Draw contours + hull results
         Mat drawing = Mat::zeros( threshold_output.size(), CV_8UC3 );
         for( int i = 0; i< contours.size(); i++ )
            {
              Scalar color = Scalar( rng.uniform(0, 255), rng.uniform(0,255), rng.uniform(0,255) );
              drawContours( drawing, contours, i, color, 1, 8, vector<Vec4i>(), 0, Point() );
              drawContours( drawing, hull, i, color, 1, 8, vector<Vec4i>(), 0, Point() );
            }
      
         /// Show in a window
         namedWindow( "Hull demo", CV_WINDOW_AUTOSIZE );
         imshow( "Hull demo", drawing );
       }
      
      

      来源:https://docs.opencv.org/2.4/doc/tutorials/imgproc/shapedescriptors/hull/hull.html#hull0_1556421588698_Hull_Original_Image.jpg 0_1556421607161_Hull_Result.jpg

      posted in OpenMV Cam
      B
      bsx3
    • openmv中检测笑脸的神经网络smile.network是怎么制作的?怎么制作属于自己的神经网络模型?

      怎么制作属于自己的神经网络模型?例如识别手掌的模型。

      posted in OpenMV Cam
      B
      bsx3
    • 哪位有识别手掌的分类器cascade文件或者xml文件?我自己训练的识别精度好低。

      哪位有识别手掌的分类器cascade文件或者xml文件可以分享?我自己训练的分类器识别精度好低。

      posted in OpenMV Cam
      B
      bsx3
    • RE: 使用自己的cascade文件,但是错误提示找不到文件怎么办?

      代码如下可正常运行

      hand_cascade = image.HaarCascade("hand.cascade", stages=25)
      
      posted in OpenMV Cam
      B
      bsx3
    • 使用自己的cascade文件,但是错误提示找不到文件怎么办?

      我把我的cascade文件放到openmv的根目录下,修改代码为

      hand_cascade = image.HaarCascade("hand", stages=25)
      

      但还是显示找不到文件怎么办?
      OSError: Could not find the file

      posted in OpenMV Cam
      B
      bsx3
    • 人脸检测要用到的HaarCascade存放在哪里?

      人脸检测里face_cascade=image.HaarCascade("frontalface", stages=25)这行代码里的frontalface存放在哪里?
      如果要使用自己的HaarCascade文件应该存放在哪里?

      posted in OpenMV Cam
      B
      bsx3