紧急
This commit is contained in:
Generated
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
<module type="PYTHON_MODULE" version="4">
|
<module type="PYTHON_MODULE" version="4">
|
||||||
<component name="NewModuleRootManager">
|
<component name="NewModuleRootManager">
|
||||||
<content url="file://$MODULE_DIR$" />
|
<content url="file://$MODULE_DIR$" />
|
||||||
<orderEntry type="jdk" jdkName="D:\Anaconda\envs\openCV_study" jdkType="Python SDK" />
|
<orderEntry type="jdk" jdkName="OpenCV_Study" jdkType="Python SDK" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
||||||
Generated
+1
-1
@@ -3,5 +3,5 @@
|
|||||||
<component name="Black">
|
<component name="Black">
|
||||||
<option name="sdkName" value="OpenCV_Study" />
|
<option name="sdkName" value="OpenCV_Study" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectRootManager" version="2" project-jdk-name="D:\Anaconda\envs\openCV_study" project-jdk-type="Python SDK" />
|
<component name="ProjectRootManager" version="2" project-jdk-name="OpenCV_Study" project-jdk-type="Python SDK" />
|
||||||
</project>
|
</project>
|
||||||
@@ -14,5 +14,5 @@ img_rgba=cv.merge((blue,green,red,alpha))
|
|||||||
cv.imshow("changed",img_rgba)
|
cv.imshow("changed",img_rgba)
|
||||||
cv.waitKey(0)
|
cv.waitKey(0)
|
||||||
cv.destroyAllWindows()
|
cv.destroyAllWindows()
|
||||||
# save
|
# compress and save
|
||||||
cv.imwrite("img.png",img_rgba)
|
cv.imwrite("img.png",img_rgba,[cv.IMWRITE_PNG_COMPRESSION,9])
|
||||||
Reference in New Issue
Block a user