You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, Very nice work and I am impressed by the result on this small RK3588 Sbc. What would be the simplest way to add a png mask.png file to perform the detecting only in the unmaked area and display the final result on the full video?
The text was updated successfully, but these errors were encountered:
The simplest method is to modify the draw function of line 161 under func.py. The cv2.rectangle function is used in the loop to check the drawing of the box body. The top left vertex of the box body is drawn as (top, left), and the bottom right vertex is (right, bottom). You only need to determine whether the vertex or the box is within the mask range, and if it is, contine enters the next loop without drawing the check box. Or you can try to copy an image of the current frame, and then paint mask.png as a full black overlay so that it cannot be detected, and then use the detection results of the overwritten image to paint the original frame image
Hi, Very nice work and I am impressed by the result on this small RK3588 Sbc. What would be the simplest way to add a png mask.png file to perform the detecting only in the unmaked area and display the final result on the full video?
Hi, Very nice work and I am impressed by the result on this small RK3588 Sbc. What would be the simplest way to add a png mask.png file to perform the detecting only in the unmaked area and display the final result on the full video?
The text was updated successfully, but these errors were encountered: