ATLAS 200 DKCAM Camera Yolov3 OpenCV parameters
Hello!
The main function of the Ascend Camera is to collect data through the Camera on the ATLAS 200 DK developer board, convert it to JPG through DVPP, and finally save it as a file or output it remotely. Next, I'll share how to set the relevant parameters.
The following is the code cloud of Yolov3. I refer to the camera call case of face recognition, but it seems that the presenter_server.py file related to Yolov3 needs to be obtained. Therefore, we can transform it based on the case of face detection.
Modified parse code after processing.
The GitHub address of the project:https://github.com/Atlas200dk/sample-ascendcamera
Modify the param_configure.conf content to
remote_host=192.168.0.2
The next step is to compile and run.
Run it in the Out directory on the Atlas side:
./workspace_mind_studio_sample-ascendcamera-1-3x-0-0 -v -c 0 --fps 20 -w 704 -h 576 -s 192.168.0.103:7002/qqq

Terminal run
sudo bash run_present_server.sh
Use your browser to open the following address and port
http://192.168.1.101:7003
You'll see something like this in your browser, check it, click it to get to live video,

Opencv format conversion to fill in the parameters
cv::cvtColor(yuvImg, bgrImg, CV_YUV420sp2RGB);
More details that https://docs.opencv.org/3.4/dc/d0f/imgproc_2include_2opencv2_2imgproc_2types__c_8h.html
I hope my summary has been helpful.
Thanks.



